@czi-sds/components 20.8.0 → 21.1.0
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/README.md +2 -2
- package/dist/index.cjs.d.ts +157 -293
- package/dist/index.cjs.js +1483 -1139
- package/dist/index.esm.d.ts +157 -293
- package/dist/index.esm.js +1348 -1007
- package/dist/tailwind.json +318 -128
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/variables.css +567 -251
- package/dist/variables.scss +452 -142
- package/package.json +4 -5
package/dist/index.cjs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AccordionDetailsProps, PopperProps, AutocompleteInputChangeReason, AutocompleteRenderInputParams, PaperProps, SliderProps, SwitchProps, TabsProps, ToggleButtonGroupProps } from "@mui/material";
|
|
2
|
+
import { AccordionDetailsProps, PaletteMode, PopperProps, AutocompleteInputChangeReason, AutocompleteRenderInputParams, PaperProps, SliderProps, SwitchProps, TabsProps, ToggleButtonGroupProps } from "@mui/material";
|
|
3
3
|
import { AccordionProps as RawAccordionProps } from "@mui/material";
|
|
4
4
|
import { AccordionSummaryProps as RawAccordionSummaryProps } from "@mui/material";
|
|
5
5
|
import { AutocompleteChangeDetails as AutocompleteChangeDetails$0 } from "@mui/material";
|
|
@@ -45,149 +45,96 @@ interface SdsAccordionHeaderProps {
|
|
|
45
45
|
}
|
|
46
46
|
type AccordionHeaderProps = RawAccordionSummaryProps & SdsAccordionHeaderProps;
|
|
47
47
|
declare const AccordionHeader: (props: AccordionHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
fillHover: string;
|
|
113
|
-
fillPressed: string;
|
|
114
|
-
fillOnFill: string;
|
|
115
|
-
surface: string;
|
|
116
|
-
border: string;
|
|
117
|
-
icon: string;
|
|
118
|
-
};
|
|
119
|
-
neutral: {
|
|
120
|
-
fill: string;
|
|
121
|
-
fillHover: string;
|
|
122
|
-
fillPressed: string;
|
|
123
|
-
fillOnFill: string;
|
|
124
|
-
surface: string;
|
|
125
|
-
border: string;
|
|
126
|
-
icon: string;
|
|
127
|
-
};
|
|
128
|
-
notice: {
|
|
129
|
-
fill: string;
|
|
130
|
-
fillHover: string;
|
|
131
|
-
fillPressed: string;
|
|
132
|
-
fillOnFill: string;
|
|
133
|
-
surface: string;
|
|
134
|
-
border: string;
|
|
135
|
-
icon: string;
|
|
136
|
-
};
|
|
137
|
-
positive: {
|
|
138
|
-
fill: string;
|
|
139
|
-
fillHover: string;
|
|
140
|
-
fillPressed: string;
|
|
141
|
-
fillOnFill: string;
|
|
142
|
-
surface: string;
|
|
143
|
-
border: string;
|
|
144
|
-
icon: string;
|
|
145
|
-
};
|
|
48
|
+
interface AccentColor {
|
|
49
|
+
surfacePrimary: string;
|
|
50
|
+
surfaceSecondary: string;
|
|
51
|
+
textAction: string;
|
|
52
|
+
textActionHover: string;
|
|
53
|
+
textActionPressed: string;
|
|
54
|
+
fillHover: string;
|
|
55
|
+
fillPressed: string;
|
|
56
|
+
fillPrimary: string;
|
|
57
|
+
border: string;
|
|
58
|
+
borderHover: string;
|
|
59
|
+
borderPressed: string;
|
|
60
|
+
borderOpen: string;
|
|
61
|
+
borderFocus: string;
|
|
62
|
+
borderSelected: string;
|
|
63
|
+
icon: string;
|
|
64
|
+
iconHover: string;
|
|
65
|
+
iconPressed: string;
|
|
66
|
+
iconOpen: string;
|
|
67
|
+
iconFocus: string;
|
|
68
|
+
iconSelected: string;
|
|
69
|
+
}
|
|
70
|
+
interface BaseColor {
|
|
71
|
+
surfaceBackground: string;
|
|
72
|
+
surfacePrimary: string;
|
|
73
|
+
surfaceSecondary: string;
|
|
74
|
+
surfaceTertiary: string;
|
|
75
|
+
surfacePrimaryInverse: string;
|
|
76
|
+
textPrimary: string;
|
|
77
|
+
textPrimaryInverse: string;
|
|
78
|
+
textSecondary: string;
|
|
79
|
+
textSecondaryInverse: string;
|
|
80
|
+
textDisabled: string;
|
|
81
|
+
fillHover: string;
|
|
82
|
+
fillPressed: string;
|
|
83
|
+
fillPrimary: string;
|
|
84
|
+
fillOpen: string;
|
|
85
|
+
fillSelected: string;
|
|
86
|
+
fillDisabled: string;
|
|
87
|
+
divider: string;
|
|
88
|
+
border: string;
|
|
89
|
+
borderHover: string;
|
|
90
|
+
borderPressed: string;
|
|
91
|
+
borderDisabled: string;
|
|
92
|
+
borderTable: string;
|
|
93
|
+
iconPrimary: string;
|
|
94
|
+
iconPrimaryHover: string;
|
|
95
|
+
iconPrimaryPressed: string;
|
|
96
|
+
iconSecondary: string;
|
|
97
|
+
iconPrimaryInverse: string;
|
|
98
|
+
iconPrimaryInverseHover: string;
|
|
99
|
+
iconPrimaryInversePressed: string;
|
|
100
|
+
iconDisabled: string;
|
|
101
|
+
}
|
|
102
|
+
interface IntentColor {
|
|
103
|
+
surfacePrimary: string;
|
|
104
|
+
surfaceSecondary: string;
|
|
105
|
+
text: string;
|
|
106
|
+
fillPrimary: string;
|
|
107
|
+
fillSecondary: string;
|
|
108
|
+
fillHover: string;
|
|
109
|
+
fillPressed: string;
|
|
110
|
+
border: string;
|
|
111
|
+
ornament: string;
|
|
146
112
|
}
|
|
147
113
|
/**
|
|
148
|
-
* (masoudmanson): The
|
|
149
|
-
* semantic design tokens for the SDS
|
|
114
|
+
* (masoudmanson): The SDSPalette is a custom palette based on
|
|
115
|
+
* the semantic design tokens for the SDS components.
|
|
150
116
|
*/
|
|
151
|
-
interface
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
action: {
|
|
161
|
-
default: string;
|
|
162
|
-
hover: string;
|
|
163
|
-
pressed: string;
|
|
164
|
-
};
|
|
165
|
-
beta: string;
|
|
166
|
-
info: string;
|
|
167
|
-
negative: string;
|
|
168
|
-
neutral: string;
|
|
169
|
-
notice: string;
|
|
170
|
-
positive: string;
|
|
117
|
+
interface SDSPalette {
|
|
118
|
+
accent: AccentColor;
|
|
119
|
+
base: BaseColor;
|
|
120
|
+
beta: IntentColor;
|
|
121
|
+
info: IntentColor;
|
|
122
|
+
negative: IntentColor;
|
|
123
|
+
notice: IntentColor;
|
|
124
|
+
neutral: IntentColor;
|
|
125
|
+
positive: IntentColor;
|
|
171
126
|
}
|
|
172
127
|
/**
|
|
173
128
|
* (masoudmanson): Using module augmentation to extend the MUI Palette
|
|
174
129
|
* https://mui.com/material-ui/customization/palette/#typescript
|
|
175
130
|
*/
|
|
176
131
|
declare module "@mui/material/styles" {
|
|
177
|
-
// (masoudmanson): Extends the MUI
|
|
178
|
-
// export interface TypeText extends SDSTextPalette {}
|
|
179
|
-
// (masoudmanson): Extends the MUI Palette to include the SDSComponentPalette and the SDSTextPalette
|
|
132
|
+
// (masoudmanson): Extends the MUI Palette to include the SDSPalette and the SDSTextPalette
|
|
180
133
|
interface Palette {
|
|
181
|
-
sds:
|
|
182
|
-
component: SDSComponentPalette;
|
|
183
|
-
text: SDSTextPalette;
|
|
184
|
-
};
|
|
134
|
+
sds: SDSPalette;
|
|
185
135
|
}
|
|
186
136
|
interface PaletteOptions {
|
|
187
|
-
sds?:
|
|
188
|
-
component?: SDSComponentPalette;
|
|
189
|
-
text?: SDSTextPalette;
|
|
190
|
-
};
|
|
137
|
+
sds?: SDSPalette;
|
|
191
138
|
}
|
|
192
139
|
}
|
|
193
140
|
interface SDSTheme extends Theme {
|
|
@@ -314,18 +261,19 @@ interface Spaces {
|
|
|
314
261
|
*/
|
|
315
262
|
type Spacings = Spaces;
|
|
316
263
|
interface Color {
|
|
264
|
+
900?: string;
|
|
265
|
+
800: string;
|
|
266
|
+
700: string;
|
|
317
267
|
600: string;
|
|
318
268
|
500: string;
|
|
319
269
|
400: string;
|
|
320
270
|
300: string;
|
|
321
271
|
200: string;
|
|
322
272
|
100: string;
|
|
273
|
+
75?: string;
|
|
274
|
+
50?: string;
|
|
323
275
|
}
|
|
324
276
|
interface Colors {
|
|
325
|
-
common: {
|
|
326
|
-
white: string;
|
|
327
|
-
black: string;
|
|
328
|
-
};
|
|
329
277
|
blue: Color;
|
|
330
278
|
gray: Color;
|
|
331
279
|
green: Color;
|
|
@@ -333,129 +281,6 @@ interface Colors {
|
|
|
333
281
|
red: Color;
|
|
334
282
|
yellow: Color;
|
|
335
283
|
}
|
|
336
|
-
interface AccentColor {
|
|
337
|
-
border: string;
|
|
338
|
-
borderDisabled: string;
|
|
339
|
-
borderFocus: string;
|
|
340
|
-
borderHover: string;
|
|
341
|
-
borderOpen: string;
|
|
342
|
-
borderSelected: string;
|
|
343
|
-
borderPressed: string;
|
|
344
|
-
fill: string;
|
|
345
|
-
fillDisabled: string;
|
|
346
|
-
fillHover: string;
|
|
347
|
-
fillOnFill: string;
|
|
348
|
-
fillPressed: string;
|
|
349
|
-
icon: string;
|
|
350
|
-
surface: string;
|
|
351
|
-
}
|
|
352
|
-
interface BaseColor {
|
|
353
|
-
border: string;
|
|
354
|
-
borderDisabled: string;
|
|
355
|
-
borderHover: string;
|
|
356
|
-
borderPressed: string;
|
|
357
|
-
borderTable: string;
|
|
358
|
-
divider: string;
|
|
359
|
-
fill: string;
|
|
360
|
-
fillDisabled: string;
|
|
361
|
-
fillHover: string;
|
|
362
|
-
fillOpen: string;
|
|
363
|
-
fillPressed: string;
|
|
364
|
-
fillSelected: string;
|
|
365
|
-
icon: string;
|
|
366
|
-
iconDisabled: string;
|
|
367
|
-
iconHover: string;
|
|
368
|
-
iconPressed: string;
|
|
369
|
-
onFillDisabled: string;
|
|
370
|
-
surface: string;
|
|
371
|
-
surfacePrimary: string;
|
|
372
|
-
surfaceSecondary: string;
|
|
373
|
-
surfaceTertiary: string;
|
|
374
|
-
}
|
|
375
|
-
interface BetaColor {
|
|
376
|
-
border: string;
|
|
377
|
-
fill: string;
|
|
378
|
-
fillHover: string;
|
|
379
|
-
fillOnFill: string;
|
|
380
|
-
fillPressed: string;
|
|
381
|
-
icon: string;
|
|
382
|
-
surface: string;
|
|
383
|
-
}
|
|
384
|
-
interface InfoColor {
|
|
385
|
-
border: string;
|
|
386
|
-
fill: string;
|
|
387
|
-
fillHover: string;
|
|
388
|
-
fillOnFill: string;
|
|
389
|
-
fillPressed: string;
|
|
390
|
-
icon: string;
|
|
391
|
-
surface: string;
|
|
392
|
-
}
|
|
393
|
-
interface NegativeColor {
|
|
394
|
-
border: string;
|
|
395
|
-
fill: string;
|
|
396
|
-
fillHover: string;
|
|
397
|
-
fillOnFill: string;
|
|
398
|
-
fillPressed: string;
|
|
399
|
-
icon: string;
|
|
400
|
-
surface: string;
|
|
401
|
-
}
|
|
402
|
-
interface NeutralColor {
|
|
403
|
-
border: string;
|
|
404
|
-
fill: string;
|
|
405
|
-
fillHover: string;
|
|
406
|
-
fillOnFill: string;
|
|
407
|
-
fillPressed: string;
|
|
408
|
-
icon: string;
|
|
409
|
-
surface: string;
|
|
410
|
-
}
|
|
411
|
-
interface NoticeColor {
|
|
412
|
-
border: string;
|
|
413
|
-
fill: string;
|
|
414
|
-
fillHover: string;
|
|
415
|
-
fillOnFill: string;
|
|
416
|
-
fillPressed: string;
|
|
417
|
-
icon: string;
|
|
418
|
-
surface: string;
|
|
419
|
-
}
|
|
420
|
-
interface PositiveColor {
|
|
421
|
-
border: string;
|
|
422
|
-
fill: string;
|
|
423
|
-
fillHover: string;
|
|
424
|
-
fillOnFill: string;
|
|
425
|
-
fillPressed: string;
|
|
426
|
-
icon: string;
|
|
427
|
-
surface: string;
|
|
428
|
-
}
|
|
429
|
-
interface SemanticComponentColors {
|
|
430
|
-
accent: AccentColor;
|
|
431
|
-
base: BaseColor;
|
|
432
|
-
beta: BetaColor;
|
|
433
|
-
info: InfoColor;
|
|
434
|
-
negative: NegativeColor;
|
|
435
|
-
notice: NoticeColor;
|
|
436
|
-
neutral: NeutralColor;
|
|
437
|
-
positive: PositiveColor;
|
|
438
|
-
}
|
|
439
|
-
interface SemanticTextColors {
|
|
440
|
-
action: {
|
|
441
|
-
default?: string;
|
|
442
|
-
hover?: string;
|
|
443
|
-
pressed?: string;
|
|
444
|
-
};
|
|
445
|
-
base: {
|
|
446
|
-
accent?: string;
|
|
447
|
-
disabled?: string;
|
|
448
|
-
onFill?: string;
|
|
449
|
-
onFillDisabled?: string;
|
|
450
|
-
primary?: string;
|
|
451
|
-
secondary?: string;
|
|
452
|
-
};
|
|
453
|
-
beta: string;
|
|
454
|
-
info: string;
|
|
455
|
-
negative: string;
|
|
456
|
-
notice: string;
|
|
457
|
-
positive: string;
|
|
458
|
-
}
|
|
459
284
|
interface IconSize {
|
|
460
285
|
height: number;
|
|
461
286
|
width: number;
|
|
@@ -476,6 +301,10 @@ interface Border {
|
|
|
476
301
|
hover?: string;
|
|
477
302
|
disabled?: string;
|
|
478
303
|
table?: string;
|
|
304
|
+
pressed?: string;
|
|
305
|
+
open?: string;
|
|
306
|
+
focused?: string;
|
|
307
|
+
selected?: string;
|
|
479
308
|
}
|
|
480
309
|
interface Borders {
|
|
481
310
|
accent: Border;
|
|
@@ -489,8 +318,28 @@ interface Borders {
|
|
|
489
318
|
notice: Border;
|
|
490
319
|
positive: Border;
|
|
491
320
|
}
|
|
492
|
-
|
|
493
|
-
|
|
321
|
+
/**
|
|
322
|
+
* Theme adaptor with light/dark mode support.
|
|
323
|
+
*
|
|
324
|
+
* @param t The theme to use. Currently supports a light and dark variant.
|
|
325
|
+
* @returns The selected theme object to be used in the ThemeProvider
|
|
326
|
+
*/
|
|
327
|
+
declare const Theme$0: (t: PaletteMode) => import("@mui/material").Theme;
|
|
328
|
+
/**
|
|
329
|
+
* Default theme, uses light mode with no option to change it.
|
|
330
|
+
*
|
|
331
|
+
* Use the `theme` export to get a flexible light/dark mode theme function
|
|
332
|
+
*/
|
|
333
|
+
declare const defaultTheme: import("@mui/material").Theme;
|
|
334
|
+
declare const SDSLightAppTheme: AppTheme;
|
|
335
|
+
declare const SDSDarkAppTheme: AppTheme;
|
|
336
|
+
/**
|
|
337
|
+
* Helper function to select the appropriate theme settings.
|
|
338
|
+
*
|
|
339
|
+
* @param theme The theme to choose from. Currently supports a light and dark variant.
|
|
340
|
+
* @returns The appropriate app theme for the variant.
|
|
341
|
+
*/
|
|
342
|
+
declare const SDSChooseTheme: (theme: PaletteMode) => AppTheme;
|
|
494
343
|
/**
|
|
495
344
|
* (masoudmanson): This is to make sure that the old defaultAppTheme
|
|
496
345
|
* export is still available for backward compatibility.
|
|
@@ -502,8 +351,7 @@ declare const defaultAppTheme: AppTheme;
|
|
|
502
351
|
/**
|
|
503
352
|
* This function creates the theme options for the MUI theme provider
|
|
504
353
|
*/
|
|
505
|
-
declare function makeThemeOptions(appTheme: AppTheme): SDSThemeOptions;
|
|
506
|
-
declare function focusVisibleA11yStyle(): string;
|
|
354
|
+
declare function makeThemeOptions(appTheme: AppTheme, mode: PaletteMode): SDSThemeOptions;
|
|
507
355
|
// (thuang): Somehow this namespace needs to be globally unique to prevent
|
|
508
356
|
// namespace collisions.
|
|
509
357
|
// Might be related to using `rollup-plugin-ts`, which does code splitting?
|
|
@@ -516,15 +364,16 @@ declare const getSpaces: ({ theme }: CommonThemeProps) => Spaces | null;
|
|
|
516
364
|
*/
|
|
517
365
|
declare const getSpacings: ({ theme }: CommonThemeProps) => Spaces | null;
|
|
518
366
|
declare const getTypography: ({ theme }: CommonThemeProps) => Typography | null;
|
|
367
|
+
declare const getMode: ({ theme }: CommonThemeProps) => "light" | "dark";
|
|
519
368
|
declare const getPalette: ({ theme }: CommonThemeProps) => PaletteOptions;
|
|
520
369
|
declare const getColors: ({ theme }: CommonThemeProps) => Colors | null;
|
|
521
|
-
declare const
|
|
522
|
-
declare const getSemanticTextColors: ({ theme }: CommonThemeProps) => SemanticTextColors | null;
|
|
370
|
+
declare const getSemanticColors: ({ theme }: CommonThemeProps) => SDSPalette | null;
|
|
523
371
|
declare const getShadows: ({ theme }: CommonThemeProps) => Shadows | null;
|
|
524
372
|
declare const getCorners: ({ theme }: CommonThemeProps) => Corners | null;
|
|
525
373
|
declare const getFontWeights: ({ theme }: CommonThemeProps) => FontWeights | null;
|
|
526
374
|
declare const getIconSizes: ({ theme }: CommonThemeProps) => IconSizes | null;
|
|
527
375
|
declare const getBorders: ({ theme }: CommonThemeProps) => Borders | null;
|
|
376
|
+
declare function focusVisibleA11yStyle(props: CommonThemeProps): string;
|
|
528
377
|
type FontBodyWeight = keyof Typography["styles"]["body"];
|
|
529
378
|
type FontBodySize<T extends FontBodyWeight> = keyof Typography["styles"]["body"][T];
|
|
530
379
|
declare const fontBody: (fontSize: FontBodySize<FontBodyWeight>, fontWeight?: FontBodyWeight) => (props: CommonThemeProps) => SerializedStyles | null;
|
|
@@ -608,7 +457,7 @@ interface IconNameToSizes {
|
|
|
608
457
|
ChevronUp: "xs" | "s" | "l" | "xl";
|
|
609
458
|
ChevronUp2: "xs" | "s";
|
|
610
459
|
CirclesOverlap2: "xs" | "s" | "l" | "xl";
|
|
611
|
-
Code: "l" | "xl";
|
|
460
|
+
Code: "xs" | "s" | "l" | "xl";
|
|
612
461
|
Compass: "l" | "xl";
|
|
613
462
|
Copy: "xs" | "s" | "l" | "xl";
|
|
614
463
|
Cube: "xs" | "s" | "l" | "xl";
|
|
@@ -651,6 +500,7 @@ interface IconNameToSizes {
|
|
|
651
500
|
LockCircle: "xs" | "s";
|
|
652
501
|
Minus: "xs" | "s";
|
|
653
502
|
Open: "xs" | "s";
|
|
503
|
+
Pause: "l" | "xl";
|
|
654
504
|
People: "xs" | "s" | "l" | "xl";
|
|
655
505
|
Percentage: "xs" | "s";
|
|
656
506
|
Person: "xs" | "s" | "l" | "xl";
|
|
@@ -671,9 +521,10 @@ interface IconNameToSizes {
|
|
|
671
521
|
RotateLeft: "xs" | "s";
|
|
672
522
|
RotateRight: "xs" | "s";
|
|
673
523
|
Save: "l" | "xl";
|
|
524
|
+
Scale: "xs" | "s";
|
|
674
525
|
Search: "xs" | "s" | "l" | "xl";
|
|
675
526
|
SearchLinesHorizontal3: "xs" | "s" | "l" | "xl";
|
|
676
|
-
Send: "l";
|
|
527
|
+
Send: "l" | "xl";
|
|
677
528
|
Share: "l" | "xl";
|
|
678
529
|
SlidersHorizontal: "l" | "xl";
|
|
679
530
|
SpeechBubbles: "l" | "xl";
|
|
@@ -681,8 +532,8 @@ interface IconNameToSizes {
|
|
|
681
532
|
Starburst: "xs" | "s";
|
|
682
533
|
Star: "l" | "xl";
|
|
683
534
|
Table: "xs" | "s";
|
|
684
|
-
ThumbsDown: "s";
|
|
685
|
-
ThumbsUp: "s";
|
|
535
|
+
ThumbsDown: "xs" | "s";
|
|
536
|
+
ThumbsUp: "xs" | "s";
|
|
686
537
|
TrashCan: "xs" | "s" | "l" | "xl";
|
|
687
538
|
TreeDendogram: "l" | "xl";
|
|
688
539
|
TreeHorizontal: "xs" | "s" | "l" | "xl";
|
|
@@ -720,9 +571,8 @@ type IconProps<IconName extends keyof IconNameToSizes> = IconExtraProps<IconName
|
|
|
720
571
|
declare const Icon: import("react").ForwardRefExoticComponent<IconExtraProps<keyof IconNameToSizes> & SdsIconWithColor$0 & import("react").RefAttributes<HTMLDivElement | null>>;
|
|
721
572
|
interface InputSearchExtraProps extends CommonThemeProps {
|
|
722
573
|
disabled?: boolean;
|
|
723
|
-
intent?: "default" | "
|
|
574
|
+
intent?: "default" | "negative" | "notice";
|
|
724
575
|
sdsStyle?: "rounded" | "square";
|
|
725
|
-
sdsStage?: "default" | "userInput";
|
|
726
576
|
value?: string;
|
|
727
577
|
}
|
|
728
578
|
interface AccessibleInputSearchProps {
|
|
@@ -775,7 +625,7 @@ type MenuItemProps<IconName extends keyof IconNameToSmallSizes> = MenuItemExtraP
|
|
|
775
625
|
/**
|
|
776
626
|
* @see https://mui.com/material-ui/react-menu/
|
|
777
627
|
*/
|
|
778
|
-
declare const MenuItem: React.ForwardRefExoticComponent<Omit<MenuItemProps<"Bacteria" | "BarChartHorizontal3" | "BarChartVertical3" | "BarChartVertical4" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronDown2" | "ChevronLeft2" | "ChevronLeft" | "ChevronRight2" | "ChevronRight" | "ChevronUp" | "ChevronUp2" | "CirclesOverlap2" | "Copy" | "Cube" | "Document" | "DotsHorizontal" | "Download" | "Edit" | "Envelope" | "ExclamationMarkCircle" | "EyeClosed" | "EyeOpen" | "Filter" | "FlagCheck" | "FlagOutline" | "FlagQuestionMark" | "FlagXMark" | "Gear" | "Globe" | "House" | "InfoCircle" | "LifeRing" | "LightBulb" | "LinesDashed3Solid1" | "LinesHorizontal3" | "Link" | "List" | "Loading" | "Lock" | "LockCircle" | "Minus" | "Open" | "People" | "Percentage" | "Person" | "Pin" | "PinLocation" | "Plus" | "PlusCircle" | "PuzzlePiece" | "Refresh" | "RotateLeft" | "RotateRight" | "Search" | "SearchLinesHorizontal3" | "Starburst" | "Table" | "ThumbsDown" | "ThumbsUp" | "TrashCan" | "TreeHorizontal" | "TreeVertical" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "XMark" | "XMarkCircle">, "ref"> & React.RefAttributes<HTMLLIElement | null>>;
|
|
628
|
+
declare const MenuItem: React.ForwardRefExoticComponent<Omit<MenuItemProps<"Bacteria" | "BarChartHorizontal3" | "BarChartVertical3" | "BarChartVertical4" | "Check" | "CheckCircle" | "ChevronDown" | "ChevronDown2" | "ChevronLeft2" | "ChevronLeft" | "ChevronRight2" | "ChevronRight" | "ChevronUp" | "ChevronUp2" | "CirclesOverlap2" | "Code" | "Copy" | "Cube" | "Document" | "DotsHorizontal" | "Download" | "Edit" | "Envelope" | "ExclamationMarkCircle" | "EyeClosed" | "EyeOpen" | "Filter" | "FlagCheck" | "FlagOutline" | "FlagQuestionMark" | "FlagXMark" | "Gear" | "Globe" | "House" | "InfoCircle" | "LifeRing" | "LightBulb" | "LinesDashed3Solid1" | "LinesHorizontal3" | "Link" | "List" | "Loading" | "Lock" | "LockCircle" | "Minus" | "Open" | "People" | "Percentage" | "Person" | "Pin" | "PinLocation" | "Plus" | "PlusCircle" | "PuzzlePiece" | "Refresh" | "RotateLeft" | "RotateRight" | "Scale" | "Search" | "SearchLinesHorizontal3" | "Starburst" | "Table" | "ThumbsDown" | "ThumbsUp" | "TrashCan" | "TreeHorizontal" | "TreeVertical" | "TriangleDown" | "TriangleLeft" | "TriangleRight" | "TriangleUp" | "XMark" | "XMarkCircle">, "ref"> & React.RefAttributes<HTMLLIElement | null>>;
|
|
779
629
|
interface StyleProps extends CommonThemeProps {
|
|
780
630
|
count?: number;
|
|
781
631
|
icon?: ReactElement;
|
|
@@ -834,10 +684,14 @@ declare const StyledPopper: import("@emotion/styled").StyledComponent<Omit<impor
|
|
|
834
684
|
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps> | undefined;
|
|
835
685
|
} | undefined;
|
|
836
686
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
837
|
-
} & import("react").RefAttributes<HTMLDivElement> &
|
|
687
|
+
} & import("react").RefAttributes<HTMLDivElement> & {
|
|
688
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
689
|
+
} & StyleProps$0, {}, {}>;
|
|
838
690
|
declare const StyledPaper$0: import("@emotion/styled").StyledComponent<import("@mui/material").PaperOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
839
691
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
840
|
-
}, "className" | "style" | "classes" | "children" | "sx" | "variant" | "elevation" | "square"> &
|
|
692
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "variant" | "elevation" | "square"> & {
|
|
693
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
694
|
+
} & StyleProps$0, {}, {}>;
|
|
841
695
|
interface ExtraAutocompleteMultiColumnProps<T, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined> extends StyleProps$0 {
|
|
842
696
|
keepSearchOnSelect?: boolean;
|
|
843
697
|
renderInput?: (params: AutocompleteRenderInputParams) => React.ReactNode;
|
|
@@ -941,7 +795,7 @@ declare const Button: React.ForwardRefExoticComponent<(Omit<import("@mui/materia
|
|
|
941
795
|
isRounded?: boolean | undefined;
|
|
942
796
|
}, "ref">) & React.RefAttributes<HTMLButtonElement>>;
|
|
943
797
|
interface BannerExtraProps extends CommonThemeProps {
|
|
944
|
-
sdsType: "primary" | "secondary"
|
|
798
|
+
sdsType: "primary" | "secondary";
|
|
945
799
|
}
|
|
946
800
|
interface BannerProps extends BannerExtraProps {
|
|
947
801
|
children: React.ReactNode;
|
|
@@ -1069,6 +923,7 @@ type CellComponentProps = CellComponentContentProps & CellComponentExtraProps;
|
|
|
1069
923
|
declare const CellComponent: React.ForwardRefExoticComponent<Omit<CellComponentProps, "ref"> & React.RefAttributes<unknown>>;
|
|
1070
924
|
interface CellHeaderExtraProps extends CommonThemeProps {
|
|
1071
925
|
active?: boolean;
|
|
926
|
+
hideSortIcon?: boolean;
|
|
1072
927
|
horizontalAlign?: "left" | "center" | "right";
|
|
1073
928
|
}
|
|
1074
929
|
type CellHeaderDirection = "asc" | "desc";
|
|
@@ -1117,10 +972,14 @@ declare const StyledPopper$1: import("@emotion/styled").StyledComponent<Omit<imp
|
|
|
1117
972
|
root?: import("@mui/base").SlotComponentProps<"div", import("@mui/base").PopperRootSlotPropsOverrides, import("@mui/base").PopperOwnProps> | undefined;
|
|
1118
973
|
} | undefined;
|
|
1119
974
|
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
1120
|
-
} & import("react").RefAttributes<HTMLDivElement> &
|
|
975
|
+
} & import("react").RefAttributes<HTMLDivElement> & {
|
|
976
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
977
|
+
} & CommonThemeProps, {}, {}>;
|
|
1121
978
|
declare const StyledPaper$1: import("@emotion/styled").StyledComponent<import("@mui/material").PaperOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1122
979
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
1123
|
-
}, "className" | "style" | "classes" | "children" | "sx" | "variant" | "elevation" | "square"> &
|
|
980
|
+
}, "className" | "style" | "classes" | "children" | "sx" | "variant" | "elevation" | "square"> & {
|
|
981
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
982
|
+
} & StyleProps$1, {}, {}>;
|
|
1124
983
|
/**
|
|
1125
984
|
* @deprecated
|
|
1126
985
|
* (masoudmanson): We've replaced DefaultDropdownMenuOption with DefaultAutocompleteOption
|
|
@@ -1155,11 +1014,10 @@ declare const doNotForwardProps: string[];
|
|
|
1155
1014
|
interface InputDropdownProps extends CommonThemeProps, Omit<ButtonProps$0, (typeof doNotForwardProps)[number]> {
|
|
1156
1015
|
children?: ReactNode;
|
|
1157
1016
|
disabled?: boolean;
|
|
1158
|
-
intent?: "default" | "
|
|
1017
|
+
intent?: "default" | "negative" | "notice";
|
|
1159
1018
|
label: ReactNode;
|
|
1160
1019
|
onClick: (event: React.MouseEvent<HTMLElement>) => void;
|
|
1161
1020
|
state?: "default" | "open";
|
|
1162
|
-
sdsStage: "default" | "userInput";
|
|
1163
1021
|
sdsStyle?: "minimal" | "square" | "rounded";
|
|
1164
1022
|
sdsType?: "label" | "value";
|
|
1165
1023
|
multiple?: boolean;
|
|
@@ -1232,13 +1090,19 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<RawDialog
|
|
|
1232
1090
|
type DialogTitleExtraProps = CommonThemeProps;
|
|
1233
1091
|
declare const Title: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1234
1092
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
1235
|
-
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> &
|
|
1093
|
+
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
1094
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1095
|
+
} & DialogTitleExtraProps, {}, {}>;
|
|
1236
1096
|
declare const Subtitle$0: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1237
1097
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
1238
|
-
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> &
|
|
1098
|
+
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
1099
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1100
|
+
} & DialogTitleExtraProps, {}, {}>;
|
|
1239
1101
|
declare const Overline: import("@emotion/styled").StyledComponent<import("@mui/material").TypographyOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
1240
1102
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
1241
|
-
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> &
|
|
1103
|
+
}, "zIndex" | "typography" | "fontFamily" | "fontSize" | "fontWeight" | "letterSpacing" | "lineHeight" | "textTransform" | "className" | "style" | "classes" | "children" | "sx" | "p" | "color" | "variant" | "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" | "marginInline" | "marginInlineStart" | "marginInlineEnd" | "marginBlock" | "marginBlockStart" | "marginBlockEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingX" | "paddingY" | "paddingInline" | "paddingInlineStart" | "paddingInlineEnd" | "paddingBlock" | "paddingBlockStart" | "paddingBlockEnd" | "fontStyle" | "textAlign" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & {
|
|
1104
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1105
|
+
} & DialogTitleExtraProps, {}, {}>;
|
|
1242
1106
|
interface DialogTitleProps extends DialogTitleExtraProps, RawDialogTitleProps {
|
|
1243
1107
|
title?: string;
|
|
1244
1108
|
subtitle?: string;
|
|
@@ -1272,7 +1136,7 @@ type DropdownProps<T, Multiple extends boolean | undefined, DisableClearable ext
|
|
|
1272
1136
|
// eslint-disable-next-line sonarjs/cognitive-complexity
|
|
1273
1137
|
declare const Dropdown: <T extends DefaultAutocompleteOption, Multiple extends boolean | undefined, DisableClearable extends boolean | undefined, FreeSolo extends boolean | undefined>(props: DropdownProps<T, Multiple, DisableClearable, FreeSolo>) => JSX.Element;
|
|
1274
1138
|
interface CheckboxExtraProps extends CommonThemeProps {
|
|
1275
|
-
intent?: "default" | "
|
|
1139
|
+
intent?: "default" | "negative" | "notice";
|
|
1276
1140
|
disabled?: boolean;
|
|
1277
1141
|
}
|
|
1278
1142
|
interface CheckboxContentProps extends Omit<MUICheckboxProps, "color" | "defaultChecked" | "indeterminate"> {
|
|
@@ -1288,7 +1152,7 @@ type CheckboxProps = CheckboxContentProps & CheckboxExtraProps;
|
|
|
1288
1152
|
*/
|
|
1289
1153
|
declare const InputCheckbox: (props: CheckboxProps) => JSX.Element;
|
|
1290
1154
|
interface RadioExtraProps extends CommonThemeProps {
|
|
1291
|
-
intent?: "default" | "
|
|
1155
|
+
intent?: "default" | "negative" | "notice";
|
|
1292
1156
|
disabled?: boolean;
|
|
1293
1157
|
}
|
|
1294
1158
|
interface RadioContentProps extends Omit<MUIRadioProps, "color" | "defaultChecked"> {
|
|
@@ -1313,9 +1177,8 @@ type InputSliderProps = InputSliderExtraProps;
|
|
|
1313
1177
|
declare const InputSlider: import("react").ForwardRefExoticComponent<Omit<InputSliderExtraProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
|
|
1314
1178
|
interface InputTextExtraProps extends CommonThemeProps {
|
|
1315
1179
|
disabled?: boolean;
|
|
1316
|
-
intent?: "default" | "
|
|
1180
|
+
intent?: "default" | "negative" | "notice";
|
|
1317
1181
|
sdsType?: "textField" | "textArea";
|
|
1318
|
-
sdsStage?: "default" | "userInput";
|
|
1319
1182
|
hideLabel?: boolean;
|
|
1320
1183
|
}
|
|
1321
1184
|
interface AccessibleInputTextProps {
|
|
@@ -1372,7 +1235,10 @@ interface ListItemExtraProps extends CommonThemeProps {
|
|
|
1372
1235
|
fontSize?: "xxxs" | "xxs" | "xs" | "s" | "m" | "l";
|
|
1373
1236
|
ordered?: boolean;
|
|
1374
1237
|
}
|
|
1375
|
-
declare const ListItemLabel: import("@emotion/styled").StyledComponent<
|
|
1238
|
+
declare const ListItemLabel: import("@emotion/styled").StyledComponent<{
|
|
1239
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
1240
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
1241
|
+
} & CommonThemeProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
1376
1242
|
type ListItemProps = RawListItemProps & ListItemExtraProps;
|
|
1377
1243
|
/**
|
|
1378
1244
|
* @see https://mui.com/material-ui/react-list/
|
|
@@ -1418,11 +1284,9 @@ type MenuSelectProps<T, Multiple extends boolean | undefined = undefined, Disabl
|
|
|
1418
1284
|
* Please use `Autocomplete` or `Dropdown` instead.
|
|
1419
1285
|
*/
|
|
1420
1286
|
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;
|
|
1421
|
-
interface NavigationJumpToExtraProps extends Omit<TabsProps, "
|
|
1422
|
-
sdsIndicatorColor?: "accent" | "negative" | "info" | "positive" | "notice" | "beta";
|
|
1287
|
+
interface NavigationJumpToExtraProps extends Omit<TabsProps, "onChange">, CommonThemeProps {
|
|
1423
1288
|
}
|
|
1424
1289
|
interface NavigationJumpToProps extends NavigationJumpToExtraProps {
|
|
1425
|
-
indicatorColor?: "accent" | "negative" | "info" | "positive" | "notice" | "beta";
|
|
1426
1290
|
items: Array<{
|
|
1427
1291
|
title: string;
|
|
1428
1292
|
elementRef: React.MutableRefObject<HTMLElement | null>;
|
|
@@ -1510,7 +1374,7 @@ declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref
|
|
|
1510
1374
|
type TabsProps$0 = RawTabsProps & {
|
|
1511
1375
|
underlined?: boolean;
|
|
1512
1376
|
sdsSize?: "small" | "large";
|
|
1513
|
-
};
|
|
1377
|
+
} & CommonThemeProps;
|
|
1514
1378
|
declare const Tabs: React.ForwardRefExoticComponent<Omit<TabsProps$0, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1515
1379
|
interface TabProps$0 extends RawTabProps {
|
|
1516
1380
|
count?: ReactNode;
|
|
@@ -1519,7 +1383,7 @@ interface TabProps$0 extends RawTabProps {
|
|
|
1519
1383
|
* @see https://mui.com/material-ui/react-tabs/
|
|
1520
1384
|
*/
|
|
1521
1385
|
declare const Tab: React.ForwardRefExoticComponent<Omit<TabProps$0, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1522
|
-
type SdsTagColorType = "
|
|
1386
|
+
type SdsTagColorType = "info" | "positive" | "notice" | "negative" | "neutral" | "beta" | [
|
|
1523
1387
|
string,
|
|
1524
1388
|
string
|
|
1525
1389
|
] | [
|
|
@@ -1597,5 +1461,5 @@ type TooltipTableContentProps = TooltipTableExtraProps;
|
|
|
1597
1461
|
* @see https://mui.com/material-ui/react-table/
|
|
1598
1462
|
*/
|
|
1599
1463
|
declare const TooltipTableContent: (props: TooltipTableContentProps) => JSX.Element;
|
|
1600
|
-
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, 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, 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,
|
|
1464
|
+
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, 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, 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, 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 };
|
|
1601
1465
|
export type { AutocompleteBaseProps, AutocompleteMultiColumnProps, AutocompleteOptionBasic, AutocompleteOptionComponent, DefaultAutocompleteOption, ChipProps, IconNameToSizes, InputToggleExtraProps as InputToggleProps, TabsProps$0 as TabsProps, SdsTagColorType, TooltipProps, TooltipTableContentProps };
|