@czi-sds/components 21.6.3 → 21.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.d.ts +132 -104
- package/dist/index.cjs.js +998 -631
- package/dist/index.esm.d.ts +132 -104
- package/dist/index.esm.js +997 -633
- package/dist/tailwind.json +409 -273
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/variables.css +360 -197
- package/dist/variables.scss +280 -296
- package/package.json +2 -2
package/dist/index.esm.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ import { TabsProps as RawTabsProps } from "@mui/material";
|
|
|
33
33
|
import { ChipProps as ChipProps$0 } from "@mui/material";
|
|
34
34
|
import React from "react";
|
|
35
35
|
import { CSSProperties, ReactElement, ReactNode, SyntheticEvent, ComponentType } from "react";
|
|
36
|
-
import { Theme, ThemeOptions, TypographyStyle, PaletteOptions } from "@mui/material/styles";
|
|
36
|
+
import { Theme, ThemeOptions, TypographyStyle, Breakpoints, PaletteOptions } from "@mui/material/styles";
|
|
37
37
|
import { SerializedStyles } from "@emotion/react";
|
|
38
38
|
import { AlertProps } from "@mui/lab";
|
|
39
39
|
import { AutocompleteChangeDetails, AutocompleteChangeReason, AutocompleteCloseReason, AutocompleteValue } from "@mui/base";
|
|
@@ -60,24 +60,27 @@ interface AccentColor {
|
|
|
60
60
|
borderOpen: string;
|
|
61
61
|
borderFocus: string;
|
|
62
62
|
borderSelected: string;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
ornament: string;
|
|
64
|
+
ornamentHover: string;
|
|
65
|
+
ornamentPressed: string;
|
|
66
|
+
ornamentOpen: string;
|
|
67
|
+
ornamentFocus: string;
|
|
68
|
+
ornamentSelected: string;
|
|
69
69
|
}
|
|
70
70
|
interface BaseColor {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
backgroundPrimary: string;
|
|
72
|
+
backgroundPrimaryInverse: string;
|
|
73
|
+
backgroundSecondary: string;
|
|
74
|
+
backgroundSecondaryInverse: string;
|
|
75
|
+
backgroundTertiary: string;
|
|
76
|
+
surface: string;
|
|
77
|
+
surfaceInverse: string;
|
|
76
78
|
textPrimary: string;
|
|
77
79
|
textPrimaryInverse: string;
|
|
78
80
|
textSecondary: string;
|
|
79
81
|
textSecondaryInverse: string;
|
|
80
82
|
textDisabled: string;
|
|
83
|
+
textOnFill: string;
|
|
81
84
|
fillHover: string;
|
|
82
85
|
fillPressed: string;
|
|
83
86
|
fillPrimary: string;
|
|
@@ -85,19 +88,20 @@ interface BaseColor {
|
|
|
85
88
|
fillSelected: string;
|
|
86
89
|
fillDisabled: string;
|
|
87
90
|
divider: string;
|
|
91
|
+
dividerInverse: string;
|
|
88
92
|
border: string;
|
|
93
|
+
borderInverse: string;
|
|
89
94
|
borderHover: string;
|
|
90
95
|
borderPressed: string;
|
|
91
96
|
borderDisabled: string;
|
|
92
97
|
borderTable: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
iconDisabled: string;
|
|
98
|
+
ornamentDisabled: string;
|
|
99
|
+
ornamentOnFill: string;
|
|
100
|
+
ornamentPrimary: string;
|
|
101
|
+
ornamentPrimaryInverse: string;
|
|
102
|
+
ornamentSecondary: string;
|
|
103
|
+
ornamentSecondaryHover: string;
|
|
104
|
+
ornamentSecondaryPressed: string;
|
|
101
105
|
}
|
|
102
106
|
interface IntentColor {
|
|
103
107
|
surfacePrimary: string;
|
|
@@ -136,6 +140,19 @@ declare module "@mui/material/styles" {
|
|
|
136
140
|
interface PaletteOptions {
|
|
137
141
|
sds?: SDSPalette;
|
|
138
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* @see https://mui.com/material-ui/customization/breakpoints/#custom-breakpoints
|
|
145
|
+
* (masoudmanson): ModuleAugmentation is required for TypeScript to recognize the
|
|
146
|
+
* custom breakpoints added to the theme.
|
|
147
|
+
*/
|
|
148
|
+
interface BreakpointOverrides {
|
|
149
|
+
// remove the xs and xl breakpoints since SDS does not support them
|
|
150
|
+
xs: false;
|
|
151
|
+
sm: true;
|
|
152
|
+
md: true;
|
|
153
|
+
lg: true;
|
|
154
|
+
xl: false;
|
|
155
|
+
}
|
|
139
156
|
}
|
|
140
157
|
interface SDSTheme extends Theme {
|
|
141
158
|
app?: AppTheme;
|
|
@@ -159,6 +176,67 @@ interface Shadows {
|
|
|
159
176
|
m: string;
|
|
160
177
|
l: string;
|
|
161
178
|
}
|
|
179
|
+
interface TypographyStyles {
|
|
180
|
+
body: {
|
|
181
|
+
regular: {
|
|
182
|
+
button: TypographyStyle;
|
|
183
|
+
l: TypographyStyle;
|
|
184
|
+
m: TypographyStyle;
|
|
185
|
+
s: TypographyStyle;
|
|
186
|
+
xs: TypographyStyle;
|
|
187
|
+
xxs: TypographyStyle;
|
|
188
|
+
xxxs: TypographyStyle;
|
|
189
|
+
};
|
|
190
|
+
semibold: {
|
|
191
|
+
button: TypographyStyle;
|
|
192
|
+
l: TypographyStyle;
|
|
193
|
+
m: TypographyStyle;
|
|
194
|
+
s: TypographyStyle;
|
|
195
|
+
xs: TypographyStyle;
|
|
196
|
+
xxs: TypographyStyle;
|
|
197
|
+
xxxs: TypographyStyle;
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
caps: {
|
|
201
|
+
semibold: {
|
|
202
|
+
xxs: TypographyStyle;
|
|
203
|
+
xxxs: TypographyStyle;
|
|
204
|
+
xxxxs: TypographyStyle;
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
code: {
|
|
208
|
+
regular: {
|
|
209
|
+
s: TypographyStyle;
|
|
210
|
+
xs: TypographyStyle;
|
|
211
|
+
};
|
|
212
|
+
semibold: {
|
|
213
|
+
s: TypographyStyle;
|
|
214
|
+
xs: TypographyStyle;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
header: {
|
|
218
|
+
semibold: {
|
|
219
|
+
xxl: TypographyStyle;
|
|
220
|
+
xl: TypographyStyle;
|
|
221
|
+
l: TypographyStyle;
|
|
222
|
+
m: TypographyStyle;
|
|
223
|
+
s: TypographyStyle;
|
|
224
|
+
xs: TypographyStyle;
|
|
225
|
+
xxs: TypographyStyle;
|
|
226
|
+
xxxs: TypographyStyle;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
tabular: {
|
|
230
|
+
regular: {
|
|
231
|
+
s: TypographyStyle;
|
|
232
|
+
xs: TypographyStyle;
|
|
233
|
+
};
|
|
234
|
+
semibold: {
|
|
235
|
+
s: TypographyStyle;
|
|
236
|
+
xs: TypographyStyle;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
}
|
|
162
240
|
interface Typography {
|
|
163
241
|
fontFamily: {
|
|
164
242
|
body: CSSProperties["fontFamily"];
|
|
@@ -167,67 +245,8 @@ interface Typography {
|
|
|
167
245
|
header?: CSSProperties["fontFamily"];
|
|
168
246
|
tabular?: CSSProperties["fontFamily"];
|
|
169
247
|
};
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
regular: {
|
|
173
|
-
button: TypographyStyle;
|
|
174
|
-
l: TypographyStyle;
|
|
175
|
-
m: TypographyStyle;
|
|
176
|
-
s: TypographyStyle;
|
|
177
|
-
xs: TypographyStyle;
|
|
178
|
-
xxs: TypographyStyle;
|
|
179
|
-
xxxs: TypographyStyle;
|
|
180
|
-
};
|
|
181
|
-
semibold: {
|
|
182
|
-
button: TypographyStyle;
|
|
183
|
-
l: TypographyStyle;
|
|
184
|
-
m: TypographyStyle;
|
|
185
|
-
s: TypographyStyle;
|
|
186
|
-
xs: TypographyStyle;
|
|
187
|
-
xxs: TypographyStyle;
|
|
188
|
-
xxxs: TypographyStyle;
|
|
189
|
-
};
|
|
190
|
-
};
|
|
191
|
-
caps: {
|
|
192
|
-
semibold: {
|
|
193
|
-
xxs: TypographyStyle;
|
|
194
|
-
xxxs: TypographyStyle;
|
|
195
|
-
xxxxs: TypographyStyle;
|
|
196
|
-
};
|
|
197
|
-
};
|
|
198
|
-
code: {
|
|
199
|
-
regular: {
|
|
200
|
-
s: TypographyStyle;
|
|
201
|
-
xs: TypographyStyle;
|
|
202
|
-
};
|
|
203
|
-
semibold: {
|
|
204
|
-
s: TypographyStyle;
|
|
205
|
-
xs: TypographyStyle;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
header: {
|
|
209
|
-
semibold: {
|
|
210
|
-
xxl: TypographyStyle;
|
|
211
|
-
xl: TypographyStyle;
|
|
212
|
-
l: TypographyStyle;
|
|
213
|
-
m: TypographyStyle;
|
|
214
|
-
s: TypographyStyle;
|
|
215
|
-
xs: TypographyStyle;
|
|
216
|
-
xxs: TypographyStyle;
|
|
217
|
-
xxxs: TypographyStyle;
|
|
218
|
-
};
|
|
219
|
-
};
|
|
220
|
-
tabular: {
|
|
221
|
-
regular: {
|
|
222
|
-
s: TypographyStyle;
|
|
223
|
-
xs: TypographyStyle;
|
|
224
|
-
};
|
|
225
|
-
semibold: {
|
|
226
|
-
s: TypographyStyle;
|
|
227
|
-
xs: TypographyStyle;
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
};
|
|
248
|
+
wideStyles: TypographyStyles;
|
|
249
|
+
narrowStyles: TypographyStyles;
|
|
231
250
|
}
|
|
232
251
|
interface FontWeights {
|
|
233
252
|
bold: number;
|
|
@@ -295,10 +314,12 @@ interface IconSizes {
|
|
|
295
314
|
interface Border {
|
|
296
315
|
default?: string;
|
|
297
316
|
divider?: string;
|
|
317
|
+
dividerInverse?: string;
|
|
298
318
|
black?: string;
|
|
299
319
|
solid?: string;
|
|
300
320
|
dashed?: string;
|
|
301
321
|
hover?: string;
|
|
322
|
+
inverse?: string;
|
|
302
323
|
disabled?: string;
|
|
303
324
|
table?: string;
|
|
304
325
|
pressed?: string;
|
|
@@ -354,6 +375,8 @@ declare const SDSChooseTheme: (theme: PaletteMode) => AppTheme;
|
|
|
354
375
|
* Please use `SDSAppTheme` instead. This export will be removed in the future.
|
|
355
376
|
*/
|
|
356
377
|
declare const defaultAppTheme: AppTheme;
|
|
378
|
+
declare const SDSPaletteLight: (appTheme: AppTheme) => SDSPalette;
|
|
379
|
+
declare const SDSPaletteDark: (appTheme: AppTheme) => SDSPalette;
|
|
357
380
|
/**
|
|
358
381
|
* This function creates the theme options for the MUI theme provider
|
|
359
382
|
*/
|
|
@@ -379,10 +402,11 @@ declare const getCorners: ({ theme }: CommonThemeProps) => Corners | null;
|
|
|
379
402
|
declare const getFontWeights: ({ theme }: CommonThemeProps) => FontWeights | null;
|
|
380
403
|
declare const getIconSizes: ({ theme }: CommonThemeProps) => IconSizes | null;
|
|
381
404
|
declare const getBorders: ({ theme }: CommonThemeProps) => Borders | null;
|
|
405
|
+
declare const getBreakpoints: ({ theme }: CommonThemeProps) => Breakpoints | null;
|
|
382
406
|
declare function focusVisibleA11yStyle(props: CommonThemeProps): string;
|
|
383
|
-
type FontBodyWeight = keyof Typography["
|
|
384
|
-
type FontBodySize<T extends FontBodyWeight> = keyof Typography["
|
|
385
|
-
declare const fontBody: (fontSize: FontBodySize<FontBodyWeight>, fontWeight?: FontBodyWeight) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
407
|
+
type FontBodyWeight = keyof Typography["wideStyles"]["body"];
|
|
408
|
+
type FontBodySize<T extends FontBodyWeight> = keyof Typography["wideStyles"]["body"][T];
|
|
409
|
+
declare const fontBody: (fontSize: FontBodySize<FontBodyWeight>, fontWeight?: FontBodyWeight, isNarrow?: boolean) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
386
410
|
declare const fontBodyL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
387
411
|
declare const fontBodyM: (props: CommonThemeProps) => SerializedStyles | null;
|
|
388
412
|
declare const fontBodyS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
@@ -396,14 +420,14 @@ declare const fontBodySemiboldXs: (props: CommonThemeProps) => SerializedStyles
|
|
|
396
420
|
declare const fontBodySemiboldXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
397
421
|
declare const fontBodySemiboldXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
398
422
|
// Font Caps
|
|
399
|
-
type FontCapsSize = keyof Typography["
|
|
400
|
-
declare const fontCaps: (fontSize: FontCapsSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
423
|
+
type FontCapsSize = keyof Typography["wideStyles"]["caps"]["semibold"];
|
|
424
|
+
declare const fontCaps: (fontSize: FontCapsSize, isNarrow?: boolean) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
401
425
|
declare const fontCapsXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
402
426
|
declare const fontCapsXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
403
427
|
declare const fontCapsXxxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
404
428
|
// Font Header
|
|
405
|
-
type FontHeaderSize = keyof Typography["
|
|
406
|
-
declare const fontHeader: (fontSize: FontHeaderSize) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
429
|
+
type FontHeaderSize = keyof Typography["wideStyles"]["header"]["semibold"];
|
|
430
|
+
declare const fontHeader: (fontSize: FontHeaderSize, isNarrow?: boolean) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
407
431
|
declare const fontHeaderXxl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
408
432
|
declare const fontHeaderXl: (props: CommonThemeProps) => SerializedStyles | null;
|
|
409
433
|
declare const fontHeaderL: (props: CommonThemeProps) => SerializedStyles | null;
|
|
@@ -413,17 +437,17 @@ declare const fontHeaderXs: (props: CommonThemeProps) => SerializedStyles | null
|
|
|
413
437
|
declare const fontHeaderXxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
414
438
|
declare const fontHeaderXxxs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
415
439
|
// Font Code
|
|
416
|
-
type FontCodeWeight = keyof Typography["
|
|
417
|
-
type FontCodeSize<T extends FontCodeWeight> = keyof Typography["
|
|
418
|
-
declare const fontCode: (fontSize: FontCodeSize<FontCodeWeight>, fontWeight?: FontCodeWeight) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
440
|
+
type FontCodeWeight = keyof Typography["wideStyles"]["code"];
|
|
441
|
+
type FontCodeSize<T extends FontCodeWeight> = keyof Typography["wideStyles"]["code"][T];
|
|
442
|
+
declare const fontCode: (fontSize: FontCodeSize<FontCodeWeight>, fontWeight?: FontCodeWeight, isNarrow?: boolean) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
419
443
|
declare const fontCodeXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
420
444
|
declare const fontCodeS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
421
445
|
declare const fontCodeSemiboldXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
422
446
|
declare const fontCodeSemiboldS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
423
447
|
// Font Tabular
|
|
424
|
-
type FontTabularWeight = keyof Typography["
|
|
425
|
-
type FontTabularSize<T extends FontTabularWeight> = keyof Typography["
|
|
426
|
-
declare const fontTabular: (fontSize: FontTabularSize<FontTabularWeight>, fontWeight?: FontTabularWeight) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
448
|
+
type FontTabularWeight = keyof Typography["wideStyles"]["tabular"];
|
|
449
|
+
type FontTabularSize<T extends FontTabularWeight> = keyof Typography["wideStyles"]["tabular"][T];
|
|
450
|
+
declare const fontTabular: (fontSize: FontTabularSize<FontTabularWeight>, fontWeight?: FontTabularWeight, isNarrow?: boolean) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
427
451
|
declare const fontTabularXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
428
452
|
declare const fontTabularS: (props: CommonThemeProps) => SerializedStyles | null;
|
|
429
453
|
declare const fontTabularSemiboldXs: (props: CommonThemeProps) => SerializedStyles | null;
|
|
@@ -563,12 +587,11 @@ interface IconExtraProps<IconName extends keyof IconNameToSizes> extends CommonT
|
|
|
563
587
|
className?: string;
|
|
564
588
|
sdsIcon: IconName;
|
|
565
589
|
sdsSize: IconNameToSizes[IconName];
|
|
566
|
-
sdsType: "iconButton" | "interactive" | "static" | "button";
|
|
567
590
|
}
|
|
568
591
|
type SdsIconColorType = "blue" | "gray" | "green" | "purple" | "red" | "yellow";
|
|
569
592
|
interface SdsIconWithColor$0 {
|
|
570
593
|
color?: SdsIconColorType;
|
|
571
|
-
shade?: 100 | 200 | 300 | 400 | 500 | 600;
|
|
594
|
+
shade?: 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;
|
|
572
595
|
}
|
|
573
596
|
type IconProps<IconName extends keyof IconNameToSizes> = IconExtraProps<IconName> & SdsIconWithColor$0;
|
|
574
597
|
/**
|
|
@@ -670,6 +693,7 @@ interface ExtraAutocompleteProps<T, Multiple, DisableClearable, FreeSolo> extend
|
|
|
670
693
|
onChange?: (event: React.SyntheticEvent, value: AutocompleteValue$0<T, Multiple, DisableClearable, FreeSolo>, reason: AutocompleteChangeReason$0, details?: AutocompleteChangeDetails$0<T>) => void;
|
|
671
694
|
InputBaseProps?: Partial<InputSearchProps>;
|
|
672
695
|
label?: string;
|
|
696
|
+
intent?: InputSearchProps["intent"];
|
|
673
697
|
onClickAway?: (event?: MouseEvent | TouchEvent, reason?: AutocompleteCloseReason$0) => void;
|
|
674
698
|
onClick?: (event?: TouchEvent | MouseEvent) => void;
|
|
675
699
|
}
|
|
@@ -878,8 +902,11 @@ interface TooltipExtraProps extends CommonThemeProps {
|
|
|
878
902
|
// TODO(185930): remove custom `followCursor` prop when we upgrade to MUIv5
|
|
879
903
|
arrowOffset?: number;
|
|
880
904
|
followCursor?: boolean;
|
|
905
|
+
// @deprecated Use `hasInvertedStyle` instead
|
|
881
906
|
inverted?: boolean;
|
|
907
|
+
// @deprecated Use `hasInvertedStyle` instead
|
|
882
908
|
sdsStyle?: "dark" | "light";
|
|
909
|
+
hasInvertedStyle?: boolean;
|
|
883
910
|
subtitle?: string;
|
|
884
911
|
width?: "default" | "wide";
|
|
885
912
|
}
|
|
@@ -1144,7 +1171,7 @@ interface CheckboxExtraProps extends CommonThemeProps {
|
|
|
1144
1171
|
interface CheckboxContentProps extends Omit<MUICheckboxProps, "color" | "defaultChecked" | "indeterminate"> {
|
|
1145
1172
|
caption?: string;
|
|
1146
1173
|
checkboxProps?: Partial<MUICheckboxProps>;
|
|
1147
|
-
intent?: "default" | "
|
|
1174
|
+
intent?: "default" | "negative" | "notice" | "positive";
|
|
1148
1175
|
label?: React.ReactNode;
|
|
1149
1176
|
stage?: "checked" | "unchecked" | "indeterminate";
|
|
1150
1177
|
}
|
|
@@ -1159,7 +1186,7 @@ interface RadioExtraProps extends CommonThemeProps {
|
|
|
1159
1186
|
}
|
|
1160
1187
|
interface RadioContentProps extends Omit<MUIRadioProps, "color" | "defaultChecked"> {
|
|
1161
1188
|
caption?: string;
|
|
1162
|
-
intent?: "default" | "
|
|
1189
|
+
intent?: "default" | "negative" | "notice" | "positive";
|
|
1163
1190
|
label?: React.ReactNode;
|
|
1164
1191
|
radioProps?: Partial<MUIRadioProps>;
|
|
1165
1192
|
stage?: "checked" | "unchecked";
|
|
@@ -1289,13 +1316,14 @@ type MenuSelectProps<T, Multiple extends boolean | undefined = undefined, Disabl
|
|
|
1289
1316
|
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;
|
|
1290
1317
|
interface NavigationJumpToExtraProps extends Omit<TabsProps, "onChange">, CommonThemeProps {
|
|
1291
1318
|
}
|
|
1319
|
+
type Item = {
|
|
1320
|
+
title: string;
|
|
1321
|
+
elementRef: React.MutableRefObject<HTMLElement | null>;
|
|
1322
|
+
};
|
|
1292
1323
|
interface NavigationJumpToProps extends NavigationJumpToExtraProps {
|
|
1293
|
-
items: Array<
|
|
1294
|
-
title: string;
|
|
1295
|
-
elementRef: React.MutableRefObject<HTMLElement | null>;
|
|
1296
|
-
}>;
|
|
1324
|
+
items: Array<Item>;
|
|
1297
1325
|
offsetTop?: number;
|
|
1298
|
-
onChange?: (value: number) => void;
|
|
1326
|
+
onChange?: (value: number, event?: React.SyntheticEvent, type?: "click" | "scroll") => void;
|
|
1299
1327
|
}
|
|
1300
1328
|
declare const NavigationJumpTo: React.ForwardRefExoticComponent<Omit<NavigationJumpToProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1301
1329
|
type NotificationIntentType = "info" | "negative" | "positive" | "notice";
|
|
@@ -1489,5 +1517,5 @@ type TooltipTableContentProps = TooltipTableExtraProps;
|
|
|
1489
1517
|
* @see https://mui.com/material-ui/react-table/
|
|
1490
1518
|
*/
|
|
1491
1519
|
declare const TooltipTableContent: (props: TooltipTableContentProps) => JSX.Element;
|
|
1492
|
-
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerProps, Banner, ButtonProps, Button, ButtonDropdownProps, ButtonDropdown, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggleProps, ButtonToggle, CalloutIntentType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, InputDropdown as ComplexFilterInputDropdown, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPopper$1 as ComplexFilterPopper, StyledPopper$1 as DropdownPopper, ComplexFilterProps, ComplexFilter, DialogContext, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle$0 as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, StyledPaper$1 as DropdownPaper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, LinkProps$0 as LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, BasicPanelProps, OverlayPanelProps, PanelProps, PANEL_BASIC_MIN_WIDTH_PX, PANEL_OVERLAY_MIN_WIDTH_PX, Panel, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, 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, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXs, fontTabularS, fontTabularSemiboldXs, fontTabularSemiboldS, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders };
|
|
1520
|
+
export { AccordionDetails, AccordionHeader, AccordionProps, Accordion, Alert, AutocompleteSingleColumnOption, AutocompleteMultiColumnOption, SDSAutocompleteOptions, AutocompleteMultiColumnValue, AutocompleteSingleColumnValue, SDSAutocompleteValue, AutocompleteSingleColumnOnChange, AutocompleteMultiColumnOnChange, SDSAutocompleteOnChange, AutocompleteProps, StyledPopper as AutocompleteMultiColumnStyledPopper, StyledPaper$0 as AutocompleteSingleColumnStyledPaper, Autocomplete$0 as Autocomplete, BannerProps, Banner, ButtonProps, Button, ButtonDropdownProps, ButtonDropdown, ButtonIconInternalProps, ButtonIconProps, ButtonIcon, ButtonToggleProps, ButtonToggle, CalloutIntentType, CalloutProps, ExposedCalloutProps, Callout, CalloutTitle, CellBasicRawProps, CellBasicProps, CellBasic, CellComponentProps, CellComponent, CellHeaderDirection, CellHeaderProps, CellHeader, Chip, InputDropdown as ComplexFilterInputDropdown, InputDropdown as DropdownInputDropdown, InputDropdown, StyledPopper$1 as ComplexFilterPopper, StyledPopper$1 as DropdownPopper, ComplexFilterProps, ComplexFilter, DialogContext, DialogProps, Dialog, DialogActionsProps, DialogActions, DialogContentProps, _default, _default as DialogContent, DialogPaperProps, DialogPaper, Subtitle$0 as DialogTitleSubtitle, Title as DialogTitleTitle, Overline as DialogTitleOverline, DialogTitleProps, DialogTitle, StyledPaper$1 as DropdownPaper, ExtraDropdownProps, DropdownProps, Dropdown, DefaultDropdownMenuOption, MINIMUM_DROPDOWN_MENU_POPPER_WIDTH, DropdownMenuProps, DropdownMenu, SdsIconWithColor$0 as SdsIconWithColor, IconProps, Icon, CheckboxProps, InputCheckbox, InputDropdownProps$0 as InputDropdownProps, RadioContentProps, RadioProps, InputRadio, AccessibleInputSearchProps, InputSearchProps, InputSearch, InputSliderProps, InputSlider, InputTextProps, InputText, InputToggle, LinkProps$0 as LinkProps, Link, ListProps, List, ListItemLabel, ListItemProps, ListItem, ListSubheaderProps, ListSubheader, LoadingIndicatorProps$0 as LoadingIndicatorProps, LoadingIndicator, MenuProps, Menu, IconNameToSmallSizes, MenuItemExtraProps, MenuItemProps, MenuItem, DefaultMenuSelectOption, MenuSelectProps, MenuSelect, NavigationJumpToProps, NavigationJumpTo, NotificationIntentType, NotificationProps, ExposedNotificationProps, Notification, PaginationInternalProps, PaginationProps, Pagination, BasicPanelProps, OverlayPanelProps, PanelProps, PANEL_BASIC_MIN_WIDTH_PX, PANEL_OVERLAY_MIN_WIDTH_PX, Panel, SingleButtonDefinition, SegmentedControlProps, SegmentedControl, 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, AccentColor, BaseColor, IntentColor, SDSPalette, SDSTheme, SDSThemeOptions, AppTheme, Shadows, TypographyStyles, Typography, FontWeights, Corners, Spaces, Spacings, Color, Colors, IconSize, IconSizes, Border, Borders, Theme$0 as Theme, defaultTheme, makeSdsSemanticAppTheme, SDSLightAppTheme, SDSDarkAppTheme, SDSChooseTheme, defaultAppTheme, SDSPaletteLight, SDSPaletteDark, makeThemeOptions, focusVisibleA11yStyle, fontBody, fontBodyL, fontBodyM, fontBodyS, fontBodyXs, fontBodyXxs, fontBodyXxxs, fontBodySemiboldL, fontBodySemiboldM, fontBodySemiboldS, fontBodySemiboldXs, fontBodySemiboldXxs, fontBodySemiboldXxxs, fontCaps, fontCapsXxs, fontCapsXxxs, fontCapsXxxxs, fontHeader, fontHeaderXxl, fontHeaderXl, fontHeaderL, fontHeaderM, fontHeaderS, fontHeaderXs, fontHeaderXxs, fontHeaderXxxs, fontCode, fontCodeXs, fontCodeS, fontCodeSemiboldXs, fontCodeSemiboldS, fontTabular, fontTabularXs, fontTabularS, fontTabularSemiboldXs, fontTabularSemiboldS, CommonThemeProps, getSpaces, getSpacings, getTypography, getMode, getPalette, getColors, getSemanticColors, getShadows, getCorners, getFontWeights, getIconSizes, getBorders, getBreakpoints };
|
|
1493
1521
|
export type { AutocompleteBaseProps, AutocompleteMultiColumnProps, AutocompleteOptionBasic, AutocompleteOptionComponent, DefaultAutocompleteOption, ChipProps, IconNameToSizes, InputToggleExtraProps as InputToggleProps, TabsProps$0 as TabsProps, SdsTagColorType, TooltipProps, TooltipTableContentProps };
|