@czi-sds/components 14.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +323 -0
- package/dist/index.cjs.d.ts +1141 -0
- package/dist/index.cjs.js +5904 -0
- package/dist/index.esm.d.ts +1141 -0
- package/dist/index.esm.js +5783 -0
- package/dist/tailwind.json +147 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/variables.css +111 -0
- package/dist/variables.scss +109 -0
- package/package.json +140 -0
|
@@ -0,0 +1,1141 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AccordionDetailsProps, AutocompleteInputChangeReason, AutocompleteProps, AutocompleteRenderInputParams, PopperProps, PaperProps, DialogContentProps, SliderProps, SwitchProps, ListSubheaderProps, MenuProps } from "@mui/material";
|
|
3
|
+
import { AccordionProps as RawAccordionProps } from "@mui/material";
|
|
4
|
+
import { AccordionSummaryProps as RawAccordionSummaryProps } from "@mui/material";
|
|
5
|
+
import { IconButtonProps as RawButtonIconProps } from "@mui/material";
|
|
6
|
+
import { ButtonProps as RawButtonProps } from "@mui/material";
|
|
7
|
+
import { TooltipProps as RawTooltipProps } from "@mui/material";
|
|
8
|
+
import { ChipProps as RawChipProps } from "@mui/material";
|
|
9
|
+
import { ClickAwayListenerProps as MUIClickAwayListenerProps } from "@mui/material";
|
|
10
|
+
import { TextFieldProps as RawTextFieldSearchProps } from "@mui/material";
|
|
11
|
+
import { MenuItemProps as RawMenuItemProps } from "@mui/material";
|
|
12
|
+
import { DialogProps as RawDialogProps } from "@mui/material";
|
|
13
|
+
import { DialogActionsProps as RawDialogActionsProps } from "@mui/material";
|
|
14
|
+
import { DialogTitleProps as RawDialogTitleProps } from "@mui/material";
|
|
15
|
+
import { CheckboxProps as MUICheckboxProps } from "@mui/material";
|
|
16
|
+
import { RadioProps as MUIRadioProps } from "@mui/material";
|
|
17
|
+
import { TextFieldProps as RawTextFieldProps } from "@mui/material";
|
|
18
|
+
import { LinkProps as RawLinkProps } from "@mui/material";
|
|
19
|
+
import { ListProps as RawListProps } from "@mui/material";
|
|
20
|
+
import { ListItemProps as RawListItemProps } from "@mui/material";
|
|
21
|
+
import { TabProps as RawTabProps } from "@mui/material";
|
|
22
|
+
import { TabsProps as RawTabsProps } from "@mui/material";
|
|
23
|
+
import { ChipProps as ChipProps$0 } from "@mui/material";
|
|
24
|
+
import React from "react";
|
|
25
|
+
import { ReactNode, SyntheticEvent, ReactElement, ComponentType } from "react";
|
|
26
|
+
import { Theme, ThemeOptions, TypographyStyle, PaletteOptions } from "@mui/material/styles";
|
|
27
|
+
import { SerializedStyles } from "@emotion/react";
|
|
28
|
+
import { AlertProps } from "@mui/lab";
|
|
29
|
+
import { AlertTitleProps } from "@mui/material/AlertTitle";
|
|
30
|
+
import { AutocompleteValue } from "@mui/material/useAutocomplete";
|
|
31
|
+
import { AutocompleteProps as AutocompleteProps$0 } from "@mui/material/Autocomplete";
|
|
32
|
+
import { AutocompleteRenderInputParams as AutocompleteRenderInputParams$0 } from "@mui/material/Autocomplete";
|
|
33
|
+
import { ToggleButtonGroupProps } from "@mui/material/ToggleButtonGroup";
|
|
34
|
+
declare const AccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
|
|
35
|
+
interface SdsAccordionHeaderProps {
|
|
36
|
+
subtitle?: string;
|
|
37
|
+
}
|
|
38
|
+
type AccordionHeaderProps = RawAccordionSummaryProps & SdsAccordionHeaderProps;
|
|
39
|
+
declare const AccordionHeader: (props: AccordionHeaderProps) => JSX.Element;
|
|
40
|
+
declare const defaultAppTheme: AppTheme;
|
|
41
|
+
declare function makeThemeOptions(appTheme: AppTheme): SDSThemeOptions;
|
|
42
|
+
interface SDSTheme extends Theme {
|
|
43
|
+
app?: AppTheme;
|
|
44
|
+
}
|
|
45
|
+
interface SDSThemeOptions extends ThemeOptions {
|
|
46
|
+
app?: AppTheme;
|
|
47
|
+
}
|
|
48
|
+
interface AppTheme {
|
|
49
|
+
borders?: Borders;
|
|
50
|
+
colors: Colors;
|
|
51
|
+
corners: Corners;
|
|
52
|
+
fontWeights: FontWeights;
|
|
53
|
+
iconSizes: IconSizes;
|
|
54
|
+
shadows: Shadows;
|
|
55
|
+
spacing: Spacings;
|
|
56
|
+
typography: Typography;
|
|
57
|
+
}
|
|
58
|
+
interface Shadows {
|
|
59
|
+
none: "none";
|
|
60
|
+
s: string;
|
|
61
|
+
m: string;
|
|
62
|
+
l: string;
|
|
63
|
+
}
|
|
64
|
+
interface Typography {
|
|
65
|
+
fontFamily: React.CSSProperties["fontFamily"];
|
|
66
|
+
styles: {
|
|
67
|
+
header: {
|
|
68
|
+
xxl: TypographyStyle;
|
|
69
|
+
xl: TypographyStyle;
|
|
70
|
+
l: TypographyStyle;
|
|
71
|
+
m: TypographyStyle;
|
|
72
|
+
s: TypographyStyle;
|
|
73
|
+
xs: TypographyStyle;
|
|
74
|
+
xxs: TypographyStyle;
|
|
75
|
+
xxxs: TypographyStyle;
|
|
76
|
+
};
|
|
77
|
+
body: {
|
|
78
|
+
button: TypographyStyle;
|
|
79
|
+
l: TypographyStyle;
|
|
80
|
+
m: TypographyStyle;
|
|
81
|
+
s: TypographyStyle;
|
|
82
|
+
xs: TypographyStyle;
|
|
83
|
+
xxs: TypographyStyle;
|
|
84
|
+
xxxs: TypographyStyle;
|
|
85
|
+
};
|
|
86
|
+
caps: {
|
|
87
|
+
xxs: TypographyStyle;
|
|
88
|
+
xxxs: TypographyStyle;
|
|
89
|
+
xxxxs: TypographyStyle;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
interface FontWeights {
|
|
94
|
+
bold: number;
|
|
95
|
+
light: number;
|
|
96
|
+
medium: number;
|
|
97
|
+
regular: number;
|
|
98
|
+
semibold: number;
|
|
99
|
+
}
|
|
100
|
+
interface Corners {
|
|
101
|
+
none: number;
|
|
102
|
+
s: number;
|
|
103
|
+
m: number;
|
|
104
|
+
l: number;
|
|
105
|
+
}
|
|
106
|
+
interface Spaces {
|
|
107
|
+
default: number;
|
|
108
|
+
xxxs: number;
|
|
109
|
+
xxs: number;
|
|
110
|
+
xs: number;
|
|
111
|
+
s: number;
|
|
112
|
+
m: number;
|
|
113
|
+
l: number;
|
|
114
|
+
xl: number;
|
|
115
|
+
xxl: number;
|
|
116
|
+
}
|
|
117
|
+
type Spacings = Spaces;
|
|
118
|
+
interface Color {
|
|
119
|
+
600?: string;
|
|
120
|
+
500?: string;
|
|
121
|
+
400: string;
|
|
122
|
+
300?: string;
|
|
123
|
+
200?: string;
|
|
124
|
+
100?: string;
|
|
125
|
+
}
|
|
126
|
+
interface Colors {
|
|
127
|
+
beta: Color;
|
|
128
|
+
primary: Color;
|
|
129
|
+
secondary: Color;
|
|
130
|
+
gray: Color;
|
|
131
|
+
info: Color;
|
|
132
|
+
success: Color;
|
|
133
|
+
warning: Color;
|
|
134
|
+
error: Color;
|
|
135
|
+
}
|
|
136
|
+
interface IconSize {
|
|
137
|
+
height: number;
|
|
138
|
+
width: number;
|
|
139
|
+
}
|
|
140
|
+
interface IconSizes {
|
|
141
|
+
xs: IconSize;
|
|
142
|
+
s: IconSize;
|
|
143
|
+
l: IconSize;
|
|
144
|
+
xl: IconSize;
|
|
145
|
+
input: IconSize;
|
|
146
|
+
}
|
|
147
|
+
interface Border {
|
|
148
|
+
600?: string;
|
|
149
|
+
500?: string;
|
|
150
|
+
400?: string;
|
|
151
|
+
300?: string;
|
|
152
|
+
200?: string;
|
|
153
|
+
100?: string;
|
|
154
|
+
dashed?: string;
|
|
155
|
+
solid?: string;
|
|
156
|
+
}
|
|
157
|
+
interface Borders {
|
|
158
|
+
error: Border;
|
|
159
|
+
gray: Border;
|
|
160
|
+
link: Border;
|
|
161
|
+
primary: Border;
|
|
162
|
+
success: Border;
|
|
163
|
+
warning: Border;
|
|
164
|
+
}
|
|
165
|
+
declare const defaultTheme: Theme;
|
|
166
|
+
// (thuang): Somehow this namespace needs to be globally unique to prevent
|
|
167
|
+
// namespace collisions.
|
|
168
|
+
// Might be related to using `rollup-plugin-ts`, which does code splitting?
|
|
169
|
+
interface CommonThemeProps {
|
|
170
|
+
theme?: SDSTheme;
|
|
171
|
+
}
|
|
172
|
+
declare const getSpaces: ({ theme }: CommonThemeProps) => Spaces | null;
|
|
173
|
+
declare const getSpacings: ({ theme }: CommonThemeProps) => Spacings | null;
|
|
174
|
+
declare const getTypography: ({ theme }: CommonThemeProps) => Typography | null;
|
|
175
|
+
declare const getPalette: ({ theme }: CommonThemeProps) => PaletteOptions;
|
|
176
|
+
declare const getColors: ({ theme }: CommonThemeProps) => Colors | null;
|
|
177
|
+
declare const getShadows: ({ theme }: CommonThemeProps) => Shadows | null;
|
|
178
|
+
declare const getCorners: ({ theme }: CommonThemeProps) => Corners | null;
|
|
179
|
+
declare const getFontWeights: ({ theme }: CommonThemeProps) => FontWeights | null;
|
|
180
|
+
declare const getIconSizes: ({ theme }: CommonThemeProps) => IconSizes | null;
|
|
181
|
+
declare const getBorders: ({ theme }: CommonThemeProps) => Borders | null;
|
|
182
|
+
type FontBodySize = keyof Typography["styles"]["body"];
|
|
183
|
+
declare const fontBody: (fontSize: FontBodySize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
184
|
+
declare const fontBodyL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
185
|
+
declare const fontBodyM: (props: CommonThemeProps) => SerializedStyles | null;
|
|
186
|
+
declare const fontBodyS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
187
|
+
declare const fontBodyXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
188
|
+
declare const fontBodyXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
189
|
+
declare const fontBodyXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
190
|
+
type FontCapsSize = keyof Typography["styles"]["caps"];
|
|
191
|
+
declare const fontCaps: (fontSize: FontCapsSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
192
|
+
declare const fontCapsXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
193
|
+
declare const fontCapsXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
194
|
+
declare const fontCapsXxxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
195
|
+
type FontHeaderSize = keyof Typography["styles"]["header"];
|
|
196
|
+
declare const fontHeader: (fontSize: FontHeaderSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
197
|
+
declare const fontHeaderXxl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
198
|
+
declare const fontHeaderXl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
199
|
+
declare const fontHeaderL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
200
|
+
declare const fontHeaderM: (props: CommonThemeProps) => SerializedStyles | null;
|
|
201
|
+
declare const fontHeaderS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
202
|
+
declare const fontHeaderXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
203
|
+
declare const fontHeaderXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
204
|
+
declare const fontHeaderXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
205
|
+
interface AccordionExtraProps extends CommonThemeProps {
|
|
206
|
+
useDivider?: boolean;
|
|
207
|
+
togglePosition?: "right" | "left";
|
|
208
|
+
id: string;
|
|
209
|
+
}
|
|
210
|
+
type AccordionProps = RawAccordionProps & AccordionExtraProps;
|
|
211
|
+
/**
|
|
212
|
+
* @see https://mui.com/material-ui/react-accordion/
|
|
213
|
+
*/
|
|
214
|
+
declare const Accordion: React.ForwardRefExoticComponent<Pick<AccordionProps, "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "variant" | "theme" | "elevation" | "square" | "expanded" | "useDivider" | "togglePosition" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps"> & React.RefAttributes<HTMLDivElement>>;
|
|
215
|
+
/**
|
|
216
|
+
* @see https://mui.com/material-ui/react-alert/
|
|
217
|
+
*/
|
|
218
|
+
declare const Alert: (props: AlertProps) => JSX.Element;
|
|
219
|
+
interface IconNameToSizes {
|
|
220
|
+
bacteria: "xs" | "s" | "l" | "xl";
|
|
221
|
+
barChartHorizontal3: "xs" | "s";
|
|
222
|
+
barChartVertical3: "xs" | "s";
|
|
223
|
+
barChartVertical4: "xs" | "s";
|
|
224
|
+
book: "l" | "xl";
|
|
225
|
+
check: "xs" | "s";
|
|
226
|
+
checkCircle: "xs" | "s" | "l" | "xl";
|
|
227
|
+
chevronDown: "xs" | "s" | "l" | "xl";
|
|
228
|
+
chevronLeft: "xs" | "s" | "l" | "xl";
|
|
229
|
+
chevronRight: "xs" | "s" | "l" | "xl";
|
|
230
|
+
chevronUp: "xs" | "s" | "l" | "xl";
|
|
231
|
+
circlesOverlap: "xs" | "s" | "l" | "xl";
|
|
232
|
+
compass: "l" | "xl";
|
|
233
|
+
copy: "xs" | "s" | "l" | "xl";
|
|
234
|
+
dna: "l" | "xl";
|
|
235
|
+
document: "xs" | "s";
|
|
236
|
+
dotsHorizontal: "xs" | "s" | "l" | "xl";
|
|
237
|
+
download: "xs" | "s" | "l" | "xl";
|
|
238
|
+
edit: "xs" | "s" | "l" | "xl";
|
|
239
|
+
exclamationMarkCircle: "xs" | "s" | "l" | "xl";
|
|
240
|
+
exclamationMarkSpeechBubble: "l" | "xl";
|
|
241
|
+
eyeClosed: "xs" | "s";
|
|
242
|
+
eyeOpen: "xs" | "s";
|
|
243
|
+
filter: "xs" | "s";
|
|
244
|
+
flagCheck: "xs" | "s";
|
|
245
|
+
flagOutline: "xs" | "s";
|
|
246
|
+
flagQuestionmark: "xs" | "s";
|
|
247
|
+
flagXmark: "xs" | "s";
|
|
248
|
+
flask: "l" | "xl";
|
|
249
|
+
flaskPrivate: "l" | "xl";
|
|
250
|
+
flaskPublic: "l" | "xl";
|
|
251
|
+
gear: "xs" | "s";
|
|
252
|
+
globe: "xs" | "s";
|
|
253
|
+
globeBasic: "l" | "xl";
|
|
254
|
+
grid: "l" | "xl";
|
|
255
|
+
gridPrivate: "l" | "xl";
|
|
256
|
+
gridPublic: "l" | "xl";
|
|
257
|
+
house: "xs" | "s";
|
|
258
|
+
infoCircle: "xs" | "s" | "l" | "xl";
|
|
259
|
+
infoSpeechBubble: "l" | "xl";
|
|
260
|
+
lifeRing: "xs" | "s";
|
|
261
|
+
lightBulb: "xs" | "s" | "l" | "xl";
|
|
262
|
+
linesDashed3Solid1: "xs" | "s";
|
|
263
|
+
linesHorizontal: "xs" | "s" | "l" | "xl";
|
|
264
|
+
link: "xs" | "s";
|
|
265
|
+
list: "xs" | "s";
|
|
266
|
+
loading: "xs" | "s" | "l" | "xl";
|
|
267
|
+
lock: "xs" | "s" | "l" | "xl";
|
|
268
|
+
lockCircle: "xs" | "s";
|
|
269
|
+
minus: "xs" | "s";
|
|
270
|
+
open: "xs" | "s";
|
|
271
|
+
people: "xs" | "s" | "l" | "xl";
|
|
272
|
+
percentage: "xs" | "s";
|
|
273
|
+
person: "xs" | "s" | "l" | "xl";
|
|
274
|
+
pin: "xs" | "s";
|
|
275
|
+
pinLocation: "xs" | "s";
|
|
276
|
+
play: "l" | "xl";
|
|
277
|
+
plus: "xs" | "s";
|
|
278
|
+
plusCircle: "xs" | "s";
|
|
279
|
+
projectPrivate: "l" | "xl";
|
|
280
|
+
projectPublic: "l" | "xl";
|
|
281
|
+
puzzlePiece: "xs" | "s";
|
|
282
|
+
questionMark: "l" | "xl";
|
|
283
|
+
refresh: "xs" | "s" | "l" | "xl";
|
|
284
|
+
save: "l" | "xl";
|
|
285
|
+
search: "xs" | "s" | "l" | "xl";
|
|
286
|
+
searchLinesHorizontal: "xs" | "s" | "l" | "xl";
|
|
287
|
+
share: "l" | "xl";
|
|
288
|
+
slidersHorizontal: "l" | "xl";
|
|
289
|
+
speechBubbles: "l" | "xl";
|
|
290
|
+
squareOnDashedSquare: "l" | "xl";
|
|
291
|
+
starburst: "xs" | "s";
|
|
292
|
+
star: "l" | "xl";
|
|
293
|
+
table: "xs" | "s";
|
|
294
|
+
trashCan: "xs" | "s" | "l" | "xl";
|
|
295
|
+
treeDendogram: "l" | "xl";
|
|
296
|
+
treeHorizontal: "xs" | "s" | "l" | "xl";
|
|
297
|
+
treeHorizontalPrivate: "l" | "xl";
|
|
298
|
+
treeHorizontalPublic: "l" | "xl";
|
|
299
|
+
treeHorizontalTopRightFilled: "l" | "xl";
|
|
300
|
+
treeVertical: "xs" | "s";
|
|
301
|
+
triangleDown: "xs" | "s";
|
|
302
|
+
triangleLeft: "xs" | "s";
|
|
303
|
+
triangleRight: "xs" | "s";
|
|
304
|
+
triangleUp: "xs" | "s";
|
|
305
|
+
upload: "l" | "xl";
|
|
306
|
+
virus: "l" | "xl";
|
|
307
|
+
xMark: "xs" | "s" | "l" | "xl";
|
|
308
|
+
xMarkCircle: "xs" | "s";
|
|
309
|
+
}
|
|
310
|
+
interface IconExtraProps<IconName extends keyof IconNameToSizes> extends CommonThemeProps {
|
|
311
|
+
className?: string;
|
|
312
|
+
sdsIcon: IconName;
|
|
313
|
+
sdsSize: IconNameToSizes[IconName];
|
|
314
|
+
sdsType: "iconButton" | "interactive" | "static" | "button";
|
|
315
|
+
}
|
|
316
|
+
type SdsIconColorType = "beta" | "gray" | "primary" | "secondary" | "info" | "success" | "warning" | "error";
|
|
317
|
+
interface SdsIconWithColor$0 {
|
|
318
|
+
color?: SdsIconColorType;
|
|
319
|
+
shade?: 100 | 200 | 300 | 400 | 500 | 600;
|
|
320
|
+
}
|
|
321
|
+
type IconProps<IconName extends keyof IconNameToSizes> = IconExtraProps<IconName> & SdsIconWithColor$0;
|
|
322
|
+
/**
|
|
323
|
+
* @see https://mui.com/material-ui/icons/#icons
|
|
324
|
+
*/
|
|
325
|
+
declare const Icon: React.ForwardRefExoticComponent<IconExtraProps<keyof IconNameToSizes> & SdsIconWithColor$0 & React.RefAttributes<HTMLDivElement | null>>;
|
|
326
|
+
interface ButtonIconSizeToTypes {
|
|
327
|
+
small: "primary" | "secondary" | "tertiary";
|
|
328
|
+
medium: "tertiary";
|
|
329
|
+
large: "primary" | "secondary" | "tertiary";
|
|
330
|
+
}
|
|
331
|
+
interface ButtonIconExtraProps<ButtonIconSize extends keyof ButtonIconSizeToTypes> extends CommonThemeProps {
|
|
332
|
+
on?: boolean;
|
|
333
|
+
disabled?: boolean;
|
|
334
|
+
sdsSize?: ButtonIconSize;
|
|
335
|
+
sdsType?: ButtonIconSizeToTypes[ButtonIconSize];
|
|
336
|
+
}
|
|
337
|
+
interface ButtonIconInternalProps<IconName extends keyof IconNameToSizes> {
|
|
338
|
+
sdsIcon: IconName;
|
|
339
|
+
sdsIconProps?: Partial<IconProps<IconName>>;
|
|
340
|
+
}
|
|
341
|
+
type ButtonIconProps<IconName extends keyof IconNameToSizes, ButtonIconSize extends keyof ButtonIconSizeToTypes> = ButtonIconExtraProps<ButtonIconSize> & RawButtonIconProps & ButtonIconInternalProps<IconName>;
|
|
342
|
+
/**
|
|
343
|
+
* @see https://mui.com/material-ui/react-button/#icon-buttons
|
|
344
|
+
*/
|
|
345
|
+
declare const ButtonIcon: React.ForwardRefExoticComponent<Pick<ButtonIconExtraProps<keyof ButtonIconSizeToTypes> & {
|
|
346
|
+
children?: React.ReactNode;
|
|
347
|
+
classes?: Partial<import("@mui/material").IconButtonClasses> | undefined;
|
|
348
|
+
color?: "inherit" | "primary" | "secondary" | "default" | "info" | "success" | "warning" | "error" | undefined;
|
|
349
|
+
disabled?: boolean | undefined;
|
|
350
|
+
disableFocusRipple?: boolean | undefined;
|
|
351
|
+
edge?: false | "end" | "start" | undefined;
|
|
352
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
353
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
354
|
+
} & Omit<{
|
|
355
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
356
|
+
centerRipple?: boolean | undefined;
|
|
357
|
+
children?: React.ReactNode;
|
|
358
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
359
|
+
disabled?: boolean | undefined;
|
|
360
|
+
disableRipple?: boolean | undefined;
|
|
361
|
+
disableTouchRipple?: boolean | undefined;
|
|
362
|
+
focusRipple?: boolean | undefined;
|
|
363
|
+
focusVisibleClassName?: string | undefined;
|
|
364
|
+
LinkComponent?: React.ElementType<any> | undefined;
|
|
365
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
366
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
367
|
+
tabIndex?: number | undefined;
|
|
368
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
369
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
370
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "key" | keyof React.ButtonHTMLAttributes<HTMLButtonElement>> & {
|
|
371
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
372
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "size" | "disableFocusRipple" | "edge"> & ButtonIconInternalProps<keyof IconNameToSizes>, keyof import("@mui/material/OverridableComponent").CommonProps | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "size" | "disableFocusRipple" | "edge" | keyof ButtonIconExtraProps<keyof ButtonIconSizeToTypes> | keyof ButtonIconInternalProps<keyof IconNameToSizes>> & React.RefAttributes<HTMLButtonElement | null>>;
|
|
373
|
+
interface BannerExtraProps<ButtonIconSize extends keyof ButtonIconSizeToTypes> extends CommonThemeProps {
|
|
374
|
+
sdsType: ButtonIconSizeToTypes[ButtonIconSize];
|
|
375
|
+
}
|
|
376
|
+
interface BannerProps<ButtonIconSize extends keyof ButtonIconSizeToTypes> extends BannerExtraProps<ButtonIconSize> {
|
|
377
|
+
children: React.ReactNode;
|
|
378
|
+
dismissed?: boolean;
|
|
379
|
+
dismissible?: boolean;
|
|
380
|
+
onClose?: (e: React.MouseEvent) => void;
|
|
381
|
+
}
|
|
382
|
+
declare const Banner: React.ForwardRefExoticComponent<BannerProps<keyof ButtonIconSizeToTypes> & React.RefAttributes<HTMLDivElement | null>>;
|
|
383
|
+
interface SdsProps {
|
|
384
|
+
isAllCaps?: boolean;
|
|
385
|
+
isRounded?: boolean;
|
|
386
|
+
sdsStyle?: "minimal" | "rounded" | "square";
|
|
387
|
+
sdsType?: "primary" | "secondary";
|
|
388
|
+
}
|
|
389
|
+
// (thuang): Support `component` prop
|
|
390
|
+
// https://stackoverflow.com/a/66123108
|
|
391
|
+
type ButtonProps<C extends React.ElementType = "button"> = RawButtonProps<C, {
|
|
392
|
+
component?: C;
|
|
393
|
+
}> & SdsProps;
|
|
394
|
+
/**
|
|
395
|
+
* @see https://mui.com/material-ui/react-button/
|
|
396
|
+
*/
|
|
397
|
+
declare const Button: React.ForwardRefExoticComponent<Pick<{
|
|
398
|
+
component?: React.ElementType<any> | undefined;
|
|
399
|
+
} & {
|
|
400
|
+
children?: React.ReactNode;
|
|
401
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
402
|
+
color?: "inherit" | "primary" | "secondary" | "info" | "success" | "warning" | "error" | undefined;
|
|
403
|
+
disabled?: boolean | undefined;
|
|
404
|
+
disableElevation?: boolean | undefined;
|
|
405
|
+
disableFocusRipple?: boolean | undefined;
|
|
406
|
+
endIcon?: React.ReactNode;
|
|
407
|
+
fullWidth?: boolean | undefined;
|
|
408
|
+
href?: string | undefined;
|
|
409
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
410
|
+
startIcon?: React.ReactNode;
|
|
411
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
412
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
413
|
+
} & Omit<{
|
|
414
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
415
|
+
centerRipple?: boolean | undefined;
|
|
416
|
+
children?: React.ReactNode;
|
|
417
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
418
|
+
disabled?: boolean | undefined;
|
|
419
|
+
disableRipple?: boolean | undefined;
|
|
420
|
+
disableTouchRipple?: boolean | undefined;
|
|
421
|
+
focusRipple?: boolean | undefined;
|
|
422
|
+
focusVisibleClassName?: string | undefined;
|
|
423
|
+
LinkComponent?: React.ElementType<any> | undefined;
|
|
424
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
425
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
426
|
+
tabIndex?: number | undefined;
|
|
427
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
428
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
429
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<any, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "href" | "variant" | "component" | "size" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon"> & SdsProps, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
|
|
430
|
+
interface SdsProps$0 {
|
|
431
|
+
icon?: JSX.Element;
|
|
432
|
+
isRounded?: boolean;
|
|
433
|
+
sdsStyle?: "rounded" | "square";
|
|
434
|
+
sdsType?: "primary" | "secondary";
|
|
435
|
+
}
|
|
436
|
+
type ButtonDropdownProps<C extends React.ElementType = "button"> = RawButtonProps<C, {
|
|
437
|
+
component?: C;
|
|
438
|
+
}> & SdsProps$0;
|
|
439
|
+
/**
|
|
440
|
+
* @see https://mui.com/material-ui/react-button/
|
|
441
|
+
*/
|
|
442
|
+
declare const ButtonDropdown: React.ForwardRefExoticComponent<Pick<{
|
|
443
|
+
component?: React.ElementType<any> | undefined;
|
|
444
|
+
} & {
|
|
445
|
+
children?: React.ReactNode;
|
|
446
|
+
classes?: Partial<import("@mui/material").ButtonClasses> | undefined;
|
|
447
|
+
color?: "inherit" | "primary" | "secondary" | "info" | "success" | "warning" | "error" | undefined;
|
|
448
|
+
disabled?: boolean | undefined;
|
|
449
|
+
disableElevation?: boolean | undefined;
|
|
450
|
+
disableFocusRipple?: boolean | undefined;
|
|
451
|
+
endIcon?: React.ReactNode;
|
|
452
|
+
fullWidth?: boolean | undefined;
|
|
453
|
+
href?: string | undefined;
|
|
454
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
455
|
+
startIcon?: React.ReactNode;
|
|
456
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
457
|
+
variant?: "text" | "outlined" | "contained" | undefined;
|
|
458
|
+
} & Omit<{
|
|
459
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
460
|
+
centerRipple?: boolean | undefined;
|
|
461
|
+
children?: React.ReactNode;
|
|
462
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
463
|
+
disabled?: boolean | undefined;
|
|
464
|
+
disableRipple?: boolean | undefined;
|
|
465
|
+
disableTouchRipple?: boolean | undefined;
|
|
466
|
+
focusRipple?: boolean | undefined;
|
|
467
|
+
focusVisibleClassName?: string | undefined;
|
|
468
|
+
LinkComponent?: React.ElementType<any> | undefined;
|
|
469
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
470
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
471
|
+
tabIndex?: number | undefined;
|
|
472
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
473
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
474
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<any, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "color" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "href" | "variant" | "component" | "size" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon"> & SdsProps$0, string | number | symbol> & React.RefAttributes<HTMLButtonElement>>;
|
|
475
|
+
declare const SDS_STAGE_OPEN = "open";
|
|
476
|
+
declare const SDS_STAGE_CLOSED = "closed";
|
|
477
|
+
interface CalloutProps {
|
|
478
|
+
autoDismiss?: boolean | number;
|
|
479
|
+
dismissed?: boolean;
|
|
480
|
+
expandable?: boolean;
|
|
481
|
+
icon?: React.ReactNode;
|
|
482
|
+
intent: "info" | "error" | "success" | "warning";
|
|
483
|
+
sdsStage?: typeof SDS_STAGE_CLOSED | typeof SDS_STAGE_OPEN;
|
|
484
|
+
}
|
|
485
|
+
type ExposedCalloutProps = AlertProps & CalloutProps;
|
|
486
|
+
/**
|
|
487
|
+
* @see https://mui.com/material-ui/react-alert/
|
|
488
|
+
*/
|
|
489
|
+
declare const Callout: ({ autoDismiss, children, dismissed, expandable, onClose, icon, intent, sdsStage, ...rest }: ExposedCalloutProps) => JSX.Element;
|
|
490
|
+
declare const CalloutTitle: ({ children }: AlertTitleProps) => JSX.Element;
|
|
491
|
+
interface TooltipExtraProps extends CommonThemeProps {
|
|
492
|
+
// TODO(185930): remove custom `followCursor` prop when we upgrade to MUIv5
|
|
493
|
+
arrowOffset?: number;
|
|
494
|
+
followCursor?: boolean;
|
|
495
|
+
inverted?: boolean;
|
|
496
|
+
sdsStyle?: "dark" | "light";
|
|
497
|
+
subtitle?: string;
|
|
498
|
+
width?: "default" | "wide";
|
|
499
|
+
}
|
|
500
|
+
type TooltipProps = TooltipExtraProps & RawTooltipProps;
|
|
501
|
+
/**
|
|
502
|
+
* @see https://mui.com/material-ui/react-tooltip/
|
|
503
|
+
*
|
|
504
|
+
* @warning If the tooltip wraps a disabled component, please make sure to
|
|
505
|
+
* wrap the children in a `<span>` tag.
|
|
506
|
+
* https://mui.com/components/tooltips/#disabled-elements
|
|
507
|
+
*/
|
|
508
|
+
declare const Tooltip: React.ForwardRefExoticComponent<Pick<TooltipExtraProps & RawTooltipProps, "components" | "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "width" | "theme" | "open" | "subtitle" | "TransitionComponent" | "TransitionProps" | "componentsProps" | "onClose" | "slotProps" | "slots" | "sdsStyle" | "arrowOffset" | "followCursor" | "inverted" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps"> & React.RefAttributes<unknown>>;
|
|
509
|
+
interface CellBasicExtraProps extends CommonThemeProps {
|
|
510
|
+
horizontalAlign?: "left" | "center" | "right";
|
|
511
|
+
verticalAlign?: "top" | "center" | "bottom";
|
|
512
|
+
iconVerticalAlign?: "top" | "center" | "bottom";
|
|
513
|
+
shouldTextWrap?: boolean;
|
|
514
|
+
primaryTextWrapLineCount?: number;
|
|
515
|
+
secondaryTextWrapLineCount?: number;
|
|
516
|
+
tertiaryTextWrapLineCount?: number;
|
|
517
|
+
}
|
|
518
|
+
interface CellBasicContentProps extends Omit<React.HTMLProps<HTMLTableCellElement>, "as"> {
|
|
519
|
+
primaryText: string;
|
|
520
|
+
primaryTextWrapLineCount?: number;
|
|
521
|
+
secondaryText?: string;
|
|
522
|
+
secondaryTextWrapLineCount?: number;
|
|
523
|
+
tertiaryText?: string;
|
|
524
|
+
tertiaryTextWrapLineCount?: number;
|
|
525
|
+
shouldTextWrap?: boolean;
|
|
526
|
+
icon?: JSX.Element;
|
|
527
|
+
iconVerticalAlign?: "top" | "center" | "bottom";
|
|
528
|
+
}
|
|
529
|
+
interface CellBasicRawProps {
|
|
530
|
+
shouldShowTooltipOnHover?: boolean;
|
|
531
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
532
|
+
}
|
|
533
|
+
type CellBasicProps = CellBasicRawProps & CellBasicExtraProps & CellBasicContentProps;
|
|
534
|
+
declare const CellBasic: React.ForwardRefExoticComponent<Pick<CellBasicProps, "shape" | "className" | "style" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "list" | "download" | "href" | "hrefLang" | "media" | "target" | "width" | "height" | "verticalAlign" | "step" | "theme" | "selected" | "default" | "open" | "max" | "method" | "min" | "crossOrigin" | "wrap" | "start" | "size" | "icon" | "multiple" | "classID" | "useMap" | "wmode" | "scoped" | "alt" | "coords" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "defer" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "horizontalAlign" | "iconVerticalAlign" | "shouldTextWrap" | "primaryTextWrapLineCount" | "secondaryTextWrapLineCount" | "tertiaryTextWrapLineCount" | "primaryText" | "secondaryText" | "tertiaryText" | "shouldShowTooltipOnHover" | "tooltipProps"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
535
|
+
interface CellComponentExtraProps extends CommonThemeProps {
|
|
536
|
+
horizontalAlign?: "left" | "center" | "right";
|
|
537
|
+
verticalAlign?: "top" | "center" | "bottom";
|
|
538
|
+
}
|
|
539
|
+
interface CellComponentContentProps extends Omit<React.HTMLProps<HTMLTableCellElement>, "as"> {
|
|
540
|
+
children?: ReactNode;
|
|
541
|
+
}
|
|
542
|
+
type CellComponentProps = CellComponentContentProps & CellComponentExtraProps;
|
|
543
|
+
declare const CellComponent: React.ForwardRefExoticComponent<Pick<CellComponentContentProps & CellComponentExtraProps, "shape" | "className" | "style" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "list" | "download" | "href" | "hrefLang" | "media" | "target" | "width" | "height" | "step" | "selected" | "default" | "open" | "max" | "method" | "min" | "crossOrigin" | "wrap" | "start" | "size" | "multiple" | "classID" | "useMap" | "wmode" | "scoped" | "alt" | "coords" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "defer" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | keyof CellComponentExtraProps> & React.RefAttributes<unknown>>;
|
|
544
|
+
interface CellHeaderExtraProps extends CommonThemeProps {
|
|
545
|
+
active?: boolean;
|
|
546
|
+
horizontalAlign?: "left" | "center" | "right";
|
|
547
|
+
}
|
|
548
|
+
type CellHeaderDirection = "asc" | "desc";
|
|
549
|
+
interface CellHeaderContentProps {
|
|
550
|
+
active?: boolean;
|
|
551
|
+
direction?: CellHeaderDirection;
|
|
552
|
+
hideSortIcon?: boolean;
|
|
553
|
+
horizontalAlign?: "left" | "center" | "right";
|
|
554
|
+
children: React.ReactNode;
|
|
555
|
+
}
|
|
556
|
+
interface CellHeaderRawProps extends Omit<React.HTMLProps<HTMLTableCellElement>, "as"> {
|
|
557
|
+
tooltipText?: string;
|
|
558
|
+
tooltipSubtitle?: string;
|
|
559
|
+
shouldShowTooltipOnHover?: boolean;
|
|
560
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
561
|
+
}
|
|
562
|
+
type CellHeaderProps = CellHeaderRawProps & CellHeaderExtraProps & CellHeaderContentProps;
|
|
563
|
+
declare const CellHeader: React.ForwardRefExoticComponent<Pick<CellHeaderProps, "shape" | "direction" | "className" | "style" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "list" | "download" | "href" | "hrefLang" | "media" | "target" | "width" | "height" | "step" | "theme" | "active" | "selected" | "default" | "open" | "max" | "method" | "min" | "crossOrigin" | "wrap" | "start" | "size" | "multiple" | "classID" | "useMap" | "wmode" | "scoped" | "alt" | "coords" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "defer" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "horizontalAlign" | "shouldShowTooltipOnHover" | "tooltipProps" | "tooltipText" | "hideSortIcon" | "tooltipSubtitle"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
564
|
+
interface ChipExtraProps extends CommonThemeProps {
|
|
565
|
+
size?: "small" | "medium";
|
|
566
|
+
status?: "success" | "error" | "warning" | "info" | "pending" | "beta";
|
|
567
|
+
isRounded?: boolean;
|
|
568
|
+
}
|
|
569
|
+
type ChipProps = ChipExtraProps & RawChipProps;
|
|
570
|
+
/**
|
|
571
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
572
|
+
*/
|
|
573
|
+
declare const Chip: (props: ChipProps) => JSX.Element;
|
|
574
|
+
interface InputSearchExtraProps extends CommonThemeProps {
|
|
575
|
+
disabled?: boolean;
|
|
576
|
+
intent?: "default" | "error" | "warning";
|
|
577
|
+
sdsStyle?: "rounded" | "square";
|
|
578
|
+
sdsStage?: "default" | "userInput";
|
|
579
|
+
}
|
|
580
|
+
interface AccessibleInputSearchProps {
|
|
581
|
+
label: string;
|
|
582
|
+
placeholder?: string;
|
|
583
|
+
id: string;
|
|
584
|
+
handleSubmit?: (value: string) => void;
|
|
585
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
586
|
+
}
|
|
587
|
+
type InputSearchProps = RawTextFieldSearchProps & AccessibleInputSearchProps & InputSearchExtraProps;
|
|
588
|
+
/**
|
|
589
|
+
* @see https://mui.com/material-ui/react-text-field/
|
|
590
|
+
*/
|
|
591
|
+
declare const InputSearch: React.ForwardRefExoticComponent<(Pick<import("@mui/material").StandardTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "error" | "size" | "sdsStyle" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "handleSubmit" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps"> | Pick<import("@mui/material").FilledTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "error" | "size" | "sdsStyle" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "handleSubmit" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps"> | Pick<import("@mui/material").OutlinedTextFieldProps & AccessibleInputSearchProps & InputSearchExtraProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "error" | "size" | "sdsStyle" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "handleSubmit" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps">) & React.RefAttributes<HTMLDivElement>>;
|
|
592
|
+
/*
|
|
593
|
+
The final goal is to create a typescript interface which only accepts the
|
|
594
|
+
icons with "xs" or "s" size. At first we create a new TypeScript interface
|
|
595
|
+
that modifies the IconNameToSizes interface to change the values of icons
|
|
596
|
+
with 'xs' | 's' | 'l' | 'xl' sizes to 'xs' | 's', allowing for easy
|
|
597
|
+
filtering of items with 'l' | 'xl' sizes only later on
|
|
598
|
+
*/
|
|
599
|
+
type ModifiedIconNameToSizes = {
|
|
600
|
+
[K in keyof IconNameToSizes]: IconNameToSizes[K] extends "xs" | "s" | "l" | "xl" ? IconNameToSizes[K] extends "l" | "xl" ? "l" | "xl" : "xs" | "s" : IconNameToSizes[K];
|
|
601
|
+
};
|
|
602
|
+
/*
|
|
603
|
+
In the second step we create a TypeScript interface that is a subset of
|
|
604
|
+
the IconNameToSizes interface, containing only those icons that can be "xs" or "s" in size.
|
|
605
|
+
|
|
606
|
+
As a result, the MenuItem component accepts a bacteria icon with a
|
|
607
|
+
size value of "xs" | "s" | "l" | "xl" or a check icon with a size value of "xs" | "s",
|
|
608
|
+
but not a book icon since it has a size value of "l" | "xl".
|
|
609
|
+
*/
|
|
610
|
+
type IconNameToSmallSizes = {
|
|
611
|
+
[K in keyof ModifiedIconNameToSizes as ModifiedIconNameToSizes[K] extends "xs" | "s" ? K : never]: IconNameToSizes[K];
|
|
612
|
+
};
|
|
613
|
+
interface MenuItemExtraProps<IconName extends keyof IconNameToSmallSizes> {
|
|
614
|
+
column?: React.ReactNode;
|
|
615
|
+
isMultiSelect?: boolean;
|
|
616
|
+
sdsIcon?: IconName;
|
|
617
|
+
sdsIconProps?: Partial<IconProps<IconName>>;
|
|
618
|
+
}
|
|
619
|
+
type MenuItemProps<IconName extends keyof IconNameToSmallSizes> = MenuItemExtraProps<IconName> & RawMenuItemProps;
|
|
620
|
+
/**
|
|
621
|
+
* @see https://mui.com/material-ui/react-menu/
|
|
622
|
+
*/
|
|
623
|
+
declare const MenuItem: React.ForwardRefExoticComponent<Pick<MenuItemExtraProps<"link" | "table" | "filter" | "document" | "list" | "search" | "download" | "copy" | "bacteria" | "barChartHorizontal3" | "barChartVertical3" | "barChartVertical4" | "check" | "checkCircle" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circlesOverlap" | "dotsHorizontal" | "edit" | "exclamationMarkCircle" | "eyeClosed" | "eyeOpen" | "flagCheck" | "flagOutline" | "flagQuestionmark" | "flagXmark" | "gear" | "globe" | "house" | "infoCircle" | "lifeRing" | "lightBulb" | "linesDashed3Solid1" | "linesHorizontal" | "loading" | "lock" | "lockCircle" | "minus" | "open" | "people" | "percentage" | "person" | "pin" | "pinLocation" | "plus" | "plusCircle" | "puzzlePiece" | "refresh" | "searchLinesHorizontal" | "starburst" | "trashCan" | "treeHorizontal" | "treeVertical" | "triangleDown" | "triangleLeft" | "triangleRight" | "triangleUp" | "xMark" | "xMarkCircle"> & {
|
|
624
|
+
autoFocus?: boolean | undefined;
|
|
625
|
+
classes?: Partial<import("@mui/material").MenuItemClasses> | undefined;
|
|
626
|
+
dense?: boolean | undefined;
|
|
627
|
+
disabled?: boolean | undefined;
|
|
628
|
+
disableGutters?: boolean | undefined;
|
|
629
|
+
divider?: boolean | undefined;
|
|
630
|
+
selected?: boolean | undefined;
|
|
631
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
632
|
+
} & Omit<{
|
|
633
|
+
action?: React.Ref<import("@mui/material").ButtonBaseActions> | undefined;
|
|
634
|
+
centerRipple?: boolean | undefined;
|
|
635
|
+
children?: React.ReactNode;
|
|
636
|
+
classes?: Partial<import("@mui/material").ButtonBaseClasses> | undefined;
|
|
637
|
+
disabled?: boolean | undefined;
|
|
638
|
+
disableRipple?: boolean | undefined;
|
|
639
|
+
disableTouchRipple?: boolean | undefined;
|
|
640
|
+
focusRipple?: boolean | undefined;
|
|
641
|
+
focusVisibleClassName?: string | undefined;
|
|
642
|
+
LinkComponent?: React.ElementType<any> | undefined;
|
|
643
|
+
onFocusVisible?: React.FocusEventHandler<any> | undefined;
|
|
644
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
645
|
+
tabIndex?: number | undefined;
|
|
646
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
|
|
647
|
+
touchRippleRef?: React.Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
|
|
648
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "key" | keyof React.LiHTMLAttributes<HTMLLIElement>> & {
|
|
649
|
+
ref?: ((instance: HTMLLIElement | null) => void) | React.RefObject<HTMLLIElement> | null | undefined;
|
|
650
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "autoFocus" | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "selected" | "dense" | "disableGutters" | "divider">, keyof import("@mui/material/OverridableComponent").CommonProps | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "key" | "value" | "selected" | "dense" | "disableGutters" | "divider" | keyof MenuItemExtraProps<"link" | "table" | "filter" | "document" | "list" | "search" | "download" | "copy" | "bacteria" | "barChartHorizontal3" | "barChartVertical3" | "barChartVertical4" | "check" | "checkCircle" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circlesOverlap" | "dotsHorizontal" | "edit" | "exclamationMarkCircle" | "eyeClosed" | "eyeOpen" | "flagCheck" | "flagOutline" | "flagQuestionmark" | "flagXmark" | "gear" | "globe" | "house" | "infoCircle" | "lifeRing" | "lightBulb" | "linesDashed3Solid1" | "linesHorizontal" | "loading" | "lock" | "lockCircle" | "minus" | "open" | "people" | "percentage" | "person" | "pin" | "pinLocation" | "plus" | "plusCircle" | "puzzlePiece" | "refresh" | "searchLinesHorizontal" | "starburst" | "trashCan" | "treeHorizontal" | "treeVertical" | "triangleDown" | "triangleLeft" | "triangleRight" | "triangleUp" | "xMark" | "xMarkCircle">> & React.RefAttributes<HTMLLIElement | null>>;
|
|
651
|
+
interface StyleProps extends CommonThemeProps {
|
|
652
|
+
count?: number;
|
|
653
|
+
hasSections?: boolean;
|
|
654
|
+
icon?: ReactElement;
|
|
655
|
+
search?: boolean;
|
|
656
|
+
title?: string;
|
|
657
|
+
}
|
|
658
|
+
declare const StyledPopper$0: import("@emotion/styled").StyledComponent<Omit<import("@mui/base").PopperUnstyledProps<"div", {}>, "direction"> & {
|
|
659
|
+
components?: {
|
|
660
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
661
|
+
} | undefined;
|
|
662
|
+
componentsProps?: {
|
|
663
|
+
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperUnstyledRootSlotPropsOverrides, import("@mui/base").PopperUnstyledOwnerState> | undefined;
|
|
664
|
+
} | undefined;
|
|
665
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
666
|
+
} & import("react").RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
667
|
+
declare const StyledPaper: import("@emotion/styled").StyledComponent<{
|
|
668
|
+
children?: import("react").ReactNode;
|
|
669
|
+
classes?: Partial<import("@mui/material").PaperClasses> | undefined;
|
|
670
|
+
elevation?: number | undefined;
|
|
671
|
+
square?: boolean | undefined;
|
|
672
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
673
|
+
variant?: "elevation" | "outlined" | undefined;
|
|
674
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
675
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
676
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "elevation" | "square"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
677
|
+
// (thuang): This requires option to have a `name` property.
|
|
678
|
+
interface DropdownMenuOptionGeneral {
|
|
679
|
+
name: string;
|
|
680
|
+
section?: string;
|
|
681
|
+
}
|
|
682
|
+
interface DropdownMenuOptionBasic extends DropdownMenuOptionGeneral {
|
|
683
|
+
count?: number;
|
|
684
|
+
details?: string;
|
|
685
|
+
sdsIcon?: keyof IconNameToSmallSizes;
|
|
686
|
+
sdsIconProps?: Partial<IconProps<keyof IconNameToSmallSizes>>;
|
|
687
|
+
}
|
|
688
|
+
interface DropdownMenuOptionComponent extends DropdownMenuOptionGeneral {
|
|
689
|
+
component?: ReactNode;
|
|
690
|
+
}
|
|
691
|
+
type Exclusive<T, U> = T & {
|
|
692
|
+
[K in Exclude<keyof U, keyof T>]?: undefined;
|
|
693
|
+
};
|
|
694
|
+
type DefaultDropdownMenuOption = Exclusive<DropdownMenuOptionBasic, DropdownMenuOptionComponent> | Exclusive<DropdownMenuOptionComponent, DropdownMenuOptionBasic>;
|
|
695
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
696
|
+
type RenderFunctionType = (props: any) => JSX.Element;
|
|
697
|
+
interface ExtraDropdownMenuProps extends StyleProps {
|
|
698
|
+
keepSearchOnSelect?: boolean;
|
|
699
|
+
renderInput?: (params: AutocompleteRenderInputParams) => React.ReactNode;
|
|
700
|
+
onInputChange?: (event: SyntheticEvent<Element, Event>, value: string, reason: AutocompleteInputChangeReason) => void;
|
|
701
|
+
InputBaseProps?: Partial<InputSearchProps>;
|
|
702
|
+
PopperBaseProps?: Partial<PopperProps>;
|
|
703
|
+
title?: string;
|
|
704
|
+
anchorEl: HTMLElement | null;
|
|
705
|
+
PopperComponent?: typeof StyledPopper$0 | RenderFunctionType;
|
|
706
|
+
PaperComponent?: typeof StyledPaper | RenderFunctionType;
|
|
707
|
+
children?: JSX.Element | null;
|
|
708
|
+
onClickAway: (event: MouseEvent | TouchEvent) => void;
|
|
709
|
+
ClickAwayListenerProps?: Partial<MUIClickAwayListenerProps>;
|
|
710
|
+
}
|
|
711
|
+
type CustomAutocompleteProps<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = Omit<AutocompleteProps<T, Multiple, DisableClearable, FreeSolo>, "renderInput">;
|
|
712
|
+
type DropdownMenuProps<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = CustomAutocompleteProps<T, Multiple, DisableClearable, FreeSolo> & ExtraDropdownMenuProps;
|
|
713
|
+
declare const DropdownMenu: <T extends DefaultDropdownMenuOption, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: DropdownMenuProps<T, Multiple, DisableClearable, FreeSolo>) => JSX.Element;
|
|
714
|
+
type SdsDropdownMenuProps = DropdownMenuProps;
|
|
715
|
+
interface InputDropdownProps extends CommonThemeProps {
|
|
716
|
+
disabled?: boolean;
|
|
717
|
+
intent?: "default" | "error" | "warning";
|
|
718
|
+
label: ReactNode;
|
|
719
|
+
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
720
|
+
open?: boolean;
|
|
721
|
+
sdsStage: "default" | "userInput";
|
|
722
|
+
sdsStyle?: "minimal" | "square" | "rounded";
|
|
723
|
+
sdsType?: "singleSelect" | "multiSelect";
|
|
724
|
+
details?: string;
|
|
725
|
+
counter?: string;
|
|
726
|
+
shouldTruncateMinimalDetails?: boolean;
|
|
727
|
+
shouldPutAColonAfterLabel?: boolean;
|
|
728
|
+
}
|
|
729
|
+
/**
|
|
730
|
+
* @see https://mui.com/material-ui/react-button/
|
|
731
|
+
*/
|
|
732
|
+
declare const InputDropdown: (props: InputDropdownProps) => JSX.Element;
|
|
733
|
+
type InputDropdownPropsType = InputDropdownProps;
|
|
734
|
+
// (thuang): Value's type is based on generic type placeholder (T) and Multiple
|
|
735
|
+
// type. If Multiple is true, Value's type is T[] | null.
|
|
736
|
+
// Otherwise, Value's type is T | null.
|
|
737
|
+
// Conditional Type
|
|
738
|
+
// https://www.typescriptlang.org/docs/handbook/2/conditional-types.html
|
|
739
|
+
type Value<T, Multiple> = Multiple extends undefined | false ? T | null : Array<T> | null;
|
|
740
|
+
type MUIValue<Multiple> = AutocompleteValue<DefaultDropdownMenuOption, Multiple, undefined, undefined>;
|
|
741
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
742
|
+
type RenderFunctionType$0 = (props: any) => JSX.Element;
|
|
743
|
+
interface DropdownProps<Multiple extends boolean | undefined> {
|
|
744
|
+
buttonPosition?: "left" | "right";
|
|
745
|
+
buttons?: boolean;
|
|
746
|
+
closeOnBlur?: boolean;
|
|
747
|
+
disabled?: boolean;
|
|
748
|
+
label: ReactNode;
|
|
749
|
+
options: DefaultDropdownMenuOption[];
|
|
750
|
+
onChange: (options: Value<DefaultDropdownMenuOption, Multiple>) => void;
|
|
751
|
+
onClose?: () => void;
|
|
752
|
+
multiple?: Multiple;
|
|
753
|
+
search?: boolean;
|
|
754
|
+
DropdownMenuProps?: Partial<SdsDropdownMenuProps<DefaultDropdownMenuOption, Multiple, undefined, undefined>>;
|
|
755
|
+
InputDropdownProps?: Partial<InputDropdownPropsType>;
|
|
756
|
+
value?: Value<DefaultDropdownMenuOption, Multiple>;
|
|
757
|
+
style?: React.CSSProperties;
|
|
758
|
+
className?: string;
|
|
759
|
+
PopperComponent?: typeof StyledPopper$0 | RenderFunctionType$0;
|
|
760
|
+
InputDropdownComponent?: typeof InputDropdown;
|
|
761
|
+
isTriggerChangeOnOptionClick?: boolean;
|
|
762
|
+
}
|
|
763
|
+
// eslint-disable-next-line sonarjs/cognitive-complexity
|
|
764
|
+
declare const Dropdown: <Multiple extends boolean | undefined = false>({ options, label, multiple, search, buttonPosition, buttons,
|
|
765
|
+
// By default, most dropdowns will close when the user clicks outside the dropdown.
|
|
766
|
+
// The exception is the multiple select variant with Apply/Cancel buttons,
|
|
767
|
+
// which by default will not close on blur. If closeOnBlur is enabled, clicking out
|
|
768
|
+
// is equivalent to clicking the Cancel button, closing the dropdown and losing
|
|
769
|
+
// unapplied changes.
|
|
770
|
+
closeOnBlur, onChange, onClose, DropdownMenuProps, InputDropdownProps, value: propValue, PopperComponent, InputDropdownComponent, isTriggerChangeOnOptionClick, disabled, ...rest }: DropdownProps<Multiple>) => JSX.Element;
|
|
771
|
+
type InputDropdownPropsType$0 = InputDropdownProps;
|
|
772
|
+
interface ComplexFilterProps<Multiple> {
|
|
773
|
+
label: ReactNode;
|
|
774
|
+
options: DefaultDropdownMenuOption[];
|
|
775
|
+
multiple?: Multiple;
|
|
776
|
+
search?: boolean;
|
|
777
|
+
onChange: (options: Value<DefaultDropdownMenuOption, Multiple>) => void;
|
|
778
|
+
DropdownMenuProps?: Partial<typeof DropdownMenu>;
|
|
779
|
+
InputDropdownProps?: Partial<InputDropdownPropsType$0>;
|
|
780
|
+
value?: Value<DefaultDropdownMenuOption, Multiple>;
|
|
781
|
+
style?: React.CSSProperties;
|
|
782
|
+
className?: string;
|
|
783
|
+
PopperComponent?: typeof StyledPopper$0;
|
|
784
|
+
InputDropdownComponent?: typeof InputDropdown;
|
|
785
|
+
isTriggerChangeOnOptionClick?: boolean;
|
|
786
|
+
}
|
|
787
|
+
// eslint-disable-next-line sonarjs/cognitive-complexity
|
|
788
|
+
declare const ComplexFilter: <Multiple extends boolean | undefined = false>({ options, label, multiple, search, onChange, DropdownMenuProps, InputDropdownProps, value: propValue, PopperComponent, InputDropdownComponent, isTriggerChangeOnOptionClick, ...rest }: ComplexFilterProps<Multiple>) => JSX.Element;
|
|
789
|
+
/**
|
|
790
|
+
* @see https://mui.com/material-ui/react-paper/
|
|
791
|
+
*/
|
|
792
|
+
declare const DialogPaper: React.ForwardRefExoticComponent<Pick<PaperProps<"div", {}>, keyof import("@mui/material/OverridableComponent").CommonProps | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "key" | "variant" | "elevation" | "square"> & React.RefAttributes<HTMLDivElement>>;
|
|
793
|
+
type SdsSize = "xs" | "s" | "m" | "l";
|
|
794
|
+
declare const DialogContext: import("react").Context<{
|
|
795
|
+
sdsSize: SdsSize;
|
|
796
|
+
}>;
|
|
797
|
+
interface DialogExtraProps {
|
|
798
|
+
canClickOutsideClose?: boolean;
|
|
799
|
+
onClose?: (event: object, reason: string) => void;
|
|
800
|
+
sdsSize?: "xs" | "s" | "m" | "l";
|
|
801
|
+
PaperComponent?: ComponentType<DialogPaperProps>;
|
|
802
|
+
DialogComponent?: ComponentType<RawDialogProps>;
|
|
803
|
+
}
|
|
804
|
+
type DialogProps = RawDialogProps & DialogExtraProps;
|
|
805
|
+
/**
|
|
806
|
+
* @see https://mui.com/material-ui/react-dialog/
|
|
807
|
+
*/
|
|
808
|
+
declare const Dialog: React.ForwardRefExoticComponent<Pick<DialogProps, "components" | "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "key" | "maxWidth" | "transitionDuration" | "container" | "open" | "sdsSize" | "scroll" | "TransitionComponent" | "TransitionProps" | "componentsProps" | "onClose" | "slotProps" | "slots" | "fullWidth" | "disablePortal" | "keepMounted" | "PaperComponent" | "closeAfterTransition" | "disableAutoFocus" | "disableEnforceFocus" | "disableEscapeKeyDown" | "disableRestoreFocus" | "disableScrollLock" | "hideBackdrop" | "onBackdropClick" | "BackdropComponent" | "BackdropProps" | "fullScreen" | "PaperProps" | "canClickOutsideClose" | "DialogComponent"> & React.RefAttributes<HTMLDivElement>>;
|
|
809
|
+
interface DialogActionsExtraProps extends CommonThemeProps {
|
|
810
|
+
buttonPosition?: "left" | "right";
|
|
811
|
+
}
|
|
812
|
+
type DialogActionsProps = DialogActionsExtraProps & RawDialogActionsProps;
|
|
813
|
+
/**
|
|
814
|
+
* @see https://mui.com/material-ui/react-dialog/
|
|
815
|
+
*/
|
|
816
|
+
declare const DialogActions: React.ForwardRefExoticComponent<Pick<DialogActionsProps, "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "disableSpacing" | keyof DialogActionsExtraProps> & React.RefAttributes<HTMLDivElement>>;
|
|
817
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<DialogContentProps, "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "dividers"> & React.RefAttributes<HTMLDivElement>>;
|
|
818
|
+
type DialogTitleExtraProps = CommonThemeProps;
|
|
819
|
+
declare const Title: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
820
|
+
align?: "inherit" | "center" | "right" | "left" | "justify" | undefined;
|
|
821
|
+
children?: import("react").ReactNode;
|
|
822
|
+
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
823
|
+
gutterBottom?: boolean | undefined;
|
|
824
|
+
noWrap?: boolean | undefined;
|
|
825
|
+
paragraph?: boolean | undefined;
|
|
826
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
827
|
+
variant?: "inherit" | "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
828
|
+
variantMapping?: Partial<Record<"inherit" | "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
829
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
830
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
831
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | ("fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "zIndex" | "typography" | "p" | "color" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "fontStyle" | "textAlign") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & DialogTitleExtraProps, {}, {}>;
|
|
832
|
+
declare const Subtitle$0: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
833
|
+
align?: "inherit" | "center" | "right" | "left" | "justify" | undefined;
|
|
834
|
+
children?: import("react").ReactNode;
|
|
835
|
+
classes?: Partial<import("@mui/material").TypographyClasses> | undefined;
|
|
836
|
+
gutterBottom?: boolean | undefined;
|
|
837
|
+
noWrap?: boolean | undefined;
|
|
838
|
+
paragraph?: boolean | undefined;
|
|
839
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
840
|
+
variant?: "inherit" | "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
841
|
+
variantMapping?: Partial<Record<"inherit" | "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline", string>> | undefined;
|
|
842
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
843
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
844
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | ("fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "zIndex" | "typography" | "p" | "color" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "fontStyle" | "textAlign") | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & DialogTitleExtraProps, {}, {}>;
|
|
845
|
+
interface DialogTitleProps extends DialogTitleExtraProps, RawDialogTitleProps {
|
|
846
|
+
title?: string;
|
|
847
|
+
subtitle?: string;
|
|
848
|
+
onClose?: () => void;
|
|
849
|
+
}
|
|
850
|
+
/**
|
|
851
|
+
* @see https://mui.com/material-ui/react-dialog/
|
|
852
|
+
*/
|
|
853
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Pick<DialogTitleProps, "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "zIndex" | "typography" | "className" | "style" | "classes" | "p" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "key" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "component" | "theme" | "subtitle" | "onClose"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
854
|
+
interface CheckboxExtraProps extends CommonThemeProps {
|
|
855
|
+
caption?: string;
|
|
856
|
+
}
|
|
857
|
+
interface CheckboxContentProps extends Omit<MUICheckboxProps, "color" | "defaultChecked" | "indeterminate"> {
|
|
858
|
+
checkboxProps?: Partial<MUICheckboxProps>;
|
|
859
|
+
label?: string;
|
|
860
|
+
stage?: "checked" | "unchecked" | "indeterminate";
|
|
861
|
+
}
|
|
862
|
+
type CheckboxProps = CheckboxContentProps & CheckboxExtraProps;
|
|
863
|
+
/**
|
|
864
|
+
* @see https://mui.com/material-ui/react-checkbox/
|
|
865
|
+
*/
|
|
866
|
+
declare const InputCheckbox: (props: CheckboxProps) => JSX.Element;
|
|
867
|
+
interface RadioExtraProps extends CommonThemeProps {
|
|
868
|
+
caption?: string;
|
|
869
|
+
}
|
|
870
|
+
interface RadioContentProps extends Omit<MUIRadioProps, "color" | "defaultChecked"> {
|
|
871
|
+
label?: string;
|
|
872
|
+
radioProps?: Partial<MUIRadioProps>;
|
|
873
|
+
stage?: "checked" | "unchecked";
|
|
874
|
+
value?: string;
|
|
875
|
+
}
|
|
876
|
+
type RadioProps = RadioContentProps & RadioExtraProps;
|
|
877
|
+
/**
|
|
878
|
+
* @see https://mui.com/material-ui/react-radio-button/
|
|
879
|
+
*/
|
|
880
|
+
declare const InputRadio: (props: RadioProps) => JSX.Element;
|
|
881
|
+
interface InputSliderExtraProps extends SliderProps, CommonThemeProps {
|
|
882
|
+
}
|
|
883
|
+
type InputSliderProps = InputSliderExtraProps;
|
|
884
|
+
/**
|
|
885
|
+
* @see https://mui.com/material-ui/react-slider/
|
|
886
|
+
*/
|
|
887
|
+
declare const InputSlider: React.ForwardRefExoticComponent<Pick<InputSliderExtraProps, "components" | "className" | "style" | "classes" | "slot" | "title" | "track" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "value" | "scale" | "step" | "theme" | "max" | "min" | "orientation" | "size" | "componentsProps" | "slotProps" | "slots" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "valueLabelDisplay" | "valueLabelFormat"> & React.RefAttributes<HTMLSpanElement>>;
|
|
888
|
+
interface InputTextExtraProps extends CommonThemeProps {
|
|
889
|
+
disabled?: boolean;
|
|
890
|
+
intent?: "default" | "error" | "warning";
|
|
891
|
+
sdsType?: "textField" | "textArea";
|
|
892
|
+
sdsStage?: "default" | "userInput";
|
|
893
|
+
hideLabel?: boolean;
|
|
894
|
+
}
|
|
895
|
+
interface AccessibleInputTextProps {
|
|
896
|
+
label: string;
|
|
897
|
+
placeholder?: string;
|
|
898
|
+
id: string;
|
|
899
|
+
}
|
|
900
|
+
type InputTextProps = RawTextFieldProps & InputTextExtraProps & AccessibleInputTextProps;
|
|
901
|
+
/**
|
|
902
|
+
* @see https://mui.com/material-ui/react-text-field/
|
|
903
|
+
*/
|
|
904
|
+
declare const InputText: React.ForwardRefExoticComponent<(Pick<import("@mui/material").StandardTextFieldProps & InputTextExtraProps & AccessibleInputTextProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "sdsType" | "error" | "size" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "hideLabel"> | Pick<import("@mui/material").FilledTextFieldProps & InputTextExtraProps & AccessibleInputTextProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "sdsType" | "error" | "size" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "hideLabel"> | Pick<import("@mui/material").OutlinedTextFieldProps & InputTextExtraProps & AccessibleInputTextProps, "className" | "style" | "classes" | "label" | "slot" | "select" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "sx" | "key" | "name" | "type" | "value" | "margin" | "variant" | "theme" | "sdsType" | "error" | "size" | "fullWidth" | "autoComplete" | "required" | "rows" | "intent" | "sdsStage" | "focused" | "hiddenLabel" | "InputProps" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "maxRows" | "minRows" | "SelectProps" | "hideLabel">) & React.RefAttributes<HTMLInputElement>>;
|
|
905
|
+
interface InputToggleExtraProps extends SwitchProps, CommonThemeProps {
|
|
906
|
+
offLabel?: string;
|
|
907
|
+
onChange?(e: React.ChangeEvent): void;
|
|
908
|
+
onLabel?: string;
|
|
909
|
+
}
|
|
910
|
+
/**
|
|
911
|
+
* @see https://mui.com/material-ui/react-switch/
|
|
912
|
+
*/
|
|
913
|
+
declare const InputToggle: (props: InputToggleExtraProps) => JSX.Element;
|
|
914
|
+
type StyleProps$0 = CommonThemeProps;
|
|
915
|
+
// (thuang): Support `component` prop
|
|
916
|
+
// https://stackoverflow.com/a/66123108
|
|
917
|
+
type LinkProps<C extends React.ElementType = "a"> = RawLinkProps<C, {
|
|
918
|
+
component?: C;
|
|
919
|
+
}> & StyleProps$0 & {
|
|
920
|
+
sdsStyle?: "default" | "dashed";
|
|
921
|
+
};
|
|
922
|
+
/**
|
|
923
|
+
* @see https://mui.com/material-ui/react-link/
|
|
924
|
+
*/
|
|
925
|
+
declare const Link: React.ForwardRefExoticComponent<Pick<{
|
|
926
|
+
component?: React.ElementType<any> | undefined;
|
|
927
|
+
} & Omit<import("@mui/material").LinkBaseProps, "classes"> & {
|
|
928
|
+
children?: React.ReactNode;
|
|
929
|
+
classes?: Partial<import("@mui/material").LinkClasses> | undefined;
|
|
930
|
+
color?: import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Color | import("csstype").Property.Color[] | undefined> | ((theme: import("@mui/material").Theme) => import("@mui/system/styleFunctionSx").ResponsiveStyleValue<import("csstype").Property.Color | import("csstype").Property.Color[] | undefined>);
|
|
931
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
932
|
+
TypographyClasses?: (Partial<import("@mui/material").TypographyClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
|
|
933
|
+
underline?: "none" | "hover" | "always" | undefined;
|
|
934
|
+
variant?: "inherit" | "button" | "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2" | "overline" | undefined;
|
|
935
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<any, "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "zIndex" | "typography" | keyof import("@mui/material/OverridableComponent").CommonProps | "p" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "key" | "type" | "download" | "href" | "hrefLang" | "media" | "ping" | "target" | "referrerPolicy" | "border" | "borderTop" | "borderRight" | "borderBottom" | "borderLeft" | "borderColor" | "borderRadius" | "display" | "displayPrint" | "overflow" | "textOverflow" | "visibility" | "whiteSpace" | "flexBasis" | "flexDirection" | "flexWrap" | "justifyContent" | "alignItems" | "alignContent" | "order" | "flex" | "flexGrow" | "flexShrink" | "alignSelf" | "justifyItems" | "justifySelf" | "gap" | "columnGap" | "rowGap" | "gridColumn" | "gridRow" | "gridAutoFlow" | "gridAutoColumns" | "gridAutoRows" | "gridTemplateColumns" | "gridTemplateRows" | "gridTemplateAreas" | "gridArea" | "bgcolor" | "position" | "top" | "right" | "bottom" | "left" | "boxShadow" | "width" | "maxWidth" | "minWidth" | "height" | "maxHeight" | "minHeight" | "boxSizing" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginX" | "marginY" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variant" | "variantMapping" | "component" | "TypographyClasses" | "underline"> & CommonThemeProps & {
|
|
936
|
+
sdsStyle?: "default" | "dashed" | undefined;
|
|
937
|
+
}, string | number | symbol> & React.RefAttributes<HTMLAnchorElement>>;
|
|
938
|
+
interface ListExtraProps extends CommonThemeProps {
|
|
939
|
+
component?: unknown;
|
|
940
|
+
marginBottom?: "xxxs" | "xxs" | "xs" | "s" | "m" | "l";
|
|
941
|
+
ordered?: boolean;
|
|
942
|
+
}
|
|
943
|
+
type ListProps = ListExtraProps & RawListProps;
|
|
944
|
+
/**
|
|
945
|
+
* @see https://mui.com/material-ui/react-list/
|
|
946
|
+
*/
|
|
947
|
+
declare const List: (props: ListProps) => JSX.Element;
|
|
948
|
+
interface ListItemExtraProps extends CommonThemeProps {
|
|
949
|
+
marginBottom?: "s" | "xs" | "xxs";
|
|
950
|
+
fontSize?: "xxxs" | "xxs" | "xs" | "s" | "m" | "l";
|
|
951
|
+
ordered?: boolean;
|
|
952
|
+
}
|
|
953
|
+
declare const ListItemLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
954
|
+
type ListItemProps = RawListItemProps & ListItemExtraProps;
|
|
955
|
+
/**
|
|
956
|
+
* @see https://mui.com/material-ui/react-list/
|
|
957
|
+
*/
|
|
958
|
+
declare const ListItem: (props: ListItemProps) => JSX.Element;
|
|
959
|
+
/**
|
|
960
|
+
* @see https://mui.com/material-ui/react-list/
|
|
961
|
+
*/
|
|
962
|
+
declare const ListSubheader: (props: ListSubheaderProps) => JSX.Element;
|
|
963
|
+
interface LoadingIndicatorProps extends CommonThemeProps {
|
|
964
|
+
sdsStyle: "minimal" | "tag";
|
|
965
|
+
}
|
|
966
|
+
declare const LoadingIndicator: ({ sdsStyle }: LoadingIndicatorProps) => JSX.Element;
|
|
967
|
+
/**
|
|
968
|
+
* @see https://mui.com/material-ui/react-menu/
|
|
969
|
+
*/
|
|
970
|
+
declare const Menu: (props: MenuProps) => JSX.Element;
|
|
971
|
+
interface StyleProps$1 extends CommonThemeProps {
|
|
972
|
+
search?: boolean;
|
|
973
|
+
}
|
|
974
|
+
// (thuang): This requires option to have a `name` property.
|
|
975
|
+
interface DefaultMenuSelectOption {
|
|
976
|
+
name: string;
|
|
977
|
+
}
|
|
978
|
+
interface MenuSelectExtraProps extends StyleProps$1 {
|
|
979
|
+
keepSearchOnSelect?: boolean;
|
|
980
|
+
renderInput?: (params: AutocompleteRenderInputParams$0) => React.ReactNode;
|
|
981
|
+
InputBaseProps?: Partial<InputSearchProps>;
|
|
982
|
+
}
|
|
983
|
+
type CustomAutocompleteProps$0<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = Omit<AutocompleteProps$0<T, Multiple, DisableClearable, FreeSolo>, "renderInput">;
|
|
984
|
+
type MenuSelectProps<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = CustomAutocompleteProps$0<T, Multiple, DisableClearable, FreeSolo> & MenuSelectExtraProps;
|
|
985
|
+
/**
|
|
986
|
+
* @see https://mui.com/material-ui/react-autocomplete/
|
|
987
|
+
*/
|
|
988
|
+
declare const MenuSelect: <T extends DefaultMenuSelectOption, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: MenuSelectProps<T, Multiple, DisableClearable, FreeSolo>) => JSX.Element;
|
|
989
|
+
interface NotificationProps {
|
|
990
|
+
autoDismiss?: boolean | number;
|
|
991
|
+
buttonOnClick?: (event: React.SyntheticEvent) => void;
|
|
992
|
+
buttonText?: string;
|
|
993
|
+
dismissed?: boolean;
|
|
994
|
+
slideDirection: "left" | "right";
|
|
995
|
+
extraContent?: boolean;
|
|
996
|
+
intent: "info" | "error" | "success" | "warning";
|
|
997
|
+
}
|
|
998
|
+
type ExposedNotificationProps = AlertProps & NotificationProps;
|
|
999
|
+
/**
|
|
1000
|
+
* @see https://mui.com/material-ui/react-alert/
|
|
1001
|
+
*/
|
|
1002
|
+
declare const Notification: ({ autoDismiss, children, dismissed, slideDirection, intent, onClose, buttonOnClick, buttonText, ...rest }: ExposedNotificationProps) => JSX.Element;
|
|
1003
|
+
interface PaginationExtraProps extends CommonThemeProps {
|
|
1004
|
+
sdsStyle?: "round" | "square";
|
|
1005
|
+
disabled?: boolean;
|
|
1006
|
+
selected?: boolean;
|
|
1007
|
+
truncateDropdown?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
interface PaginationInternalProps {
|
|
1010
|
+
onPageChange: (page: number) => void;
|
|
1011
|
+
onNextPage: () => void;
|
|
1012
|
+
onPreviousPage: () => void;
|
|
1013
|
+
totalCount: number;
|
|
1014
|
+
siblingCount?: number;
|
|
1015
|
+
currentPage: number;
|
|
1016
|
+
pageSize: number;
|
|
1017
|
+
truncateDropdown?: boolean;
|
|
1018
|
+
}
|
|
1019
|
+
type PaginationProps = PaginationExtraProps & PaginationInternalProps;
|
|
1020
|
+
declare const Pagination: React.ForwardRefExoticComponent<PaginationExtraProps & PaginationInternalProps & React.RefAttributes<HTMLUListElement>>;
|
|
1021
|
+
// one prop is array of objects: with icon name and tooltip text. They need to make
|
|
1022
|
+
// first item in array first button, etc
|
|
1023
|
+
interface SingleButtonDefinition {
|
|
1024
|
+
iconName: string;
|
|
1025
|
+
tooltipText: string;
|
|
1026
|
+
}
|
|
1027
|
+
interface SegmentedControlExtraProps extends Omit<ToggleButtonGroupProps, "color"> {
|
|
1028
|
+
buttonDefinition: SingleButtonDefinition[];
|
|
1029
|
+
color?: "primary" | "secondary" | "standard" | "success" | "error" | "info" | "warning" | undefined;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* @see https://mui.com/material-ui/react-toggle-button/
|
|
1033
|
+
*/
|
|
1034
|
+
type SegmentedControlProps = SegmentedControlExtraProps & ToggleButtonGroupProps;
|
|
1035
|
+
declare const SegmentedControl: (props: SegmentedControlProps) => JSX.Element;
|
|
1036
|
+
interface SdsTableProps {
|
|
1037
|
+
children: React.ReactNode;
|
|
1038
|
+
}
|
|
1039
|
+
type TableProps = SdsTableProps & React.HTMLAttributes<HTMLTableElement>;
|
|
1040
|
+
declare const Table: React.ForwardRefExoticComponent<SdsTableProps & React.HTMLAttributes<HTMLTableElement> & React.RefAttributes<HTMLTableElement>>;
|
|
1041
|
+
interface TableHeaderProps {
|
|
1042
|
+
children: React.ReactNode;
|
|
1043
|
+
}
|
|
1044
|
+
declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps & React.RefAttributes<HTMLTableSectionElement | null>>;
|
|
1045
|
+
interface RowExtraProps extends CommonThemeProps, Omit<React.HTMLProps<HTMLTableRowElement>, "as"> {
|
|
1046
|
+
rowHeight?: number;
|
|
1047
|
+
useDivider?: boolean;
|
|
1048
|
+
selected?: boolean;
|
|
1049
|
+
disabled?: boolean;
|
|
1050
|
+
hover?: boolean;
|
|
1051
|
+
}
|
|
1052
|
+
interface RowRawProps {
|
|
1053
|
+
children: React.ReactNode;
|
|
1054
|
+
tooltipText?: string;
|
|
1055
|
+
tooltipSubtitle?: string;
|
|
1056
|
+
shouldShowTooltipOnHover?: boolean;
|
|
1057
|
+
tooltipProps?: Partial<TooltipProps>;
|
|
1058
|
+
}
|
|
1059
|
+
type TableRowProps = RowRawProps & RowExtraProps;
|
|
1060
|
+
declare const TableRow: React.ForwardRefExoticComponent<Pick<TableRowProps, "shape" | "className" | "style" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "disabled" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "list" | "download" | "href" | "hrefLang" | "media" | "target" | "width" | "height" | "step" | "hover" | "theme" | "selected" | "default" | "open" | "max" | "method" | "min" | "crossOrigin" | "wrap" | "start" | "size" | "multiple" | "useDivider" | "classID" | "useMap" | "wmode" | "scoped" | "alt" | "coords" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "dateTime" | "acceptCharset" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "sizes" | "srcSet" | "async" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "integrity" | "charSet" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "defer" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "shouldShowTooltipOnHover" | "tooltipProps" | "tooltipText" | "tooltipSubtitle" | "rowHeight"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
1061
|
+
type TabsProps = RawTabsProps & {
|
|
1062
|
+
underlined?: boolean;
|
|
1063
|
+
sdsSize?: "small" | "large";
|
|
1064
|
+
};
|
|
1065
|
+
declare const Tabs: React.ForwardRefExoticComponent<Pick<TabsProps, keyof import("@mui/material/OverridableComponent").CommonProps | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "variant" | "sdsSize" | "orientation" | "slotProps" | "slots" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar" | "underlined"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1066
|
+
interface TabProps$0 extends RawTabProps {
|
|
1067
|
+
count?: ReactNode;
|
|
1068
|
+
}
|
|
1069
|
+
/**
|
|
1070
|
+
* @see https://mui.com/material-ui/react-tabs/
|
|
1071
|
+
*/
|
|
1072
|
+
declare const Tab: React.ForwardRefExoticComponent<Pick<TabProps$0, "className" | "style" | "classes" | "label" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "key" | "value" | "icon" | "disableFocusRipple" | "count" | "iconPosition" | "wrapped"> & React.RefAttributes<HTMLDivElement>>;
|
|
1073
|
+
type SdsTagColorType = "primary" | "info" | "success" | "warning" | "error" | "gray" | "beta" | [
|
|
1074
|
+
string,
|
|
1075
|
+
string
|
|
1076
|
+
] | [
|
|
1077
|
+
string,
|
|
1078
|
+
string,
|
|
1079
|
+
string
|
|
1080
|
+
];
|
|
1081
|
+
interface ExtraTagProps extends CommonThemeProps {
|
|
1082
|
+
hover?: boolean;
|
|
1083
|
+
sdsType?: "primary" | "secondary";
|
|
1084
|
+
sdsStyle?: "square" | "rounded";
|
|
1085
|
+
tagColor?: SdsTagColorType;
|
|
1086
|
+
icon?: JSX.Element;
|
|
1087
|
+
}
|
|
1088
|
+
interface SdsTagProps extends Omit<ChipProps$0, "color"> {
|
|
1089
|
+
label: string;
|
|
1090
|
+
color?: SdsTagColorType;
|
|
1091
|
+
}
|
|
1092
|
+
type TagProps = SdsTagProps & ExtraTagProps;
|
|
1093
|
+
/**
|
|
1094
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
1095
|
+
*
|
|
1096
|
+
* @props color: {string} - applies color for tag based on default theme color values
|
|
1097
|
+
* [string, string] - applies custom colors for [font, background]
|
|
1098
|
+
* [string, string, string] - applies custom colors for [font, background, icon]
|
|
1099
|
+
*/
|
|
1100
|
+
declare const Tag: (props: TagProps) => JSX.Element;
|
|
1101
|
+
interface SdsTagFilterProps extends Omit<ChipProps$0, "color" | "variant"> {
|
|
1102
|
+
label: string;
|
|
1103
|
+
onDelete: React.EventHandler<any>;
|
|
1104
|
+
}
|
|
1105
|
+
type TagFilterProps = SdsTagFilterProps;
|
|
1106
|
+
/**
|
|
1107
|
+
* @see https://mui.com/material-ui/react-chip/
|
|
1108
|
+
*/
|
|
1109
|
+
declare const TagFilter: (props: SdsTagFilterProps) => JSX.Element;
|
|
1110
|
+
interface TooltipCondensedExtraProps extends CommonThemeProps {
|
|
1111
|
+
indicator?: boolean;
|
|
1112
|
+
indicatorColor?: string;
|
|
1113
|
+
}
|
|
1114
|
+
type TooltipCondensedProps = TooltipProps & TooltipCondensedExtraProps;
|
|
1115
|
+
/**
|
|
1116
|
+
* @see https://mui.com/material-ui/react-tooltip/
|
|
1117
|
+
*
|
|
1118
|
+
* @warning If the tooltip wraps a disabled component, please make sure to
|
|
1119
|
+
* wrap the children in a `<span>` tag.
|
|
1120
|
+
* https://mui.com/components/tooltips/#disabled-elements
|
|
1121
|
+
*/
|
|
1122
|
+
declare const TooltipCondensed: React.ForwardRefExoticComponent<Pick<TooltipExtraProps & import("@mui/material").TooltipProps & TooltipCondensedExtraProps, "components" | "className" | "style" | "classes" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx" | "width" | "theme" | "open" | "subtitle" | "TransitionComponent" | "TransitionProps" | "componentsProps" | "onClose" | "slotProps" | "slots" | "sdsStyle" | "arrowOffset" | "followCursor" | "inverted" | "placement" | "arrow" | "describeChild" | "disableFocusListener" | "disableHoverListener" | "disableInteractive" | "disableTouchListener" | "enterDelay" | "enterNextDelay" | "enterTouchDelay" | "leaveDelay" | "leaveTouchDelay" | "onOpen" | "PopperComponent" | "PopperProps" | "indicatorColor" | "indicator"> & React.RefAttributes<unknown>>;
|
|
1123
|
+
interface TooltipTableExtraProps extends CommonThemeProps {
|
|
1124
|
+
data?: Array<{
|
|
1125
|
+
label?: string;
|
|
1126
|
+
dataRows: {
|
|
1127
|
+
label: string;
|
|
1128
|
+
value: string | number;
|
|
1129
|
+
}[];
|
|
1130
|
+
disabled?: boolean;
|
|
1131
|
+
}>;
|
|
1132
|
+
contentAlert?: string | JSX.Element;
|
|
1133
|
+
itemAlign?: "left" | "right";
|
|
1134
|
+
}
|
|
1135
|
+
type TooltipTableContentProps = TooltipTableExtraProps;
|
|
1136
|
+
/**
|
|
1137
|
+
* @see https://mui.com/material-ui/react-table/
|
|
1138
|
+
*/
|
|
1139
|
+
declare const TooltipTableContent: (props: TooltipTableContentProps) => JSX.Element;
|
|
1140
|
+
export { AccordionHeader, AccordionDetails, AccordionProps, Accordion, Alert, BannerProps, Banner, SdsProps, ButtonProps, Button, ButtonDropdownProps, ButtonDropdown, ButtonIconInternalProps, ButtonIcon, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, StyledPopper$0 as ComplexFilterPopper, StyledPopper$0 as DropdownPopper, InputDropdown as ComplexFilterInputDropdown, InputDropdown as DropdownInputDropdown, InputDropdown, ComplexFilterProps, ComplexFilter, DialogContext, DialogProps, Dialog, DialogActionsProps, DialogActions, _default, _default as DialogContent, DialogPaper, Subtitle$0 as DialogTitleSubtitle, Title as DialogTitleTitle, DialogTitleProps, DialogTitle, StyledPaper as DropdownPaper, Value, MUIValue, DropdownProps, Dropdown, DropdownMenuOptionBasic, DropdownMenuOptionComponent, DefaultDropdownMenuOption, DropdownMenuProps, DropdownMenu, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxProps, InputCheckbox, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheader, LoadingIndicator, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, SegmentedControlProps, SegmentedControl, defaultAppTheme, makeThemeOptions, SDSTheme, SDSThemeOptions, Shadows, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSizes, Border, Borders, defaultTheme, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, CommonThemeProps, getSpaces, getSpacings, getTypography, getPalette, getColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, SdsTableProps, TableProps, Table, TableHeaderProps, TableHeader, TableRowProps, TableRow, Tabs, TabProps$0 as TabProps, Tab, SdsTagProps, TagProps, Tag, SdsTagFilterProps, TagFilterProps, TagFilter, Tooltip, TooltipCondensedProps, TooltipCondensed, TooltipTableContent, TooltipTableContent as TooltipTable };
|
|
1141
|
+
export type { AlertProps, ButtonIconSizeToTypes, ButtonIconProps, ChipProps, DialogContentProps, PaperProps as DialogPaperProps, IconNameToSizes, InputDropdownProps, InputToggleExtraProps as InputToggleProps, LinkProps, ListSubheaderProps, LoadingIndicatorProps, MenuProps, TabsProps, SdsTagColorType, TooltipProps, TooltipTableContentProps };
|