@redsift/design-system 8.0.7 → 9.0.0-alpha.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/CONTRIBUTING.md +21 -23
- package/index.d.ts +844 -468
- package/index.js +3249 -1769
- package/index.js.map +1 -1
- package/package.json +3 -2
- package/style/index.css +764 -382
- package/style/redsift-design-tokens.css +214 -245
- package/style/redsift-fonts.css +545 -132
- package/style/redsift-reset.css +1 -0
- package/style/redsift-style.css +4 -5
- package/style/redsift.css +764 -382
- package/style/fonts/electrolize-v14-latin-regular.woff +0 -0
- package/style/fonts/electrolize-v14-latin-regular.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300italic.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-300italic.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500italic.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-500italic.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600italic.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-600italic.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700italic.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-700italic.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-italic.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-italic.woff2 +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-regular.woff +0 -0
- package/style/fonts/raleway-v28-vietnamese_latin-ext_latin_cyrillic-ext_cyrillic-regular.woff2 +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.woff2 +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff +0 -0
- package/style/fonts/source-code-pro-v22-vietnamese_latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 +0 -0
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { I18nProvider, useCollator, useDateFormatter, useFilter, useListFormatter, useLocale, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
|
|
2
2
|
export { SSRProvider, useIsSSR } from '@react-aria/ssr';
|
|
3
|
-
import React$1, { Ref, ReactElement, ReactNode, ComponentProps, DependencyList, MutableRefObject, RefObject,
|
|
3
|
+
import React$1, { Ref, ReactElement, ReactNode, ComponentProps, DependencyList, MutableRefObject, ElementType, RefObject, MouseEvent, Dispatch, SetStateAction, ChangeEvent } from 'react';
|
|
4
4
|
import * as styled_components from 'styled-components';
|
|
5
5
|
|
|
6
6
|
/** Component Type. */
|
|
@@ -29,17 +29,43 @@ type ValueOf<T extends Record<any, any>> = T[keyof T];
|
|
|
29
29
|
* Font.
|
|
30
30
|
*/
|
|
31
31
|
declare const FontFamily: {
|
|
32
|
-
readonly
|
|
32
|
+
readonly poppins: "poppins";
|
|
33
33
|
readonly 'source-code-pro': "source-code-pro";
|
|
34
|
-
readonly electrolize: "electrolize";
|
|
35
34
|
};
|
|
36
35
|
type FontFamily = ValueOf<typeof FontFamily>;
|
|
37
36
|
|
|
37
|
+
declare const Product: {
|
|
38
|
+
readonly asm: "asm";
|
|
39
|
+
readonly 'brand-trust': "brand-trust";
|
|
40
|
+
readonly certificates: "certificates";
|
|
41
|
+
readonly ondmarc: "ondmarc";
|
|
42
|
+
readonly radar: "radar";
|
|
43
|
+
readonly 'rojo-ds': "rojo-ds";
|
|
44
|
+
readonly 'vendor-secure': "vendor-secure";
|
|
45
|
+
readonly website: "website";
|
|
46
|
+
};
|
|
47
|
+
type Product = ValueOf<typeof Product>;
|
|
48
|
+
declare const ProductName: {
|
|
49
|
+
readonly asm: "ASM";
|
|
50
|
+
readonly 'brand-trust': "Brand Trust";
|
|
51
|
+
readonly certificates: "Certificates";
|
|
52
|
+
readonly ondmarc: "OnDMARC";
|
|
53
|
+
readonly radar: "RADAR";
|
|
54
|
+
readonly 'rojo-ds': "ROJO DS";
|
|
55
|
+
readonly 'vendor-secure': "Vendor Secure";
|
|
56
|
+
readonly website: "Website";
|
|
57
|
+
};
|
|
58
|
+
type ProductName = ValueOf<typeof ProductName>;
|
|
59
|
+
|
|
38
60
|
/**
|
|
39
61
|
* Color palette.
|
|
40
62
|
*/
|
|
41
|
-
declare const
|
|
42
|
-
readonly
|
|
63
|
+
declare const CtasColorPalette: {
|
|
64
|
+
readonly primary: "primary";
|
|
65
|
+
readonly secondary: "secondary";
|
|
66
|
+
};
|
|
67
|
+
type CtasColorPalette = ValueOf<typeof CtasColorPalette>;
|
|
68
|
+
declare const NotificationsColorPalette: {
|
|
43
69
|
readonly success: "success";
|
|
44
70
|
readonly error: "error";
|
|
45
71
|
readonly warning: "warning";
|
|
@@ -47,17 +73,19 @@ declare const ColorPalette: {
|
|
|
47
73
|
readonly question: "question";
|
|
48
74
|
readonly 'no-data': "no-data";
|
|
49
75
|
};
|
|
50
|
-
type
|
|
76
|
+
type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;
|
|
51
77
|
declare const ProductColorPalette: {
|
|
52
|
-
readonly
|
|
78
|
+
readonly asm: "asm";
|
|
79
|
+
readonly 'brand-trust': "brand-trust";
|
|
80
|
+
readonly certificates: "certificates";
|
|
53
81
|
readonly ondmarc: "ondmarc";
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
82
|
+
readonly radar: "radar";
|
|
83
|
+
readonly 'rojo-ds': "rojo-ds";
|
|
84
|
+
readonly 'vendor-secure': "vendor-secure";
|
|
85
|
+
readonly website: "website";
|
|
58
86
|
};
|
|
59
87
|
type ProductColorPalette = ValueOf<typeof ProductColorPalette>;
|
|
60
|
-
declare const
|
|
88
|
+
declare const PresentationColorPalette: {
|
|
61
89
|
readonly green: "green";
|
|
62
90
|
readonly pink: "pink";
|
|
63
91
|
readonly aqua: "aqua";
|
|
@@ -69,7 +97,7 @@ declare const DataVizColorPalette: {
|
|
|
69
97
|
readonly blue: "blue";
|
|
70
98
|
readonly grey: "grey";
|
|
71
99
|
};
|
|
72
|
-
type
|
|
100
|
+
type PresentationColorPalette = ValueOf<typeof PresentationColorPalette>;
|
|
73
101
|
declare const NeutralColorPalette: {
|
|
74
102
|
readonly black: "black";
|
|
75
103
|
readonly darkgrey: "darkgrey";
|
|
@@ -299,7 +327,7 @@ interface InternalSpacingProps {
|
|
|
299
327
|
/** The padding for the top side of the element. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top">MDN</a>. */
|
|
300
328
|
paddingTop?: string;
|
|
301
329
|
}
|
|
302
|
-
interface ContainerProps extends Omit<FlexLayoutProps, 'inline'>, Omit<GridLayoutProps, 'inline'>, InternalSpacingProps {
|
|
330
|
+
interface ContainerProps extends Omit<FlexLayoutProps, 'inline'>, Omit<GridLayoutProps, 'inline'>, SpacingProps, SizingProps, PositioningProps, InternalSpacingProps {
|
|
303
331
|
/** Sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex. See <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/display">MDN</a>. */
|
|
304
332
|
display?: 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'inherit';
|
|
305
333
|
}
|
|
@@ -331,190 +359,164 @@ declare function partitionComponents<T>(components: T[], predicates: Array<(t: T
|
|
|
331
359
|
|
|
332
360
|
/**
|
|
333
361
|
* Do not edit directly
|
|
334
|
-
* Generated on
|
|
335
|
-
*/
|
|
336
|
-
declare const
|
|
337
|
-
declare const
|
|
338
|
-
declare const
|
|
339
|
-
declare const
|
|
340
|
-
declare const
|
|
341
|
-
declare const
|
|
342
|
-
declare const
|
|
343
|
-
declare const
|
|
344
|
-
declare const
|
|
345
|
-
declare const RedsiftColorWebsiteHover = "#dce8f3";
|
|
346
|
-
declare const RedsiftColorWebsiteActive = "#c4dcf1";
|
|
347
|
-
declare const RedsiftColorWebsiteActiveHover = "#abcfef";
|
|
348
|
-
declare const RedsiftColorWebsitePrimaryActive = "#004a8a";
|
|
349
|
-
declare const RedsiftColorWebsitePrimaryActiveHover = "#00427c";
|
|
350
|
-
declare const RedsiftColorOndmarcPrimary = "#02ac61";
|
|
351
|
-
declare const RedsiftColorOndmarcSecondary = "#009252";
|
|
352
|
-
declare const RedsiftColorOndmarcHover = "#dcede6";
|
|
353
|
-
declare const RedsiftColorOndmarcActive = "#c4e6d7";
|
|
354
|
-
declare const RedsiftColorOndmarcActiveHover = "#acdfc8";
|
|
355
|
-
declare const RedsiftColorOndmarcPrimaryActive = "#00512e";
|
|
356
|
-
declare const RedsiftColorOndmarcPrimaryActiveHover = "#004829";
|
|
357
|
-
declare const RedsiftColorOninboxPrimary = "#33b222";
|
|
358
|
-
declare const RedsiftColorOninboxSecondary = "#268519";
|
|
359
|
-
declare const RedsiftColorOninboxHover = "#e1eedf";
|
|
360
|
-
declare const RedsiftColorOninboxActive = "#cee8cb";
|
|
361
|
-
declare const RedsiftColorOninboxActiveHover = "#bae0b5";
|
|
362
|
-
declare const RedsiftColorOninboxPrimaryActive = "#164e0e";
|
|
363
|
-
declare const RedsiftColorOninboxPrimaryActiveHover = "#13460c";
|
|
364
|
-
declare const RedsiftColorOndomainPrimary = "#028062";
|
|
365
|
-
declare const RedsiftColorOndomainSecondary = "#015944";
|
|
366
|
-
declare const RedsiftColorOndomainHover = "#dce9e6";
|
|
367
|
-
declare const RedsiftColorOndomainActive = "#c4ded8";
|
|
368
|
-
declare const RedsiftColorOndomainActiveHover = "#acd1c8";
|
|
369
|
-
declare const RedsiftColorOndomainPrimaryActive = "#003f30";
|
|
370
|
-
declare const RedsiftColorOndomainPrimaryActiveHover = "#00382b";
|
|
371
|
-
declare const RedsiftColorHardenizePrimary = "#0f7ab3";
|
|
372
|
-
declare const RedsiftColorHardenizeSecondary = "#3498db";
|
|
373
|
-
declare const RedsiftColorHardenizeHover = "#dee8ee";
|
|
374
|
-
declare const RedsiftColorHardenizeActive = "#c7dce8";
|
|
375
|
-
declare const RedsiftColorHardenizeActiveHover = "#b0d0e1";
|
|
376
|
-
declare const RedsiftColorHardenizePrimaryActive = "#0a5379";
|
|
377
|
-
declare const RedsiftColorHardenizePrimaryActiveHover = "#094a6c";
|
|
378
|
-
declare const RedsiftColorToolsPrimary = "#37bdfb";
|
|
379
|
-
declare const RedsiftColorToolsSecondary = "#02a2ef";
|
|
380
|
-
declare const RedsiftColorToolsHover = "#e2eff5";
|
|
381
|
-
declare const RedsiftColorToolsActive = "#cfeaf6";
|
|
382
|
-
declare const RedsiftColorToolsActiveHover = "#bce4f6";
|
|
383
|
-
declare const RedsiftColorToolsPrimaryActive = "#237ea8";
|
|
384
|
-
declare const RedsiftColorToolsPrimaryActiveHover = "#1f7197";
|
|
385
|
-
declare const RedsiftColorSuccessPrimary = "#02ac61";
|
|
386
|
-
declare const RedsiftColorSuccessSecondary = "#009252";
|
|
387
|
-
declare const RedsiftColorSuccessHover = "#dcede6";
|
|
388
|
-
declare const RedsiftColorSuccessActive = "#c4e6d7";
|
|
389
|
-
declare const RedsiftColorSuccessActiveHover = "#acdfc8";
|
|
390
|
-
declare const RedsiftColorSuccessPrimaryActive = "#00512e";
|
|
391
|
-
declare const RedsiftColorSuccessPrimaryActiveHover = "#004829";
|
|
392
|
-
declare const RedsiftColorErrorPrimary = "#e11010";
|
|
393
|
-
declare const RedsiftColorErrorSecondary = "#b41010";
|
|
394
|
-
declare const RedsiftColorErrorHover = "#f3dede";
|
|
395
|
-
declare const RedsiftColorErrorActive = "#f1c7c7";
|
|
396
|
-
declare const RedsiftColorErrorActiveHover = "#efb0b0";
|
|
397
|
-
declare const RedsiftColorErrorPrimaryActive = "#770a0a";
|
|
398
|
-
declare const RedsiftColorErrorPrimaryActiveHover = "#6b0909";
|
|
399
|
-
declare const RedsiftColorWarningPrimary = "#fcbb54";
|
|
400
|
-
declare const RedsiftColorWarningSecondary = "#c09300";
|
|
401
|
-
declare const RedsiftColorWarningHover = "#f5efe4";
|
|
402
|
-
declare const RedsiftColorWarningActive = "#f6e9d5";
|
|
403
|
-
declare const RedsiftColorWarningActiveHover = "#f7e3c4";
|
|
404
|
-
declare const RedsiftColorWarningPrimaryActive = "#ae833f";
|
|
405
|
-
declare const RedsiftColorWarningPrimaryActiveHover = "#9c7538";
|
|
406
|
-
declare const RedsiftColorInfoPrimary = "#0079e1";
|
|
407
|
-
declare const RedsiftColorInfoSecondary = "#0063b9";
|
|
408
|
-
declare const RedsiftColorInfoHover = "#dce8f3";
|
|
409
|
-
declare const RedsiftColorInfoActive = "#c4dcf1";
|
|
410
|
-
declare const RedsiftColorInfoActiveHover = "#abcfef";
|
|
411
|
-
declare const RedsiftColorInfoPrimaryActive = "#004a8a";
|
|
412
|
-
declare const RedsiftColorInfoPrimaryActiveHover = "#00427c";
|
|
413
|
-
declare const RedsiftColorQuestionPrimary = "#666666";
|
|
414
|
-
declare const RedsiftColorQuestionSecondary = "#1c1c1c";
|
|
415
|
-
declare const RedsiftColorQuestionHover = "#e6e6e6";
|
|
416
|
-
declare const RedsiftColorQuestionActive = "#d8d8d8";
|
|
417
|
-
declare const RedsiftColorQuestionActiveHover = "#cacaca";
|
|
418
|
-
declare const RedsiftColorQuestionPrimaryActive = "#111111";
|
|
419
|
-
declare const RedsiftColorQuestionPrimaryActiveHover = "#0f0f0f";
|
|
420
|
-
declare const RedsiftColorNoDataPrimary = "#bdbdbd";
|
|
421
|
-
declare const RedsiftColorNoDataSecondary = "#666666";
|
|
422
|
-
declare const RedsiftColorNoDataHover = "#efefef";
|
|
423
|
-
declare const RedsiftColorNoDataActive = "#eaeaea";
|
|
424
|
-
declare const RedsiftColorNoDataActiveHover = "#e4e4e4";
|
|
425
|
-
declare const RedsiftColorNoDataPrimaryActive = "#3d3d3d";
|
|
426
|
-
declare const RedsiftColorNoDataPrimaryActiveHover = "#363636";
|
|
362
|
+
* Generated on Thu, 21 Sep 2023 13:54:48 GMT
|
|
363
|
+
*/
|
|
364
|
+
declare const RedsiftColorRedsift = "#e11010";
|
|
365
|
+
declare const RedsiftColorProductAsm = "#8361ea";
|
|
366
|
+
declare const RedsiftColorProductBrandTrust = "#7ec2fa";
|
|
367
|
+
declare const RedsiftColorProductCertificates = "#e8712e";
|
|
368
|
+
declare const RedsiftColorProductOndmarc = "#96d36e";
|
|
369
|
+
declare const RedsiftColorProductRadar = "#51b7a4";
|
|
370
|
+
declare const RedsiftColorProductRojoDs = "#e11010";
|
|
371
|
+
declare const RedsiftColorProductVendorSecure = "#f7c948";
|
|
372
|
+
declare const RedsiftColorProductWebsite = "#e11010";
|
|
427
373
|
declare const RedsiftColorNeutralBlack = "#1c1c1c";
|
|
428
|
-
declare const RedsiftColorNeutralDarkgrey = "#
|
|
429
|
-
declare const RedsiftColorNeutralMidgrey = "#
|
|
430
|
-
declare const RedsiftColorNeutralLightgrey = "#
|
|
431
|
-
declare const RedsiftColorNeutralXlightgrey = "#
|
|
374
|
+
declare const RedsiftColorNeutralDarkgrey = "#333333";
|
|
375
|
+
declare const RedsiftColorNeutralMidgrey = "#666666";
|
|
376
|
+
declare const RedsiftColorNeutralLightgrey = "#b6b6b6";
|
|
377
|
+
declare const RedsiftColorNeutralXlightgrey = "#f2f2f2";
|
|
432
378
|
declare const RedsiftColorNeutralWhite = "#ffffff";
|
|
433
|
-
declare const RedsiftAppBarColorBackground = "#
|
|
434
|
-
declare const RedsiftAppBarColorText = "#
|
|
435
|
-
declare const RedsiftAppBarColorExpandIconResting = "#
|
|
436
|
-
declare const RedsiftAppBarColorExpandIconHover = "#
|
|
437
|
-
declare const RedsiftAppBarColorExpandIconBackgroundHover = "#
|
|
438
|
-
declare const
|
|
439
|
-
declare const
|
|
440
|
-
declare const
|
|
441
|
-
declare const
|
|
442
|
-
declare const
|
|
443
|
-
declare const
|
|
444
|
-
declare const
|
|
445
|
-
declare const
|
|
446
|
-
declare const
|
|
447
|
-
declare const
|
|
448
|
-
declare const
|
|
449
|
-
declare const
|
|
450
|
-
declare const
|
|
451
|
-
declare const
|
|
452
|
-
declare const
|
|
453
|
-
declare const
|
|
454
|
-
declare const
|
|
455
|
-
declare const
|
|
456
|
-
declare const
|
|
457
|
-
declare const
|
|
458
|
-
declare const
|
|
459
|
-
declare const
|
|
460
|
-
declare const
|
|
461
|
-
declare const
|
|
462
|
-
declare const
|
|
463
|
-
declare const
|
|
464
|
-
declare const
|
|
465
|
-
declare const
|
|
466
|
-
declare const
|
|
467
|
-
declare const
|
|
468
|
-
declare const
|
|
469
|
-
declare const
|
|
470
|
-
declare const
|
|
471
|
-
declare const
|
|
472
|
-
declare const
|
|
473
|
-
declare const
|
|
474
|
-
declare const
|
|
475
|
-
declare const
|
|
476
|
-
declare const
|
|
477
|
-
declare const
|
|
478
|
-
declare const
|
|
479
|
-
declare const
|
|
480
|
-
declare const
|
|
481
|
-
declare const
|
|
482
|
-
declare const
|
|
483
|
-
declare const
|
|
484
|
-
declare const
|
|
485
|
-
declare const
|
|
486
|
-
declare const
|
|
487
|
-
declare const
|
|
488
|
-
declare const
|
|
489
|
-
declare const
|
|
490
|
-
declare const
|
|
491
|
-
declare const
|
|
492
|
-
declare const
|
|
493
|
-
declare const
|
|
494
|
-
declare const
|
|
495
|
-
declare const
|
|
496
|
-
declare const
|
|
497
|
-
declare const
|
|
498
|
-
declare const
|
|
499
|
-
declare const
|
|
500
|
-
declare const
|
|
501
|
-
declare const
|
|
502
|
-
declare const
|
|
503
|
-
declare const
|
|
504
|
-
declare const
|
|
505
|
-
declare const
|
|
506
|
-
declare const
|
|
507
|
-
declare const
|
|
508
|
-
declare const
|
|
509
|
-
declare const
|
|
510
|
-
declare const
|
|
511
|
-
declare const
|
|
512
|
-
declare const
|
|
513
|
-
declare const
|
|
514
|
-
declare const
|
|
515
|
-
declare const
|
|
516
|
-
declare const
|
|
517
|
-
declare const
|
|
379
|
+
declare const RedsiftAppBarColorBackground = "#ffffff";
|
|
380
|
+
declare const RedsiftAppBarColorText = "#1c1c1c";
|
|
381
|
+
declare const RedsiftAppBarColorExpandIconResting = "#333333";
|
|
382
|
+
declare const RedsiftAppBarColorExpandIconHover = "#1c1c1c";
|
|
383
|
+
declare const RedsiftAppBarColorExpandIconBackgroundHover = "#ffffff";
|
|
384
|
+
declare const RedsiftColorCtasPrimaryPrimary = "#4285F4";
|
|
385
|
+
declare const RedsiftColorCtasPrimaryHover = "#D9E7FD";
|
|
386
|
+
declare const RedsiftColorCtasPrimaryActive = "#B3CEFB";
|
|
387
|
+
declare const RedsiftColorCtasPrimaryActiveHover = "#8EB6F8";
|
|
388
|
+
declare const RedsiftColorCtasPrimaryButtonHover = "#356AC3";
|
|
389
|
+
declare const RedsiftColorCtasPrimaryButtonActive = "#285092";
|
|
390
|
+
declare const RedsiftColorCtasPrimaryButtonActiveHover = "#1A3562";
|
|
391
|
+
declare const RedsiftColorCtasSecondaryPrimary = "#51B7A4";
|
|
392
|
+
declare const RedsiftColorCtasSecondaryHover = "#DCF1ED";
|
|
393
|
+
declare const RedsiftColorCtasSecondaryActive = "#B9E2DB";
|
|
394
|
+
declare const RedsiftColorCtasSecondaryActiveHover = "#97D4C8";
|
|
395
|
+
declare const RedsiftColorCtasSecondaryButtonHover = "#419283";
|
|
396
|
+
declare const RedsiftColorCtasSecondaryButtonActive = "#316E62";
|
|
397
|
+
declare const RedsiftColorCtasSecondaryButtonActiveHover = "#204942";
|
|
398
|
+
declare const RedsiftColorNotificationsSuccessPrimary = "#02AC61";
|
|
399
|
+
declare const RedsiftColorNotificationsSuccessHover = "#CCEEDF";
|
|
400
|
+
declare const RedsiftColorNotificationsSuccessActive = "#9ADEC0";
|
|
401
|
+
declare const RedsiftColorNotificationsSuccessActiveHover = "#67CDA0";
|
|
402
|
+
declare const RedsiftColorNotificationsSuccessButtonHover = "#028A4E";
|
|
403
|
+
declare const RedsiftColorNotificationsSuccessButtonActive = "#01673A";
|
|
404
|
+
declare const RedsiftColorNotificationsSuccessButtonActiveHover = "#014527";
|
|
405
|
+
declare const RedsiftColorNotificationsErrorPrimary = "#E11010";
|
|
406
|
+
declare const RedsiftColorNotificationsErrorHover = "#F9CFCF";
|
|
407
|
+
declare const RedsiftColorNotificationsErrorActive = "#F39F9F";
|
|
408
|
+
declare const RedsiftColorNotificationsErrorActiveHover = "#ED7070";
|
|
409
|
+
declare const RedsiftColorNotificationsErrorButtonHover = "#B40D0D";
|
|
410
|
+
declare const RedsiftColorNotificationsErrorButtonActive = "#870A0A";
|
|
411
|
+
declare const RedsiftColorNotificationsErrorButtonActiveHover = "#5A0606";
|
|
412
|
+
declare const RedsiftColorNotificationsWarningPrimary = "#FCBB54";
|
|
413
|
+
declare const RedsiftColorNotificationsWarningHover = "#FEF1DD";
|
|
414
|
+
declare const RedsiftColorNotificationsWarningActive = "#FEE4BB";
|
|
415
|
+
declare const RedsiftColorNotificationsWarningActiveHover = "#FDD698";
|
|
416
|
+
declare const RedsiftColorNotificationsWarningButtonHover = "#CA9643";
|
|
417
|
+
declare const RedsiftColorNotificationsWarningButtonActive = "#977032";
|
|
418
|
+
declare const RedsiftColorNotificationsWarningButtonActiveHover = "#654B22";
|
|
419
|
+
declare const RedsiftColorNotificationsInfoPrimary = "#4285F4";
|
|
420
|
+
declare const RedsiftColorNotificationsInfoHover = "#D9E7FD";
|
|
421
|
+
declare const RedsiftColorNotificationsInfoActive = "#B3CEFB";
|
|
422
|
+
declare const RedsiftColorNotificationsInfoActiveHover = "#8EB6F8";
|
|
423
|
+
declare const RedsiftColorNotificationsInfoButtonHover = "#356AC3";
|
|
424
|
+
declare const RedsiftColorNotificationsInfoButtonActive = "#285092";
|
|
425
|
+
declare const RedsiftColorNotificationsInfoButtonActiveHover = "#1A3562";
|
|
426
|
+
declare const RedsiftColorNotificationsQuestionPrimary = "#666666";
|
|
427
|
+
declare const RedsiftColorNotificationsQuestionHover = "#B2B2B2";
|
|
428
|
+
declare const RedsiftColorNotificationsQuestionActive = "#A3A3A3";
|
|
429
|
+
declare const RedsiftColorNotificationsQuestionActiveHover = "#949494";
|
|
430
|
+
declare const RedsiftColorNotificationsQuestionButtonHover = "#525252";
|
|
431
|
+
declare const RedsiftColorNotificationsQuestionButtonActive = "#474747";
|
|
432
|
+
declare const RedsiftColorNotificationsQuestionButtonActiveHover = "#3D3D3D";
|
|
433
|
+
declare const RedsiftColorNotificationsNoDataPrimary = "#BDBDBD";
|
|
434
|
+
declare const RedsiftColorNotificationsNoDataHover = "#DEDEDE";
|
|
435
|
+
declare const RedsiftColorNotificationsNoDataActive = "#D7D7D7";
|
|
436
|
+
declare const RedsiftColorNotificationsNoDataActiveHover = "#D1D1D1";
|
|
437
|
+
declare const RedsiftColorNotificationsNoDataButtonHover = "#979797";
|
|
438
|
+
declare const RedsiftColorNotificationsNoDataButtonActive = "#848484";
|
|
439
|
+
declare const RedsiftColorNotificationsNoDataButtonActiveHover = "#717171";
|
|
440
|
+
declare const RedsiftColorPresentationGreenDarkerer = "#078833";
|
|
441
|
+
declare const RedsiftColorPresentationGreenDarker = "#07AA45";
|
|
442
|
+
declare const RedsiftColorPresentationGreenDark = "#00CE59";
|
|
443
|
+
declare const RedsiftColorPresentationGreenDefault = "#56D58E";
|
|
444
|
+
declare const RedsiftColorPresentationGreenLight = "#A2E7BA";
|
|
445
|
+
declare const RedsiftColorPresentationGreenLighter = "#C2EFD1";
|
|
446
|
+
declare const RedsiftColorPresentationGreenLighterer = "#E1F7E8";
|
|
447
|
+
declare const RedsiftColorPresentationPinkDarkerer = "#B10078";
|
|
448
|
+
declare const RedsiftColorPresentationPinkDarker = "#C5008C";
|
|
449
|
+
declare const RedsiftColorPresentationPinkDark = "#D800A2";
|
|
450
|
+
declare const RedsiftColorPresentationPinkDefault = "#D95CBA";
|
|
451
|
+
declare const RedsiftColorPresentationPinkLight = "#ECA0D6";
|
|
452
|
+
declare const RedsiftColorPresentationPinkLighter = "#F4C0E3";
|
|
453
|
+
declare const RedsiftColorPresentationPinkLighterer = "#FAE0F1";
|
|
454
|
+
declare const RedsiftColorPresentationAquaDarkerer = "#0B9287";
|
|
455
|
+
declare const RedsiftColorPresentationAquaDarker = "#0AB5AB";
|
|
456
|
+
declare const RedsiftColorPresentationAquaDark = "#00D9D2";
|
|
457
|
+
declare const RedsiftColorPresentationAquaDefault = "#63EAE4";
|
|
458
|
+
declare const RedsiftColorPresentationAquaLight = "#9AF8F4";
|
|
459
|
+
declare const RedsiftColorPresentationAquaLighter = "#CAF7F4";
|
|
460
|
+
declare const RedsiftColorPresentationAquaLighterer = "#E5FBFA";
|
|
461
|
+
declare const RedsiftColorPresentationBrownDarkerer = "#701205";
|
|
462
|
+
declare const RedsiftColorPresentationBrownDarker = "#903107";
|
|
463
|
+
declare const RedsiftColorPresentationBrownDark = "#AF5100";
|
|
464
|
+
declare const RedsiftColorPresentationBrownDefault = "#C78348";
|
|
465
|
+
declare const RedsiftColorPresentationBrownLight = "#EDC19C";
|
|
466
|
+
declare const RedsiftColorPresentationBrownLighter = "#F6D9C3";
|
|
467
|
+
declare const RedsiftColorPresentationBrownLighterer = "#FAE6D7";
|
|
468
|
+
declare const RedsiftColorPresentationRedDarkerer = "#B10004";
|
|
469
|
+
declare const RedsiftColorPresentationRedDarker = "#C70003";
|
|
470
|
+
declare const RedsiftColorPresentationRedDark = "#DE0000";
|
|
471
|
+
declare const RedsiftColorPresentationRedDefault = "#E06363";
|
|
472
|
+
declare const RedsiftColorPresentationRedLight = "#F3A39E";
|
|
473
|
+
declare const RedsiftColorPresentationRedLighter = "#F8BBBA";
|
|
474
|
+
declare const RedsiftColorPresentationRedLighterer = "#FDDDDC";
|
|
475
|
+
declare const RedsiftColorPresentationYellowDarkerer = "#8A7F18";
|
|
476
|
+
declare const RedsiftColorPresentationYellowDarker = "#BCAD14";
|
|
477
|
+
declare const RedsiftColorPresentationYellowDark = "#F0DE00";
|
|
478
|
+
declare const RedsiftColorPresentationYellowDefault = "#FFF741";
|
|
479
|
+
declare const RedsiftColorPresentationYellowLight = "#F7EFC3";
|
|
480
|
+
declare const RedsiftColorPresentationYellowLighter = "#FBF5DB";
|
|
481
|
+
declare const RedsiftColorPresentationYellowLighterer = "#FCF9E7";
|
|
482
|
+
declare const RedsiftColorPresentationPurpleDarkerer = "#4702C1";
|
|
483
|
+
declare const RedsiftColorPresentationPurpleDarker = "#7902EB";
|
|
484
|
+
declare const RedsiftColorPresentationPurpleDark = "#9200FF";
|
|
485
|
+
declare const RedsiftColorPresentationPurpleDefault = "#965EDE";
|
|
486
|
+
declare const RedsiftColorPresentationPurpleLight = "#C6A8EF";
|
|
487
|
+
declare const RedsiftColorPresentationPurpleLighter = "#DECAF6";
|
|
488
|
+
declare const RedsiftColorPresentationPurpleLighterer = "#E9DCF9";
|
|
489
|
+
declare const RedsiftColorPresentationOrangeDarkerer = "#B45310";
|
|
490
|
+
declare const RedsiftColorPresentationOrangeDarker = "#D2710B";
|
|
491
|
+
declare const RedsiftColorPresentationOrangeDark = "#ED9200";
|
|
492
|
+
declare const RedsiftColorPresentationOrangeDefault = "#FCBB54";
|
|
493
|
+
declare const RedsiftColorPresentationOrangeLight = "#F8D296";
|
|
494
|
+
declare const RedsiftColorPresentationOrangeLighter = "#FDE4C0";
|
|
495
|
+
declare const RedsiftColorPresentationOrangeLighterer = "#FEEDD5";
|
|
496
|
+
declare const RedsiftColorPresentationBlueDarkerer = "#0082F8";
|
|
497
|
+
declare const RedsiftColorPresentationBlueDarker = "#0099FD";
|
|
498
|
+
declare const RedsiftColorPresentationBlueDark = "#00AEFF";
|
|
499
|
+
declare const RedsiftColorPresentationBlueDefault = "#73C5EB";
|
|
500
|
+
declare const RedsiftColorPresentationBlueLight = "#B1DCF3";
|
|
501
|
+
declare const RedsiftColorPresentationBlueLighter = "#CCE8F7";
|
|
502
|
+
declare const RedsiftColorPresentationBlueLighterer = "#E6F3FB";
|
|
503
|
+
declare const RedsiftColorPresentationGreyDarkerer = "#6E6E6E";
|
|
504
|
+
declare const RedsiftColorPresentationGreyDarker = "#959595";
|
|
505
|
+
declare const RedsiftColorPresentationGreyDark = "#BFBFBF";
|
|
506
|
+
declare const RedsiftColorPresentationGreyDefault = "#D6D6D6";
|
|
507
|
+
declare const RedsiftColorPresentationGreyLight = "#E6E6E6";
|
|
508
|
+
declare const RedsiftColorPresentationGreyLighter = "#EEEEEE";
|
|
509
|
+
declare const RedsiftColorPresentationGreyLighterer = "#F7F7F7";
|
|
510
|
+
declare const RedsiftSideNavigationColorBackground = "#f2f2f2";
|
|
511
|
+
declare const RedsiftSideNavigationColorMenuItemTextResting = "#333333";
|
|
512
|
+
declare const RedsiftSideNavigationColorMenuItemTextDisabled = "#666666";
|
|
513
|
+
declare const RedsiftSideNavigationColorMenuItemTextHover = "#1c1c1c";
|
|
514
|
+
declare const RedsiftSideNavigationColorMenuItemBackgroundHover = "#E6E6E6";
|
|
515
|
+
declare const RedsiftSideNavigationColorMenuItemBackgroundSecondary = "transparent";
|
|
516
|
+
declare const RedsiftSideNavigationColorMenuItemBackgroundActive = "#b6b6b6";
|
|
517
|
+
declare const RedsiftSideNavigationColorMenuItemActive = "#1c1c1c";
|
|
518
|
+
declare const RedsiftSideNavigationColorScrollbarResting = "#b6b6b6";
|
|
519
|
+
declare const RedsiftSideNavigationColorScrollbarHover = "#666666";
|
|
518
520
|
declare const RedsiftLayoutZIndexFooter = "1000";
|
|
519
521
|
declare const RedsiftLayoutZIndexHeader = "1010";
|
|
520
522
|
declare const RedsiftLayoutZIndexSidePanel = "1050";
|
|
@@ -523,98 +525,94 @@ declare const RedsiftLayoutZIndexOverlay = "1150";
|
|
|
523
525
|
declare const RedsiftLayoutZIndexDialog = "1200";
|
|
524
526
|
declare const RedsiftLayoutZIndexPopover = "1250";
|
|
525
527
|
declare const RedsiftLayoutZIndexTooltip = "1300";
|
|
526
|
-
declare const
|
|
527
|
-
declare const RedsiftTypographyFontFamilyElectrolize = "'electrolize', sans-serif";
|
|
528
|
+
declare const RedsiftTypographyFontFamilyPoppins = "'Poppins', sans-serif";
|
|
528
529
|
declare const RedsiftTypographyFontFamilySourceCodePro = "'Source Code Pro', sans-serif";
|
|
530
|
+
declare const RedsiftTypographyFontWeightThin = "100";
|
|
531
|
+
declare const RedsiftTypographyFontWeightExtraLight = "200";
|
|
532
|
+
declare const RedsiftTypographyFontWeightLight = "300";
|
|
529
533
|
declare const RedsiftTypographyFontWeightRegular = "400";
|
|
530
534
|
declare const RedsiftTypographyFontWeightMedium = "500";
|
|
531
535
|
declare const RedsiftTypographyFontWeightSemiBold = "600";
|
|
532
536
|
declare const RedsiftTypographyFontWeightBold = "700";
|
|
533
|
-
declare const
|
|
537
|
+
declare const RedsiftTypographyFontWeightExtraBold = "800";
|
|
538
|
+
declare const RedsiftTypographyFontWeightBlack = "900";
|
|
539
|
+
declare const RedsiftTypographyH1FontFamily = "'Poppins', sans-serif";
|
|
534
540
|
declare const RedsiftTypographyH1FontSize = "24px";
|
|
535
|
-
declare const RedsiftTypographyH1FontWeight = "
|
|
536
|
-
declare const RedsiftTypographyH1LineHeight = "
|
|
537
|
-
declare const RedsiftTypographyH1TextTransform = "
|
|
538
|
-
declare const RedsiftTypographyH2FontFamily = "'
|
|
539
|
-
declare const RedsiftTypographyH2FontSize = "
|
|
541
|
+
declare const RedsiftTypographyH1FontWeight = "600";
|
|
542
|
+
declare const RedsiftTypographyH1LineHeight = "36px";
|
|
543
|
+
declare const RedsiftTypographyH1TextTransform = "unset";
|
|
544
|
+
declare const RedsiftTypographyH2FontFamily = "'Poppins', sans-serif";
|
|
545
|
+
declare const RedsiftTypographyH2FontSize = "22px";
|
|
540
546
|
declare const RedsiftTypographyH2FontWeight = "600";
|
|
541
|
-
declare const RedsiftTypographyH2LineHeight = "
|
|
547
|
+
declare const RedsiftTypographyH2LineHeight = "30px";
|
|
542
548
|
declare const RedsiftTypographyH2TextTransform = "unset";
|
|
543
|
-
declare const RedsiftTypographyH3FontFamily = "'
|
|
549
|
+
declare const RedsiftTypographyH3FontFamily = "'Poppins', sans-serif";
|
|
544
550
|
declare const RedsiftTypographyH3FontSize = "20px";
|
|
545
|
-
declare const RedsiftTypographyH3FontWeight = "
|
|
546
|
-
declare const RedsiftTypographyH3LineHeight = "
|
|
551
|
+
declare const RedsiftTypographyH3FontWeight = "600";
|
|
552
|
+
declare const RedsiftTypographyH3LineHeight = "30px";
|
|
547
553
|
declare const RedsiftTypographyH3TextTransform = "unset";
|
|
548
|
-
declare const RedsiftTypographyH4FontFamily = "'
|
|
549
|
-
declare const RedsiftTypographyH4FontSize = "
|
|
550
|
-
declare const RedsiftTypographyH4FontWeight = "
|
|
551
|
-
declare const RedsiftTypographyH4LineHeight = "
|
|
554
|
+
declare const RedsiftTypographyH4FontFamily = "'Poppins', sans-serif";
|
|
555
|
+
declare const RedsiftTypographyH4FontSize = "16px";
|
|
556
|
+
declare const RedsiftTypographyH4FontWeight = "600";
|
|
557
|
+
declare const RedsiftTypographyH4LineHeight = "24px";
|
|
552
558
|
declare const RedsiftTypographyH4TextTransform = "unset";
|
|
553
|
-
declare const RedsiftTypographyH5FontFamily = "'
|
|
554
|
-
declare const RedsiftTypographyH5FontSize = "
|
|
559
|
+
declare const RedsiftTypographyH5FontFamily = "'Poppins', sans-serif";
|
|
560
|
+
declare const RedsiftTypographyH5FontSize = "12px";
|
|
555
561
|
declare const RedsiftTypographyH5FontWeight = "600";
|
|
556
|
-
declare const RedsiftTypographyH5LineHeight = "
|
|
562
|
+
declare const RedsiftTypographyH5LineHeight = "18px";
|
|
557
563
|
declare const RedsiftTypographyH5TextTransform = "unset";
|
|
558
|
-
declare const
|
|
559
|
-
declare const RedsiftTypographySubtitleFontSize = "15px";
|
|
560
|
-
declare const RedsiftTypographySubtitleFontWeight = "700";
|
|
561
|
-
declare const RedsiftTypographySubtitleLineHeight = "26px";
|
|
562
|
-
declare const RedsiftTypographySubtitleTextTransform = "unset";
|
|
563
|
-
declare const RedsiftTypographyBodyFontFamily = "'Raleway', sans-serif";
|
|
564
|
+
declare const RedsiftTypographyBodyFontFamily = "'Poppins', sans-serif";
|
|
564
565
|
declare const RedsiftTypographyBodyFontSize = "15px";
|
|
565
566
|
declare const RedsiftTypographyBodyFontWeight = "400";
|
|
566
|
-
declare const RedsiftTypographyBodyLineHeight = "
|
|
567
|
+
declare const RedsiftTypographyBodyLineHeight = "24px";
|
|
567
568
|
declare const RedsiftTypographyBodyTextTransform = "unset";
|
|
568
|
-
declare const
|
|
569
|
-
declare const RedsiftTypographyBody2FontSize = "14px";
|
|
570
|
-
declare const RedsiftTypographyBody2FontWeight = "400";
|
|
571
|
-
declare const RedsiftTypographyBody2LineHeight = "20px";
|
|
572
|
-
declare const RedsiftTypographyLinkFontFamily = "'Raleway', sans-serif";
|
|
569
|
+
declare const RedsiftTypographyLinkFontFamily = "'Poppins', sans-serif";
|
|
573
570
|
declare const RedsiftTypographyLinkFontSize = "15px";
|
|
574
571
|
declare const RedsiftTypographyLinkFontWeight = "400";
|
|
575
572
|
declare const RedsiftTypographyLinkLineHeight = "26px";
|
|
576
|
-
declare const RedsiftTypographyInputTextFontFamily = "'
|
|
573
|
+
declare const RedsiftTypographyInputTextFontFamily = "'Poppins', sans-serif";
|
|
577
574
|
declare const RedsiftTypographyInputTextFontSize = "15px";
|
|
578
575
|
declare const RedsiftTypographyInputTextFontWeight = "400";
|
|
579
|
-
declare const RedsiftTypographyInputTextLineHeight = "
|
|
580
|
-
declare const RedsiftTypographyButtonFontFamily = "'
|
|
581
|
-
declare const RedsiftTypographyButtonFontSize = "
|
|
576
|
+
declare const RedsiftTypographyInputTextLineHeight = "24px";
|
|
577
|
+
declare const RedsiftTypographyButtonFontFamily = "'Poppins', sans-serif";
|
|
578
|
+
declare const RedsiftTypographyButtonFontSize = "16px";
|
|
582
579
|
declare const RedsiftTypographyButtonFontWeight = "500";
|
|
583
|
-
declare const RedsiftTypographyButtonLineHeight = "
|
|
580
|
+
declare const RedsiftTypographyButtonLineHeight = "24px";
|
|
584
581
|
declare const RedsiftTypographyButtonTextTransform = "uppercase";
|
|
585
|
-
declare const RedsiftTypographyCaptionFontFamily = "'
|
|
586
|
-
declare const RedsiftTypographyCaptionFontSize = "
|
|
582
|
+
declare const RedsiftTypographyCaptionFontFamily = "'Poppins', sans-serif";
|
|
583
|
+
declare const RedsiftTypographyCaptionFontSize = "12px";
|
|
587
584
|
declare const RedsiftTypographyCaptionFontWeight = "400";
|
|
588
|
-
declare const RedsiftTypographyCaptionLineHeight = "
|
|
585
|
+
declare const RedsiftTypographyCaptionLineHeight = "18px";
|
|
589
586
|
declare const RedsiftTypographyCaptionTextTransform = "unset";
|
|
590
|
-
declare const RedsiftTypographyHelperFontFamily = "'
|
|
591
|
-
declare const RedsiftTypographyHelperFontSize = "
|
|
587
|
+
declare const RedsiftTypographyHelperFontFamily = "'Poppins', sans-serif";
|
|
588
|
+
declare const RedsiftTypographyHelperFontSize = "16px";
|
|
592
589
|
declare const RedsiftTypographyHelperFontWeight = "400";
|
|
593
|
-
declare const RedsiftTypographyHelperLineHeight = "
|
|
594
|
-
declare const
|
|
590
|
+
declare const RedsiftTypographyHelperLineHeight = "24px";
|
|
591
|
+
declare const RedsiftTypographyHelperTextTransform = "unset";
|
|
592
|
+
declare const RedsiftTypographyBadgeFontFamily = "'Poppins', sans-serif";
|
|
595
593
|
declare const RedsiftTypographyBadgeFontSize = "12px";
|
|
596
|
-
declare const RedsiftTypographyBadgeFontWeight = "
|
|
597
|
-
declare const RedsiftTypographyBadgeLineHeight = "
|
|
598
|
-
declare const RedsiftTypographyPillFontFamily = "'
|
|
599
|
-
declare const RedsiftTypographyPillFontSize = "
|
|
600
|
-
declare const RedsiftTypographyPillFontWeight = "
|
|
601
|
-
declare const RedsiftTypographyPillLineHeight = "
|
|
602
|
-
declare const RedsiftTypographyChipFontFamily = "'
|
|
603
|
-
declare const RedsiftTypographyChipFontSize = "
|
|
594
|
+
declare const RedsiftTypographyBadgeFontWeight = "400";
|
|
595
|
+
declare const RedsiftTypographyBadgeLineHeight = "12px";
|
|
596
|
+
declare const RedsiftTypographyPillFontFamily = "'Poppins', sans-serif";
|
|
597
|
+
declare const RedsiftTypographyPillFontSize = "10px";
|
|
598
|
+
declare const RedsiftTypographyPillFontWeight = "400";
|
|
599
|
+
declare const RedsiftTypographyPillLineHeight = "normal";
|
|
600
|
+
declare const RedsiftTypographyChipFontFamily = "'Poppins', sans-serif";
|
|
601
|
+
declare const RedsiftTypographyChipFontSize = "12px";
|
|
604
602
|
declare const RedsiftTypographyChipFontWeight = "400";
|
|
605
603
|
declare const RedsiftTypographyChipLineHeight = "18px";
|
|
606
|
-
declare const RedsiftTypographyTooltipFontFamily = "'
|
|
607
|
-
declare const RedsiftTypographyTooltipFontSize = "
|
|
608
|
-
declare const RedsiftTypographyTooltipFontWeight = "
|
|
609
|
-
declare const RedsiftTypographyTooltipLineHeight = "
|
|
610
|
-
declare const RedsiftTypographyDatagridHeaderFontFamily = "'
|
|
611
|
-
declare const RedsiftTypographyDatagridHeaderFontSize = "
|
|
612
|
-
declare const RedsiftTypographyDatagridHeaderFontWeight = "
|
|
613
|
-
declare const RedsiftTypographyDatagridHeaderLineHeight = "
|
|
614
|
-
declare const RedsiftTypographyDatagridCellFontFamily = "'
|
|
615
|
-
declare const RedsiftTypographyDatagridCellFontSize = "
|
|
604
|
+
declare const RedsiftTypographyTooltipFontFamily = "'Poppins', sans-serif";
|
|
605
|
+
declare const RedsiftTypographyTooltipFontSize = "12px";
|
|
606
|
+
declare const RedsiftTypographyTooltipFontWeight = "400";
|
|
607
|
+
declare const RedsiftTypographyTooltipLineHeight = "18px";
|
|
608
|
+
declare const RedsiftTypographyDatagridHeaderFontFamily = "'Poppins', sans-serif";
|
|
609
|
+
declare const RedsiftTypographyDatagridHeaderFontSize = "14px";
|
|
610
|
+
declare const RedsiftTypographyDatagridHeaderFontWeight = "600";
|
|
611
|
+
declare const RedsiftTypographyDatagridHeaderLineHeight = "21px";
|
|
612
|
+
declare const RedsiftTypographyDatagridCellFontFamily = "'Poppins', sans-serif";
|
|
613
|
+
declare const RedsiftTypographyDatagridCellFontSize = "16px";
|
|
616
614
|
declare const RedsiftTypographyDatagridCellFontWeight = "400";
|
|
617
|
-
declare const RedsiftTypographyDatagridCellLineHeight = "
|
|
615
|
+
declare const RedsiftTypographyDatagridCellLineHeight = "24px";
|
|
618
616
|
|
|
619
617
|
/**
|
|
620
618
|
* Display a warning if no label was found for screen readers and assistive technologies.
|
|
@@ -673,6 +671,60 @@ type StyledAlertProps = Omit<AlertProps, 'variant'> & {
|
|
|
673
671
|
*/
|
|
674
672
|
declare const Alert: Comp<AlertProps, HTMLDivElement>;
|
|
675
673
|
|
|
674
|
+
/**
|
|
675
|
+
* Component size.
|
|
676
|
+
*/
|
|
677
|
+
declare const IconSize: {
|
|
678
|
+
readonly xsmall: "xsmall";
|
|
679
|
+
readonly small: "small";
|
|
680
|
+
readonly medium: "medium";
|
|
681
|
+
readonly large: "large";
|
|
682
|
+
readonly xlarge: "xlarge";
|
|
683
|
+
readonly xxlarge: "xxlarge";
|
|
684
|
+
};
|
|
685
|
+
type IconSize = ValueOf<typeof IconSize>;
|
|
686
|
+
type IconDimensions = {
|
|
687
|
+
width: number;
|
|
688
|
+
height: number;
|
|
689
|
+
fontSize?: number;
|
|
690
|
+
lineHeight?: number;
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* Component props.
|
|
694
|
+
*/
|
|
695
|
+
interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
|
|
696
|
+
/** Indicates whether the element is exposed to an accessibility API. */
|
|
697
|
+
'aria-hidden'?: boolean | 'false' | 'true';
|
|
698
|
+
/** A screen reader only label for the Icon. */
|
|
699
|
+
'aria-label'?: string;
|
|
700
|
+
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
701
|
+
color?: NotificationsColorPalette | ProductColorPalette | (string & {});
|
|
702
|
+
/** Whether the icon has a badge attached to it. */
|
|
703
|
+
badge?: ReactElement;
|
|
704
|
+
/**
|
|
705
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
706
|
+
* Can also be a ReactElement.
|
|
707
|
+
*/
|
|
708
|
+
icon: string | string[] | ReactElement;
|
|
709
|
+
/** Icon size. */
|
|
710
|
+
size?: IconSize | IconDimensions;
|
|
711
|
+
/** Additional properties to forward to the SVG tag. */
|
|
712
|
+
svgProps?: ComponentProps<'svg'>;
|
|
713
|
+
}
|
|
714
|
+
type StyledIconProps = Omit<IconProps, 'color' | 'size' | 'icon' | 'svgProps'> & {
|
|
715
|
+
$color: IconProps['color'];
|
|
716
|
+
$width: IconDimensions['width'];
|
|
717
|
+
$height: IconDimensions['height'];
|
|
718
|
+
$fontSize: IconDimensions['fontSize'];
|
|
719
|
+
$lineHeight: IconDimensions['lineHeight'];
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
declare const sizeToDimension: (size: IconSize | IconDimensions) => IconDimensions;
|
|
723
|
+
/**
|
|
724
|
+
* The Icon component.
|
|
725
|
+
*/
|
|
726
|
+
declare const Icon: Comp<IconProps, HTMLSpanElement>;
|
|
727
|
+
|
|
676
728
|
/**
|
|
677
729
|
* Component variant.
|
|
678
730
|
*/
|
|
@@ -685,7 +737,7 @@ type IconButtonVariant = ValueOf<typeof IconButtonVariant>;
|
|
|
685
737
|
/**
|
|
686
738
|
* Component color.
|
|
687
739
|
*/
|
|
688
|
-
type IconButtonColor =
|
|
740
|
+
type IconButtonColor = CtasColorPalette | NotificationsColorPalette;
|
|
689
741
|
/**
|
|
690
742
|
* Component props.
|
|
691
743
|
*/
|
|
@@ -693,12 +745,12 @@ interface IconButtonProps extends ComponentProps<'button'>, StylingProps {
|
|
|
693
745
|
/** Color variant. */
|
|
694
746
|
color?: IconButtonColor;
|
|
695
747
|
/**
|
|
696
|
-
*
|
|
697
|
-
*
|
|
698
|
-
* Recommended path data come from mdi/js.<br />
|
|
699
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
748
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
749
|
+
* Can also be a ReactElement.
|
|
700
750
|
*/
|
|
701
|
-
icon:
|
|
751
|
+
icon: IconProps['icon'];
|
|
752
|
+
/** Props to forward to the icon. */
|
|
753
|
+
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
702
754
|
/** Whether the component is active or not. */
|
|
703
755
|
isActive?: boolean;
|
|
704
756
|
/** Whether the component is disabled or not. */
|
|
@@ -727,21 +779,40 @@ type StyledIconButtonProps = Omit<IconButtonProps, 'icon'> & {
|
|
|
727
779
|
*/
|
|
728
780
|
declare const IconButton: Comp<IconButtonProps, HTMLButtonElement>;
|
|
729
781
|
|
|
782
|
+
/**
|
|
783
|
+
* Component props.
|
|
784
|
+
*/
|
|
785
|
+
interface BreadcrumbItemProps extends ComponentProps<'a'> {
|
|
786
|
+
/** Prop to pass a custom react component instead of a simple HTML anchor (useful for Nextjs or React Router Link component). */
|
|
787
|
+
as?: 'a' | ElementType;
|
|
788
|
+
/** Whether the breadcrumb item is the current page. */
|
|
789
|
+
isCurrent?: boolean;
|
|
790
|
+
/** Whether the component is disabled or not. */
|
|
791
|
+
isDisabled?: boolean;
|
|
792
|
+
}
|
|
793
|
+
type StyledBreadcrumbItemProps = Omit<BreadcrumbItemProps, 'isDisabled' | 'isCurrent'> & {
|
|
794
|
+
$isCurrent: BreadcrumbItemProps['isCurrent'];
|
|
795
|
+
$isDisabled: BreadcrumbItemProps['isDisabled'];
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
|
|
800
|
+
*/
|
|
801
|
+
declare const BreadcrumbItem: Comp<BreadcrumbItemProps, HTMLAnchorElement>;
|
|
802
|
+
|
|
730
803
|
/**
|
|
731
804
|
* Component props.
|
|
732
805
|
*/
|
|
733
806
|
interface AppBarProps extends Omit<ComponentProps<'header'>, 'title'> {
|
|
807
|
+
/** Array of breadcrumb item props to use to generate a Breadcrumbs in place of the title. The last item is considered as the current page. */
|
|
808
|
+
breadcrumbs?: Omit<BreadcrumbItemProps, 'ref'>[];
|
|
734
809
|
/** Custom props to pass to the IconButton used to collapse the side panel. */
|
|
735
|
-
|
|
810
|
+
iconButtonProps?: Omit<IconButtonProps, 'icon'>;
|
|
736
811
|
/** Custom ref to pass to the IconButton used to collapse the side panel. */
|
|
737
|
-
|
|
738
|
-
/** Custom props to pass to the IconButton used to expand the side panel. */
|
|
739
|
-
expandIconButtonProps?: Omit<IconButtonProps, 'icon'>;
|
|
740
|
-
/** Custom ref to pass to the IconButton used to expand the side panel. */
|
|
741
|
-
expandIconButtonRef?: RefObject<HTMLButtonElement>;
|
|
812
|
+
iconButtonRef?: RefObject<HTMLButtonElement>;
|
|
742
813
|
/** Title of the page if no one provided automatically */
|
|
743
814
|
fallbackTitle?: string;
|
|
744
|
-
/** Title of the page */
|
|
815
|
+
/** Title of the page, if no breadcrumbs used. */
|
|
745
816
|
title?: string | ReactElement;
|
|
746
817
|
}
|
|
747
818
|
type StyledAppBarProps = AppBarProps & {
|
|
@@ -755,79 +826,32 @@ type StyledAppBarProps = AppBarProps & {
|
|
|
755
826
|
declare const AppBar: Comp<AppBarProps, HTMLHeadingElement>;
|
|
756
827
|
|
|
757
828
|
/**
|
|
758
|
-
*
|
|
759
|
-
*/
|
|
760
|
-
type AppContainerState = {
|
|
761
|
-
/** Collapses the side panel. */
|
|
762
|
-
collapseSidePanel(): void;
|
|
763
|
-
/** Expandes the side panel. */
|
|
764
|
-
expandSidePanel(): void;
|
|
765
|
-
/** Whether the container contains an AppBar or not. */
|
|
766
|
-
hasAppBar: boolean;
|
|
767
|
-
/** Whether the container contains an AppSidePanel or not. */
|
|
768
|
-
hasAppSidePanel: boolean;
|
|
769
|
-
/** Whether the container contains an AppContent or not. */
|
|
770
|
-
hasAppContent: boolean;
|
|
771
|
-
/** Whether the side panel is collapsed. */
|
|
772
|
-
readonly isSidePanelCollapsed: boolean;
|
|
773
|
-
/** Product theme. */
|
|
774
|
-
productTheme?: AppContainerProps['productTheme'];
|
|
775
|
-
/** Set title of the page. */
|
|
776
|
-
setTitle(title?: string): void;
|
|
777
|
-
/** Page title. */
|
|
778
|
-
readonly title?: string;
|
|
779
|
-
};
|
|
780
|
-
/**
|
|
781
|
-
* Component props.
|
|
782
|
-
*/
|
|
783
|
-
interface AppContainerProps extends ComponentProps<'div'> {
|
|
784
|
-
/** The locale to apply to the children. */
|
|
785
|
-
locale?: string;
|
|
786
|
-
/** Product theme to apply to everything within. This overrides the CSS variables automatically. */
|
|
787
|
-
productTheme?: ProductColorPalette;
|
|
788
|
-
}
|
|
789
|
-
type StyledAppContainerProps = Omit<AppContainerProps, 'locale' | 'productTheme'> & {
|
|
790
|
-
$productTheme?: AppContainerProps['productTheme'];
|
|
791
|
-
};
|
|
792
|
-
|
|
793
|
-
declare const AppContainerContext: React$1.Context<AppContainerState | null>;
|
|
794
|
-
|
|
795
|
-
/**
|
|
796
|
-
* The AppContainer component.
|
|
797
|
-
*/
|
|
798
|
-
declare const AppContainer: Comp<AppContainerProps, HTMLDivElement>;
|
|
799
|
-
|
|
800
|
-
/**
|
|
801
|
-
* Component props.
|
|
829
|
+
* Component variant.
|
|
802
830
|
*/
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
}
|
|
807
|
-
type StyledAppContentProps = Omit<AppContentProps, 'productTheme'> & {
|
|
808
|
-
$isLoaded: boolean;
|
|
809
|
-
$isSidePanelCollapsed: boolean;
|
|
810
|
-
$productTheme?: string;
|
|
831
|
+
declare const AppSidePanelVariant: {
|
|
832
|
+
readonly shrinked: "shrinked";
|
|
833
|
+
readonly standard: "standard";
|
|
811
834
|
};
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* The AppContent component.
|
|
815
|
-
*/
|
|
816
|
-
declare const AppContent: Comp<AppContentProps, HTMLElement>;
|
|
817
|
-
|
|
835
|
+
type AppSidePanelVariant = ValueOf<typeof AppSidePanelVariant>;
|
|
818
836
|
/**
|
|
819
837
|
* Component props.
|
|
820
838
|
*/
|
|
821
839
|
interface AppSidePanelProps extends ComponentProps<'div'> {
|
|
822
840
|
/** Elements to display on top of the navigation menu. Usually a button. */
|
|
823
841
|
featuredElements?: ReactElement | ReactElement[];
|
|
824
|
-
/**
|
|
825
|
-
|
|
842
|
+
/** Custom props to pass to the IconButton used to collapse the side panel. */
|
|
843
|
+
iconButtonProps?: Omit<IconButtonProps, 'icon'>;
|
|
844
|
+
/** Custom ref to pass to the IconButton used to collapse the side panel. */
|
|
845
|
+
iconButtonRef?: RefObject<HTMLButtonElement>;
|
|
826
846
|
/** Place to display the logo app. */
|
|
827
847
|
logo?: ReactElement | ComponentProps<'img'>;
|
|
848
|
+
/** Method called when a click occurs on the top open button - which is displayed only in shrinked variant. */
|
|
849
|
+
onOpen?: (e: MouseEvent) => void;
|
|
850
|
+
/** Variant. */
|
|
851
|
+
variant?: AppSidePanelVariant;
|
|
828
852
|
}
|
|
829
|
-
type StyledAppSidePanelProps = Omit<AppSidePanelProps, 'isCollapsed'> & {
|
|
830
|
-
$
|
|
853
|
+
type StyledAppSidePanelProps = Omit<AppSidePanelProps, 'isCollapsed' | 'logo'> & {
|
|
854
|
+
$variant: AppSidePanelProps['variant'];
|
|
831
855
|
};
|
|
832
856
|
|
|
833
857
|
/**
|
|
@@ -835,51 +859,6 @@ type StyledAppSidePanelProps = Omit<AppSidePanelProps, 'isCollapsed'> & {
|
|
|
835
859
|
*/
|
|
836
860
|
declare const AppSidePanel: Comp<AppSidePanelProps, HTMLDivElement>;
|
|
837
861
|
|
|
838
|
-
/**
|
|
839
|
-
* Component size.
|
|
840
|
-
*/
|
|
841
|
-
declare const IconSize: {
|
|
842
|
-
readonly xsmall: "xsmall";
|
|
843
|
-
readonly small: "small";
|
|
844
|
-
readonly medium: "medium";
|
|
845
|
-
readonly large: "large";
|
|
846
|
-
readonly xlarge: "xlarge";
|
|
847
|
-
};
|
|
848
|
-
type IconSize = ValueOf<typeof IconSize>;
|
|
849
|
-
/**
|
|
850
|
-
* Component props.
|
|
851
|
-
*/
|
|
852
|
-
interface IconProps extends ComponentProps<'span'>, LayoutProps, SpacingProps, PositioningProps {
|
|
853
|
-
/** Indicates whether the element is exposed to an accessibility API. */
|
|
854
|
-
'aria-hidden'?: boolean | 'false' | 'true';
|
|
855
|
-
/** A screen reader only label for the Icon. */
|
|
856
|
-
'aria-label'?: string;
|
|
857
|
-
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
858
|
-
color?: ColorPalette | ProductColorPalette | (string & {});
|
|
859
|
-
/** Whether the icon has a badge attached to it. */
|
|
860
|
-
badge?: ReactElement;
|
|
861
|
-
/**
|
|
862
|
-
* Icon path data (`d` property of the `path` SVG element).<br />
|
|
863
|
-
* See <a href="https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths">https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths</a>.<br />
|
|
864
|
-
* Recommended path data come from mdi/js.<br />
|
|
865
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
866
|
-
*/
|
|
867
|
-
icon: string;
|
|
868
|
-
/** Icon size. */
|
|
869
|
-
size?: IconSize;
|
|
870
|
-
/** Additional properties to forward to the SVG tag. */
|
|
871
|
-
svgProps?: ComponentProps<'svg'>;
|
|
872
|
-
}
|
|
873
|
-
type StyledIconProps = Omit<IconProps, 'color' | 'size' | 'icon' | 'svgProps'> & {
|
|
874
|
-
$color: IconProps['color'];
|
|
875
|
-
$size: IconProps['size'];
|
|
876
|
-
};
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* The Icon component.
|
|
880
|
-
*/
|
|
881
|
-
declare const Icon: Comp<IconProps, HTMLSpanElement>;
|
|
882
|
-
|
|
883
862
|
/**
|
|
884
863
|
* Context props.
|
|
885
864
|
*/
|
|
@@ -914,12 +893,10 @@ interface SideNavigationMenuProps extends ComponentProps<'div'> {
|
|
|
914
893
|
/** Whether or not the menu contains children that have a badge. */
|
|
915
894
|
hasBadge?: boolean;
|
|
916
895
|
/**
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
* Recommended path data come from mdi/js.<br />
|
|
920
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
896
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
897
|
+
* Can also be a ReactElement.
|
|
921
898
|
*/
|
|
922
|
-
icon?:
|
|
899
|
+
icon?: IconProps['icon'];
|
|
923
900
|
/** Custom props to pass to the Icon component. */
|
|
924
901
|
iconProps?: Omit<IconProps, 'icon'>;
|
|
925
902
|
/** Custom ref to pass to the Icon component. */
|
|
@@ -932,13 +909,12 @@ interface SideNavigationMenuProps extends ComponentProps<'div'> {
|
|
|
932
909
|
menuProps?: ComponentProps<'ul'>;
|
|
933
910
|
/** Custom ref to pass to the menu. */
|
|
934
911
|
menuRef?: MutableRefObject<HTMLUListElement>;
|
|
935
|
-
/** Whether the component should hide icons or not. */
|
|
936
|
-
withoutIcons?: boolean;
|
|
937
912
|
}
|
|
938
|
-
type StyledSideNavigationMenuProps = Omit<SideNavigationMenuProps, 'isDisabled' | 'isExpanded'
|
|
913
|
+
type StyledSideNavigationMenuProps = Omit<SideNavigationMenuProps, 'isDisabled' | 'isExpanded'> & {
|
|
939
914
|
$isDisabled: SideNavigationMenuProps['isDisabled'];
|
|
940
915
|
$isExpanded: SideNavigationMenuProps['isExpanded'];
|
|
941
|
-
$
|
|
916
|
+
$numberOfChildren: number;
|
|
917
|
+
$variant: SideNavigationMenuBarVariant;
|
|
942
918
|
};
|
|
943
919
|
|
|
944
920
|
/**
|
|
@@ -961,7 +937,7 @@ interface BadgeProps extends ComponentProps<'div'>, LayoutProps, SpacingProps, P
|
|
|
961
937
|
/** Whether the badge should automatically break content. */
|
|
962
938
|
autoBreak?: boolean;
|
|
963
939
|
/** Color variant. The product colors are available but should only be used to display the Badge in the color of another product. To display a Badge with a color of the current product, use `default`. */
|
|
964
|
-
color?:
|
|
940
|
+
color?: CtasColorPalette | NotificationsColorPalette | PresentationColorPalette;
|
|
965
941
|
/** Whether the Badge has its colors reversed or not. */
|
|
966
942
|
isReversed?: boolean;
|
|
967
943
|
/** Badge variant. */
|
|
@@ -992,12 +968,10 @@ interface SideNavigationMenuItemProps extends ComponentProps<'a'> {
|
|
|
992
968
|
/** Href is required for this component. */
|
|
993
969
|
href: ComponentProps<'a'>['href'];
|
|
994
970
|
/**
|
|
995
|
-
*
|
|
996
|
-
*
|
|
997
|
-
* Recommended path data come from mdi/js.<br />
|
|
998
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
971
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
972
|
+
* Can also be a ReactElement.
|
|
999
973
|
*/
|
|
1000
|
-
icon?:
|
|
974
|
+
icon?: IconProps['icon'];
|
|
1001
975
|
/** Custom props to pass to the Icon component. */
|
|
1002
976
|
iconProps?: Omit<IconProps, 'icon'>;
|
|
1003
977
|
/** Custom ref to pass to the Icon component. */
|
|
@@ -1008,14 +982,12 @@ interface SideNavigationMenuItemProps extends ComponentProps<'a'> {
|
|
|
1008
982
|
isDisabled?: boolean;
|
|
1009
983
|
/** Whether the component is a second-level menu item. */
|
|
1010
984
|
isSecondLevel?: boolean;
|
|
1011
|
-
/** Whether the component should hide icons or not. */
|
|
1012
|
-
withoutIcons?: boolean;
|
|
1013
985
|
}
|
|
1014
|
-
type StyledSideNavigationMenuItemProps = Omit<SideNavigationMenuItemProps, 'isCurrent' | 'isDisabled' | 'isSecondLevel'
|
|
986
|
+
type StyledSideNavigationMenuItemProps = Omit<SideNavigationMenuItemProps, 'isCurrent' | 'isDisabled' | 'isSecondLevel'> & {
|
|
1015
987
|
$isCurrent: SideNavigationMenuItemProps['isCurrent'];
|
|
1016
988
|
$isDisabled: SideNavigationMenuItemProps['isDisabled'];
|
|
1017
989
|
$isSecondLevel: SideNavigationMenuItemProps['isSecondLevel'];
|
|
1018
|
-
$
|
|
990
|
+
$variant: SideNavigationMenuBarVariant;
|
|
1019
991
|
};
|
|
1020
992
|
|
|
1021
993
|
/**
|
|
@@ -1023,29 +995,48 @@ type StyledSideNavigationMenuItemProps = Omit<SideNavigationMenuItemProps, 'isCu
|
|
|
1023
995
|
*/
|
|
1024
996
|
declare const SideNavigationMenuItem: Comp<SideNavigationMenuItemProps, HTMLAnchorElement>;
|
|
1025
997
|
|
|
998
|
+
/**
|
|
999
|
+
* Component variant.
|
|
1000
|
+
*/
|
|
1001
|
+
declare const SideNavigationMenuBarVariant: {
|
|
1002
|
+
readonly shrinked: "shrinked";
|
|
1003
|
+
readonly standard: "standard";
|
|
1004
|
+
};
|
|
1005
|
+
type SideNavigationMenuBarVariant = ValueOf<typeof SideNavigationMenuBarVariant>;
|
|
1026
1006
|
/**
|
|
1027
1007
|
* Context props.
|
|
1028
1008
|
*/
|
|
1029
1009
|
type SideNavigationMenuBarContextProps = {
|
|
1010
|
+
/** List of menu items. */
|
|
1030
1011
|
menuItems: Set<HTMLAnchorElement | HTMLButtonElement>;
|
|
1012
|
+
/** Side navigation variant. */
|
|
1013
|
+
sideNavigationMenuBarVariant: SideNavigationMenuBarVariant;
|
|
1014
|
+
/** Change side navigation variant. */
|
|
1015
|
+
setSideNavigationMenuBarVariant: Dispatch<SetStateAction<SideNavigationMenuBarVariant>>;
|
|
1016
|
+
/** Current open menu, used to close other menu when canHaveMultipleMenuOpenAtOnce is false. */
|
|
1017
|
+
currentOpenMenuId?: string;
|
|
1018
|
+
/** Change current open menu id. */
|
|
1019
|
+
setCurrentOpenMenuId?: Dispatch<SetStateAction<string | undefined>>;
|
|
1031
1020
|
};
|
|
1032
1021
|
/**
|
|
1033
1022
|
* Component props.
|
|
1034
1023
|
*/
|
|
1035
1024
|
interface SideNavigationMenuBarProps extends ComponentProps<'nav'> {
|
|
1025
|
+
/** Whether or not opening a menu closes the others. */
|
|
1026
|
+
canHaveMultipleMenuOpenAtOnce?: boolean;
|
|
1036
1027
|
/** Whether the component is disabled or not. */
|
|
1037
1028
|
isDisabled?: boolean;
|
|
1038
1029
|
/** Custom props to pass to the menubar. */
|
|
1039
1030
|
menubarProps?: ComponentProps<'ul'>;
|
|
1040
1031
|
/** Custom ref to pass to the menubar. */
|
|
1041
1032
|
menubarRef?: MutableRefObject<HTMLUListElement>;
|
|
1042
|
-
/**
|
|
1043
|
-
|
|
1033
|
+
/** Variant. */
|
|
1034
|
+
variant?: SideNavigationMenuBarVariant;
|
|
1044
1035
|
}
|
|
1045
|
-
type StyledSideNavigationMenuBarProps = Omit<SideNavigationMenuBarProps, 'isDisabled'
|
|
1036
|
+
type StyledSideNavigationMenuBarProps = Omit<SideNavigationMenuBarProps, 'isDisabled'> & {
|
|
1046
1037
|
$isDisabled: SideNavigationMenuBarProps['isDisabled'];
|
|
1047
1038
|
$marginTop?: number;
|
|
1048
|
-
$
|
|
1039
|
+
$variant: SideNavigationMenuBarProps['variant'];
|
|
1049
1040
|
};
|
|
1050
1041
|
/**
|
|
1051
1042
|
* Hook props.
|
|
@@ -1070,28 +1061,70 @@ interface UseSideNavigationMenuBarProps {
|
|
|
1070
1061
|
}
|
|
1071
1062
|
declare const useSideNavigationMenuBar: ({ items, isActive, }: UseSideNavigationMenuBarProps) => Omit<SideNavigationMenuBarProps, 'ref'>;
|
|
1072
1063
|
|
|
1073
|
-
declare const useAppSidePanel: ({ items, isActive
|
|
1064
|
+
declare const useAppSidePanel: ({ items, isActive }: UseSideNavigationMenuBarProps) => Omit<AppSidePanelProps, 'ref'>;
|
|
1074
1065
|
|
|
1066
|
+
/**
|
|
1067
|
+
* Context props.
|
|
1068
|
+
*/
|
|
1069
|
+
type AppContainerState = {
|
|
1070
|
+
/** Collapses the side panel. */
|
|
1071
|
+
collapseSidePanel(): void;
|
|
1072
|
+
/** Expandes the side panel. */
|
|
1073
|
+
expandSidePanel(): void;
|
|
1074
|
+
/** Whether the container contains an AppBar or not. */
|
|
1075
|
+
hasAppBar: boolean;
|
|
1076
|
+
/** Whether the container contains an AppSidePanel or not. */
|
|
1077
|
+
hasAppSidePanel: boolean;
|
|
1078
|
+
/** Whether the container contains an AppContent or not. */
|
|
1079
|
+
hasAppContent: boolean;
|
|
1080
|
+
/** Product theme. */
|
|
1081
|
+
product?: AppContainerProps['product'];
|
|
1082
|
+
/** Set breadcrumbs of the page. */
|
|
1083
|
+
setBreadcrumbs(breadcrumbs?: Omit<BreadcrumbItemProps, 'ref'>[]): void;
|
|
1084
|
+
/** Page breadcrumbs. */
|
|
1085
|
+
readonly breadcrumbs?: Omit<BreadcrumbItemProps, 'ref'>[];
|
|
1086
|
+
/** Side panel variant. */
|
|
1087
|
+
sidePanelVariant: AppSidePanelVariant;
|
|
1088
|
+
/** Change side panel variant. */
|
|
1089
|
+
setSidePanelVariant: Dispatch<SetStateAction<AppSidePanelVariant>>;
|
|
1090
|
+
};
|
|
1075
1091
|
/**
|
|
1076
1092
|
* Component props.
|
|
1077
1093
|
*/
|
|
1078
|
-
interface
|
|
1079
|
-
/**
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
|
|
1083
|
-
/** Whether the component is disabled or not. */
|
|
1084
|
-
isDisabled?: boolean;
|
|
1094
|
+
interface AppContainerProps extends ComponentProps<'div'> {
|
|
1095
|
+
/** The locale to apply to the children. */
|
|
1096
|
+
locale?: string;
|
|
1097
|
+
/** Product theme to apply to everything within. This overrides the CSS variables automatically. */
|
|
1098
|
+
product?: Product;
|
|
1085
1099
|
}
|
|
1086
|
-
type
|
|
1087
|
-
$
|
|
1088
|
-
$isDisabled: BreadcrumbItemProps['isDisabled'];
|
|
1100
|
+
type StyledAppContainerProps = Omit<AppContainerProps, 'locale' | 'product'> & {
|
|
1101
|
+
$product?: AppContainerProps['product'];
|
|
1089
1102
|
};
|
|
1090
1103
|
|
|
1104
|
+
declare const AppContainerContext: React$1.Context<AppContainerState | null>;
|
|
1105
|
+
|
|
1091
1106
|
/**
|
|
1092
|
-
* The
|
|
1107
|
+
* The AppContainer component.
|
|
1093
1108
|
*/
|
|
1094
|
-
declare const
|
|
1109
|
+
declare const AppContainer: Comp<AppContainerProps, HTMLDivElement>;
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* Component props.
|
|
1113
|
+
*/
|
|
1114
|
+
interface AppContentProps extends ComponentProps<'main'>, StylingProps, ContainerProps {
|
|
1115
|
+
/** Product theme to apply to everything within. This overrides the CSS variables automatically. */
|
|
1116
|
+
product?: Product;
|
|
1117
|
+
}
|
|
1118
|
+
type StyledAppContentProps = Omit<AppContentProps, 'product'> & {
|
|
1119
|
+
$isLoaded: boolean;
|
|
1120
|
+
$isSidePanelCollapsed: boolean;
|
|
1121
|
+
$product?: string;
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* The AppContent component.
|
|
1126
|
+
*/
|
|
1127
|
+
declare const AppContent: Comp<AppContentProps, HTMLElement>;
|
|
1095
1128
|
|
|
1096
1129
|
/**
|
|
1097
1130
|
* Component props.
|
|
@@ -1124,7 +1157,7 @@ type ButtonVariant = ValueOf<typeof ButtonVariant>;
|
|
|
1124
1157
|
/**
|
|
1125
1158
|
* Component color.
|
|
1126
1159
|
*/
|
|
1127
|
-
type ButtonColor =
|
|
1160
|
+
type ButtonColor = CtasColorPalette | NotificationsColorPalette;
|
|
1128
1161
|
/**
|
|
1129
1162
|
* Component props.
|
|
1130
1163
|
*/
|
|
@@ -1142,19 +1175,15 @@ interface ButtonProps extends ComponentProps<'button'>, StylingProps {
|
|
|
1142
1175
|
/** Whether the component is in a loading state or not. */
|
|
1143
1176
|
isLoading?: boolean;
|
|
1144
1177
|
/**
|
|
1145
|
-
*
|
|
1146
|
-
*
|
|
1147
|
-
* Recommended path data come from mdi/js.<br />
|
|
1148
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1178
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
1179
|
+
* Can also be a ReactElement.
|
|
1149
1180
|
*/
|
|
1150
|
-
leftIcon?:
|
|
1181
|
+
leftIcon?: IconProps['icon'];
|
|
1151
1182
|
/**
|
|
1152
|
-
*
|
|
1153
|
-
*
|
|
1154
|
-
* Recommended path data come from mdi/js.<br />
|
|
1155
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1183
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
1184
|
+
* Can also be a ReactElement.
|
|
1156
1185
|
*/
|
|
1157
|
-
rightIcon?:
|
|
1186
|
+
rightIcon?: IconProps['icon'];
|
|
1158
1187
|
/** Button variant. */
|
|
1159
1188
|
variant?: ButtonVariant;
|
|
1160
1189
|
}
|
|
@@ -1335,12 +1364,10 @@ interface CardHeaderProps extends ComponentProps<'div'> {
|
|
|
1335
1364
|
/** Subheader */
|
|
1336
1365
|
subheader?: string;
|
|
1337
1366
|
/**
|
|
1338
|
-
*
|
|
1339
|
-
*
|
|
1340
|
-
* Recommended path data come from mdi/js.<br />
|
|
1341
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1367
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
1368
|
+
* Can also be a ReactElement.
|
|
1342
1369
|
*/
|
|
1343
|
-
icon?:
|
|
1370
|
+
icon?: IconProps['icon'];
|
|
1344
1371
|
/** Whether the card is loading or not. */
|
|
1345
1372
|
isLoading?: boolean;
|
|
1346
1373
|
}
|
|
@@ -1407,8 +1434,6 @@ interface CheckboxGroupProps extends Omit<ComponentProps<'div'>, 'onChange'>, St
|
|
|
1407
1434
|
onChange?(values: string[]): void;
|
|
1408
1435
|
/** Method to handle component change. */
|
|
1409
1436
|
orientation?: CheckboxGroupOrientation;
|
|
1410
|
-
/** List of possible values. Useful to select all. */
|
|
1411
|
-
possibleValues?: string[];
|
|
1412
1437
|
/**
|
|
1413
1438
|
* Currently selected values.
|
|
1414
1439
|
* Used for controlled version.
|
|
@@ -1538,7 +1563,7 @@ interface ShieldProps extends ComponentProps<'div'>, StylingProps {
|
|
|
1538
1563
|
variant?: ShieldVariant;
|
|
1539
1564
|
}
|
|
1540
1565
|
type StyledShieldProps = Omit<ShieldProps, 'color'> & {
|
|
1541
|
-
$color?:
|
|
1566
|
+
$color?: NotificationsColorPalette | ProductColorPalette | (string & {});
|
|
1542
1567
|
$isOutlined: ShieldProps['isOutlined'];
|
|
1543
1568
|
$isReversed: ShieldProps['isReversed'];
|
|
1544
1569
|
$variant: ShieldProps['variant'];
|
|
@@ -1558,16 +1583,14 @@ interface DetailedCardProps extends ComponentProps<'div'>, StylingProps {
|
|
|
1558
1583
|
/** Banner variant. */
|
|
1559
1584
|
bannerVariant?: 'standard' | 'condensed';
|
|
1560
1585
|
/** Banner color. */
|
|
1561
|
-
color?:
|
|
1586
|
+
color?: NotificationsColorPalette;
|
|
1562
1587
|
/** Default collapse status. Used for uncontrolled version. */
|
|
1563
1588
|
defaultAllCollapsed?: boolean;
|
|
1564
1589
|
/**
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1567
|
-
* Recommended path data come from mdi/js.<br />
|
|
1568
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1590
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
1591
|
+
* Can also be a ReactElement.
|
|
1569
1592
|
*/
|
|
1570
|
-
icon?:
|
|
1593
|
+
icon?: IconProps['icon'];
|
|
1571
1594
|
/** Whether the card has buttons to collapse and expand all section items. */
|
|
1572
1595
|
isCollapsible?: boolean;
|
|
1573
1596
|
/** Whether the card is loading or not. */
|
|
@@ -1588,7 +1611,7 @@ interface PillProps extends ComponentProps<'div'>, StylingProps {
|
|
|
1588
1611
|
/** Whether the badge should automatically break content. */
|
|
1589
1612
|
autoBreak?: boolean;
|
|
1590
1613
|
/** Color variant. The product colors are available but should only be used to display the Pill in the color of another product. To display a Pill with a color of the current product, use `default`. */
|
|
1591
|
-
color?:
|
|
1614
|
+
color?: PresentationColorPalette | 'white' | 'black' | 'no-data' | 'error' | 'warning' | 'success' | 'error-dark' | 'warning-dark' | 'success-dark';
|
|
1592
1615
|
}
|
|
1593
1616
|
type StyledPillProps = Omit<PillProps, 'color' | 'autoBreak'> & {
|
|
1594
1617
|
$autoBreak: PillProps['autoBreak'];
|
|
@@ -1607,12 +1630,10 @@ interface DetailedCardSectionItemProps extends ComponentProps<'div'> {
|
|
|
1607
1630
|
/** Description */
|
|
1608
1631
|
description?: string | ReactElement;
|
|
1609
1632
|
/**
|
|
1610
|
-
*
|
|
1611
|
-
*
|
|
1612
|
-
* Recommended path data come from mdi/js.<br />
|
|
1613
|
-
* See <a href="https://www.npmjs.com/package/@mdi/js">https://www.npmjs.com/package/@mdi/js</a>.
|
|
1633
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
1634
|
+
* Can also be a ReactElement.
|
|
1614
1635
|
*/
|
|
1615
|
-
icon?:
|
|
1636
|
+
icon?: IconProps['icon'];
|
|
1616
1637
|
/** Props to pass to the Icon component. */
|
|
1617
1638
|
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
1618
1639
|
/** Whether the section item can be collapsed or not. */
|
|
@@ -1676,7 +1697,7 @@ interface DetailedCardSectionProps extends ComponentProps<'div'> {
|
|
|
1676
1697
|
/** Props to pass to the badge displayed next to the title. */
|
|
1677
1698
|
badge?: Omit<BadgeProps, 'ref'>;
|
|
1678
1699
|
/** Color that will be used on the header line. */
|
|
1679
|
-
color?:
|
|
1700
|
+
color?: NotificationsColorPalette | PresentationColorPalette | (string & {});
|
|
1680
1701
|
/** Header. */
|
|
1681
1702
|
header?: string | ReactElement;
|
|
1682
1703
|
/** Whether the section is collapsed or not. */
|
|
@@ -1715,6 +1736,220 @@ type StyledFlexboxProps = FlexboxProps;
|
|
|
1715
1736
|
*/
|
|
1716
1737
|
declare const Flexbox: Comp<FlexboxProps, HTMLDivElement>;
|
|
1717
1738
|
|
|
1739
|
+
declare enum EventKey {
|
|
1740
|
+
ArrowLeft = "ArrowLeft",
|
|
1741
|
+
ArrowRight = "ArrowRight",
|
|
1742
|
+
ArrowUp = "ArrowUp",
|
|
1743
|
+
ArrowDown = "ArrowDown",
|
|
1744
|
+
Home = "Home",
|
|
1745
|
+
End = "End"
|
|
1746
|
+
}
|
|
1747
|
+
type KeyDirection = 'horizontal' | 'vertical' | 'both';
|
|
1748
|
+
declare enum Navigation {
|
|
1749
|
+
PREVIOUS = "PREVIOUS",
|
|
1750
|
+
NEXT = "NEXT",
|
|
1751
|
+
VERY_FIRST = "VERY_FIRST",
|
|
1752
|
+
VERY_LAST = "VERY_LAST",
|
|
1753
|
+
PREVIOUS_ROW = "PREVIOUS_ROW",
|
|
1754
|
+
NEXT_ROW = "NEXT_ROW",
|
|
1755
|
+
FIRST_IN_ROW = "FIRST_IN_ROW",
|
|
1756
|
+
LAST_IN_ROW = "LAST_IN_ROW"
|
|
1757
|
+
}
|
|
1758
|
+
type TabStop = Readonly<{
|
|
1759
|
+
id: string;
|
|
1760
|
+
domElementRef: React.RefObject<Element>;
|
|
1761
|
+
isDisabled: boolean;
|
|
1762
|
+
rowIndex: number | null;
|
|
1763
|
+
value: string;
|
|
1764
|
+
}>;
|
|
1765
|
+
type RowStartMap = Map<Exclude<TabStop['rowIndex'], null>, number>;
|
|
1766
|
+
type FocusWithinGroupState = Readonly<{
|
|
1767
|
+
selectedId: string | null;
|
|
1768
|
+
allowFocusing: boolean;
|
|
1769
|
+
tabStops: readonly TabStop[];
|
|
1770
|
+
direction: KeyDirection;
|
|
1771
|
+
focusOnClick: boolean;
|
|
1772
|
+
focusOnInit: boolean;
|
|
1773
|
+
loopAround: boolean;
|
|
1774
|
+
rowStartMap: RowStartMap | null;
|
|
1775
|
+
focusType: 'roving-tabindex' | 'virtual-focus';
|
|
1776
|
+
activedescendant?: [string, string];
|
|
1777
|
+
filter?: {
|
|
1778
|
+
value: string;
|
|
1779
|
+
type: 'startsWith' | 'contains' | 'endsWith';
|
|
1780
|
+
caseSensitive?: boolean;
|
|
1781
|
+
};
|
|
1782
|
+
delayedAction?: BaseFocusWithinGroupAction;
|
|
1783
|
+
}>;
|
|
1784
|
+
type FocusWithinGroupOptions = Partial<Pick<FocusWithinGroupState, 'direction' | 'focusOnClick' | 'focusOnInit' | 'loopAround' | 'focusType' | 'activedescendant'>>;
|
|
1785
|
+
declare enum FocusWithinGroupActionType {
|
|
1786
|
+
REGISTER_TAB_STOP = "REGISTER_TAB_STOP",
|
|
1787
|
+
UNREGISTER_TAB_STOP = "UNREGISTER_TAB_STOP",
|
|
1788
|
+
KEY_DOWN_ON_ITEM = "KEY_DOWN_ON_ITEM",
|
|
1789
|
+
CLICK_ON_ITEM = "CLICK_ON_ITEM",
|
|
1790
|
+
KEY_DOWN_ON_LIST = "KEY_DOWN_ON_LIST",
|
|
1791
|
+
FOCUS_ON_LIST = "FOCUS_ON_LIST",
|
|
1792
|
+
BLUR_ON_LIST = "BLUR_ON_LIST",
|
|
1793
|
+
TAB_STOP_UPDATED = "TAB_STOP_UPDATED",
|
|
1794
|
+
OPTIONS_UPDATED = "OPTIONS_UPDATED",
|
|
1795
|
+
FILTER_LIST = "FILTER_LIST",
|
|
1796
|
+
DELAY_ACTION = "DELAY_ACTION"
|
|
1797
|
+
}
|
|
1798
|
+
type BaseFocusWithinGroupAction = {
|
|
1799
|
+
type: FocusWithinGroupActionType.REGISTER_TAB_STOP;
|
|
1800
|
+
payload: TabStop;
|
|
1801
|
+
} | {
|
|
1802
|
+
type: FocusWithinGroupActionType.UNREGISTER_TAB_STOP;
|
|
1803
|
+
payload: {
|
|
1804
|
+
id: TabStop['id'];
|
|
1805
|
+
};
|
|
1806
|
+
} | {
|
|
1807
|
+
type: FocusWithinGroupActionType.TAB_STOP_UPDATED;
|
|
1808
|
+
payload: {
|
|
1809
|
+
id: TabStop['id'];
|
|
1810
|
+
rowIndex: TabStop['rowIndex'];
|
|
1811
|
+
isDisabled: TabStop['isDisabled'];
|
|
1812
|
+
};
|
|
1813
|
+
} | {
|
|
1814
|
+
type: FocusWithinGroupActionType.KEY_DOWN_ON_ITEM;
|
|
1815
|
+
payload: {
|
|
1816
|
+
id: TabStop['id'];
|
|
1817
|
+
key: EventKey;
|
|
1818
|
+
ctrlKey: boolean;
|
|
1819
|
+
};
|
|
1820
|
+
} | {
|
|
1821
|
+
type: FocusWithinGroupActionType.CLICK_ON_ITEM;
|
|
1822
|
+
payload: {
|
|
1823
|
+
id: TabStop['id'];
|
|
1824
|
+
};
|
|
1825
|
+
} | {
|
|
1826
|
+
type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST;
|
|
1827
|
+
payload: {
|
|
1828
|
+
key: EventKey;
|
|
1829
|
+
ctrlKey: boolean;
|
|
1830
|
+
};
|
|
1831
|
+
} | {
|
|
1832
|
+
type: FocusWithinGroupActionType.FOCUS_ON_LIST;
|
|
1833
|
+
payload: {
|
|
1834
|
+
id: TabStop['id'];
|
|
1835
|
+
};
|
|
1836
|
+
} | {
|
|
1837
|
+
type: FocusWithinGroupActionType.BLUR_ON_LIST;
|
|
1838
|
+
payload: {};
|
|
1839
|
+
} | {
|
|
1840
|
+
type: FocusWithinGroupActionType.OPTIONS_UPDATED;
|
|
1841
|
+
payload: FocusWithinGroupOptions;
|
|
1842
|
+
} | {
|
|
1843
|
+
type: FocusWithinGroupActionType.FILTER_LIST;
|
|
1844
|
+
payload: {
|
|
1845
|
+
filter: FocusWithinGroupState['filter'];
|
|
1846
|
+
};
|
|
1847
|
+
};
|
|
1848
|
+
type FocusWithinGroupAction = BaseFocusWithinGroupAction | {
|
|
1849
|
+
type: FocusWithinGroupActionType.DELAY_ACTION;
|
|
1850
|
+
payload: BaseFocusWithinGroupAction;
|
|
1851
|
+
};
|
|
1852
|
+
type UseFocusWithinGroupProps = {
|
|
1853
|
+
tabIndex?: number;
|
|
1854
|
+
isFocused: boolean;
|
|
1855
|
+
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
1856
|
+
handleClick: () => void;
|
|
1857
|
+
};
|
|
1858
|
+
type UseFocusGroupProps = {
|
|
1859
|
+
activedescendant: [string, string] | undefined;
|
|
1860
|
+
handleKeyDown: (event: React.KeyboardEvent) => void;
|
|
1861
|
+
handleFocus: () => void;
|
|
1862
|
+
handleBlur: () => void;
|
|
1863
|
+
};
|
|
1864
|
+
type FocusWithinGroupContextProps = {
|
|
1865
|
+
state: FocusWithinGroupState;
|
|
1866
|
+
dispatch: React.Dispatch<FocusWithinGroupAction>;
|
|
1867
|
+
};
|
|
1868
|
+
/**
|
|
1869
|
+
* Component props.
|
|
1870
|
+
*/
|
|
1871
|
+
interface FocusWithinGroupProps extends ComponentProps<'div'>, FocusWithinGroupOptions {
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* The FocusWithinGroup component.
|
|
1876
|
+
*
|
|
1877
|
+
* @param {ReactNode} children - The child content, which will
|
|
1878
|
+
* include the DOM elements to rove between using the tab key.
|
|
1879
|
+
* @param {KeyDirection} direction - An optional direction value
|
|
1880
|
+
* that only applies when the roving tabindex is not being
|
|
1881
|
+
* used within a grid. This value specifies the arrow key behaviour.
|
|
1882
|
+
* The default value is 'horizontal'.
|
|
1883
|
+
* When set to 'horizontal' then only the ArrowLeft and ArrowRight
|
|
1884
|
+
* keys move to the previous and next tab stop respectively.
|
|
1885
|
+
* When set to 'vertical' then only the ArrowUp and ArrowDown keys
|
|
1886
|
+
* move to the previous and next tab stop respectively. When set
|
|
1887
|
+
* to 'both' then both the ArrowLeft and ArrowUp keys can be used
|
|
1888
|
+
* to move to the previous tab stop, and both the ArrowRight
|
|
1889
|
+
* and ArrowDown keys can be used to move to the next tab stop.
|
|
1890
|
+
* If you do not pass an explicit value then the 'horizontal'
|
|
1891
|
+
* behaviour applies.
|
|
1892
|
+
* @param {boolean} focusOnClick - An optional flag for indicating
|
|
1893
|
+
* if `focus()` should invoked on an item in the roving tabindex
|
|
1894
|
+
* when it is clicked. The default value for this flag is `false`,
|
|
1895
|
+
* meaning that `focus()` will not be invoked on click.
|
|
1896
|
+
* Browsers are
|
|
1897
|
+
* [inconsistent in their behaviour](https://zellwk.com/blog/inconsistent-button-behavior/)
|
|
1898
|
+
* when a button is clicked so you will see some variation between
|
|
1899
|
+
* the browsers with the default value. Prior to version 3 of this library,
|
|
1900
|
+
* the behaviour was to always invoke `focus()` on click; this behaviour
|
|
1901
|
+
* can be maintained by passing `true`.
|
|
1902
|
+
* @param {boolean} loopAround - An optional flag that,
|
|
1903
|
+
* when set to `true`, will loop the tabindex around when the user
|
|
1904
|
+
* tries to tab to the first or last elements in the roving tabindex,
|
|
1905
|
+
* rather than stopping. The default value is `false` (no looping).
|
|
1906
|
+
* Note that this option does not apply if the roving tabindex
|
|
1907
|
+
* is being used on a grid.
|
|
1908
|
+
*/
|
|
1909
|
+
declare const FocusWithinGroup: React$1.FC<FocusWithinGroupProps>;
|
|
1910
|
+
|
|
1911
|
+
declare const FOCUS_WITHING_GROUP_INITIAL_STATE: FocusWithinGroupState;
|
|
1912
|
+
declare const FocusWithinGroupContext: React$1.Context<FocusWithinGroupContextProps>;
|
|
1913
|
+
|
|
1914
|
+
declare const FocusWithinGroupReducer: (state: FocusWithinGroupState, action: FocusWithinGroupAction) => FocusWithinGroupState;
|
|
1915
|
+
|
|
1916
|
+
declare function uniqueId(): string;
|
|
1917
|
+
/**
|
|
1918
|
+
* Includes the given DOM element in the current roving tabindex.
|
|
1919
|
+
* @param {RefObject<Element>} domElementRef The DOM element to include.
|
|
1920
|
+
* This must be the same DOM element for the lifetime of the containing
|
|
1921
|
+
* component.
|
|
1922
|
+
* @param {boolean} isDisabled Whether or not the DOM element is currently
|
|
1923
|
+
* enabled. This value can be updated as appropriate throughout the lifetime
|
|
1924
|
+
* of the containing component.
|
|
1925
|
+
* @param {number?} rowIndex An optional integer value that must be
|
|
1926
|
+
* populated if the roving tabindex is being used in a grid. In that case,
|
|
1927
|
+
* set it to the zero-based index of the row that the given DOM element
|
|
1928
|
+
* is currently part of. You can update this row index as appropriate
|
|
1929
|
+
* throughout the lifetime of the containing component, for example if
|
|
1930
|
+
* the shape of the grid can change dynamically.
|
|
1931
|
+
* @returns A tuple of values to be applied by the containing
|
|
1932
|
+
* component for the roving tabindex to work correctly.
|
|
1933
|
+
* First tuple value: The tabIndex value to apply to the tab stop
|
|
1934
|
+
* element.
|
|
1935
|
+
* Second tuple value: Whether or not focus() should be invoked on the
|
|
1936
|
+
* tab stop element.
|
|
1937
|
+
* Third tuple value: The onKeyDown callback to apply to the tab
|
|
1938
|
+
* stop element. If the key press is relevant to the hook then
|
|
1939
|
+
* event.preventDefault() will be invoked on the event.
|
|
1940
|
+
* Fourth tuple value: The onClick callback to apply to the tab
|
|
1941
|
+
* stop element.
|
|
1942
|
+
*/
|
|
1943
|
+
declare function useFocusOnListItem(props: {
|
|
1944
|
+
domElementRef: RefObject<Element>;
|
|
1945
|
+
isDisabled: boolean;
|
|
1946
|
+
id?: string;
|
|
1947
|
+
value?: string;
|
|
1948
|
+
rowIndex?: number | null;
|
|
1949
|
+
}): UseFocusWithinGroupProps;
|
|
1950
|
+
|
|
1951
|
+
declare function useFocusOnList(): UseFocusGroupProps;
|
|
1952
|
+
|
|
1718
1953
|
/**
|
|
1719
1954
|
* Component props.
|
|
1720
1955
|
*/
|
|
@@ -1742,6 +1977,146 @@ declare const Grid: Comp<GridProps, HTMLDivElement> & {
|
|
|
1742
1977
|
Item: Comp<GridItemProps, HTMLDivElement>;
|
|
1743
1978
|
};
|
|
1744
1979
|
|
|
1980
|
+
/**
|
|
1981
|
+
* Context props.
|
|
1982
|
+
*/
|
|
1983
|
+
type ListboxState = Readonly<{
|
|
1984
|
+
isDisabled: boolean;
|
|
1985
|
+
isReadOnly: boolean;
|
|
1986
|
+
selectedValues: string[];
|
|
1987
|
+
selectionMode: 'single' | 'multiple';
|
|
1988
|
+
activedescendant?: [string, string];
|
|
1989
|
+
}>;
|
|
1990
|
+
declare enum ListboxActionType {
|
|
1991
|
+
TOGGLE = "TOGGLE",
|
|
1992
|
+
SET = "SET"
|
|
1993
|
+
}
|
|
1994
|
+
type ListboxAction = {
|
|
1995
|
+
type: ListboxActionType.TOGGLE;
|
|
1996
|
+
payload: {
|
|
1997
|
+
value: string;
|
|
1998
|
+
activedescendant?: [string, string];
|
|
1999
|
+
};
|
|
2000
|
+
} | {
|
|
2001
|
+
type: ListboxActionType.SET;
|
|
2002
|
+
payload: {
|
|
2003
|
+
values: string[];
|
|
2004
|
+
activedescendant?: [string, string];
|
|
2005
|
+
};
|
|
2006
|
+
};
|
|
2007
|
+
type UseListboxItemProps = UseFocusWithinGroupProps & {
|
|
2008
|
+
isSelected?: boolean;
|
|
2009
|
+
isDisabled?: boolean;
|
|
2010
|
+
};
|
|
2011
|
+
type ListboxContextProps = {
|
|
2012
|
+
state: ListboxState;
|
|
2013
|
+
dispatch: React.Dispatch<ListboxAction>;
|
|
2014
|
+
};
|
|
2015
|
+
/**
|
|
2016
|
+
* Component variant.
|
|
2017
|
+
*/
|
|
2018
|
+
declare const ListboxVariant: {
|
|
2019
|
+
readonly standalone: "standalone";
|
|
2020
|
+
readonly unstyled: "unstyled";
|
|
2021
|
+
};
|
|
2022
|
+
type ListboxVariant = ValueOf<typeof ListboxVariant>;
|
|
2023
|
+
/**
|
|
2024
|
+
* Component props.
|
|
2025
|
+
*/
|
|
2026
|
+
interface ListboxProps extends Omit<ComponentProps<'div'>, 'onChange'>, StylingProps, FocusWithinGroupOptions {
|
|
2027
|
+
/**
|
|
2028
|
+
* Default selected values.
|
|
2029
|
+
* Used for uncontrolled version.
|
|
2030
|
+
*/
|
|
2031
|
+
defaultValues?: string[];
|
|
2032
|
+
/** Whether the component is disabled or not. */
|
|
2033
|
+
isDisabled?: boolean;
|
|
2034
|
+
/** Whether the component is invalid or not. */
|
|
2035
|
+
isInvalid?: boolean;
|
|
2036
|
+
/** Whether the component is read only or not. */
|
|
2037
|
+
isReadOnly?: boolean;
|
|
2038
|
+
/** Whether the component is required or not. */
|
|
2039
|
+
isRequired?: boolean;
|
|
2040
|
+
/** Label of the switch group. */
|
|
2041
|
+
label?: string;
|
|
2042
|
+
/** Method to handle component change. */
|
|
2043
|
+
onChange?(values: string[]): void;
|
|
2044
|
+
/** Whether the listbox allows multiple selections or single ones. */
|
|
2045
|
+
selectionMode?: 'single' | 'multiple';
|
|
2046
|
+
/**
|
|
2047
|
+
* Currently selected values.
|
|
2048
|
+
* Used for controlled version.
|
|
2049
|
+
*/
|
|
2050
|
+
values?: string[];
|
|
2051
|
+
/** Whether the Listbox is used as standalone or is unstyled within another component. */
|
|
2052
|
+
variant?: ListboxVariant;
|
|
2053
|
+
}
|
|
2054
|
+
type StyledListboxProps = Omit<ListboxProps, 'onChange'> & {
|
|
2055
|
+
$isDisabled: ListboxProps['isDisabled'];
|
|
2056
|
+
$isInvalid: ListboxProps['isInvalid'];
|
|
2057
|
+
$isReadOnly: ListboxProps['isReadOnly'];
|
|
2058
|
+
$variant: ListboxProps['variant'];
|
|
2059
|
+
};
|
|
2060
|
+
|
|
2061
|
+
declare const ActiveDescendantListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
2062
|
+
context: ListboxContextProps;
|
|
2063
|
+
}, "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "label" | "slot" | "style" | "title" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2064
|
+
|
|
2065
|
+
declare const RovingTabindexListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
2066
|
+
context: ListboxContextProps;
|
|
2067
|
+
}, "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "label" | "slot" | "style" | "title" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* The Listbox component.
|
|
2071
|
+
* Can be used as controlled or uncontrolled.
|
|
2072
|
+
*/
|
|
2073
|
+
declare const Listbox: Comp<ListboxProps, HTMLDivElement>;
|
|
2074
|
+
|
|
2075
|
+
declare const LISTBOX_INITIAL_STATE: ListboxState;
|
|
2076
|
+
declare const ListboxContext: React$1.Context<ListboxContextProps>;
|
|
2077
|
+
|
|
2078
|
+
declare const ListboxReducer: (state: ListboxState, action: ListboxAction) => ListboxState;
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* Component props.
|
|
2082
|
+
*/
|
|
2083
|
+
interface ItemProps extends Omit<ComponentProps<'div'>, 'onClick'>, StylingProps {
|
|
2084
|
+
/**
|
|
2085
|
+
* Default select status.
|
|
2086
|
+
* Used for uncontrolled version.
|
|
2087
|
+
*/
|
|
2088
|
+
defaultSelected?: boolean;
|
|
2089
|
+
/** Whether the component is active or not. */
|
|
2090
|
+
isActive?: boolean;
|
|
2091
|
+
/** Whether the component is disabled or not. */
|
|
2092
|
+
isDisabled?: boolean;
|
|
2093
|
+
/** Whether the component is focused or not. */
|
|
2094
|
+
isFocused?: boolean;
|
|
2095
|
+
/** Whether the component is hovered or not. */
|
|
2096
|
+
isHovered?: boolean;
|
|
2097
|
+
/**
|
|
2098
|
+
* Whether the component is selected or not.
|
|
2099
|
+
* Used for controlled version.
|
|
2100
|
+
*/
|
|
2101
|
+
isSelected?: boolean;
|
|
2102
|
+
/** Method to handle component change. */
|
|
2103
|
+
onClick?(isSelected: boolean, value?: string, event?: MouseEvent<HTMLDivElement>, state?: ListboxContextProps): void;
|
|
2104
|
+
/** Value. */
|
|
2105
|
+
value: string;
|
|
2106
|
+
}
|
|
2107
|
+
type StyledItemProps = Omit<ItemProps, 'color' | 'onClick' | 'value'> & {
|
|
2108
|
+
$isActive: ItemProps['isActive'];
|
|
2109
|
+
$isDisabled: ItemProps['isDisabled'];
|
|
2110
|
+
$isFocused: ItemProps['isFocused'];
|
|
2111
|
+
$isHovered: ItemProps['isHovered'];
|
|
2112
|
+
$isSelected: ItemProps['isSelected'];
|
|
2113
|
+
};
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* The Item component.
|
|
2117
|
+
*/
|
|
2118
|
+
declare const Item: Comp<ItemProps, HTMLDivElement>;
|
|
2119
|
+
|
|
1745
2120
|
/**
|
|
1746
2121
|
* Component props.
|
|
1747
2122
|
*/
|
|
@@ -1764,11 +2139,10 @@ declare const LinkButton: Comp<LinkButtonProps, HTMLButtonElement>;
|
|
|
1764
2139
|
* Component variant.
|
|
1765
2140
|
*/
|
|
1766
2141
|
declare const TextVariant: {
|
|
1767
|
-
readonly subtitle: "subtitle";
|
|
1768
2142
|
readonly body: "body";
|
|
1769
|
-
readonly body2: "body2";
|
|
1770
2143
|
readonly button: "button";
|
|
1771
2144
|
readonly caption: "caption";
|
|
2145
|
+
readonly helper: "helper";
|
|
1772
2146
|
readonly inherit: "inherit";
|
|
1773
2147
|
};
|
|
1774
2148
|
type TextVariant = ValueOf<typeof TextVariant>;
|
|
@@ -1797,11 +2171,13 @@ interface TextProps extends ComponentProps<'span'>, StylingProps {
|
|
|
1797
2171
|
/** Override component. */
|
|
1798
2172
|
as?: TextComponent;
|
|
1799
2173
|
/** Color variant. Either from color palette or hex or rgb strings. */
|
|
1800
|
-
color?:
|
|
2174
|
+
color?: NotificationsColorPalette | NeutralColorPalette | (string & {});
|
|
1801
2175
|
/** Font family. */
|
|
1802
2176
|
fontFamily?: FontFamily;
|
|
1803
2177
|
/** Font size. */
|
|
1804
2178
|
fontSize?: string;
|
|
2179
|
+
/** Font weight. */
|
|
2180
|
+
fontWeight?: string;
|
|
1805
2181
|
/** Line height. */
|
|
1806
2182
|
lineHeight?: string;
|
|
1807
2183
|
/** Whether the text will truncate with a text overflow ellipsis or wrap. */
|
|
@@ -1814,6 +2190,7 @@ type StyledTextProps = Omit<TextProps, 'as' | 'color' | 'fontFamily' | 'fontSize
|
|
|
1814
2190
|
$color: TextProps['color'];
|
|
1815
2191
|
$fontFamily?: TextProps['fontFamily'];
|
|
1816
2192
|
$fontSize: TextProps['fontSize'];
|
|
2193
|
+
$fontWeight: TextProps['fontWeight'];
|
|
1817
2194
|
$lineHeight: TextProps['lineHeight'];
|
|
1818
2195
|
$noWrap: TextProps['noWrap'];
|
|
1819
2196
|
$variant: TextProps['variant'];
|
|
@@ -1932,8 +2309,6 @@ interface RadioGroupProps extends Omit<ComponentProps<'div'>, 'onChange'>, Styli
|
|
|
1932
2309
|
onChange?(values: string): void;
|
|
1933
2310
|
/** Method to handle component change. */
|
|
1934
2311
|
orientation?: RadioGroupOrientation;
|
|
1935
|
-
/** List of possible values. Useful to select all. */
|
|
1936
|
-
possibleValues?: string[];
|
|
1937
2312
|
/**
|
|
1938
2313
|
* Currently selected value.
|
|
1939
2314
|
* Used for controlled version.
|
|
@@ -1962,7 +2337,6 @@ interface RadioProps extends Omit<ComponentProps<'label'>, 'onChange'>, StylingP
|
|
|
1962
2337
|
/**
|
|
1963
2338
|
* Default select status.
|
|
1964
2339
|
* Used for uncontrolled version.
|
|
1965
|
-
* Shouldn't be used inside a group unless isControlled is force to true.
|
|
1966
2340
|
*/
|
|
1967
2341
|
defaultSelected?: boolean;
|
|
1968
2342
|
/** Custom props to pass to the input element. */
|
|
@@ -1982,7 +2356,6 @@ interface RadioProps extends Omit<ComponentProps<'label'>, 'onChange'>, StylingP
|
|
|
1982
2356
|
/**
|
|
1983
2357
|
* Whether the component is selected or not.
|
|
1984
2358
|
* Used for controlled version.
|
|
1985
|
-
* Shouldn't be used inside a group unless isControlled is force to true.
|
|
1986
2359
|
*/
|
|
1987
2360
|
isSelected?: boolean;
|
|
1988
2361
|
/** Name to pass to the input element. */
|
|
@@ -2040,9 +2413,7 @@ declare const SkeletonTextVariant: {
|
|
|
2040
2413
|
readonly h3: "h3";
|
|
2041
2414
|
readonly h4: "h4";
|
|
2042
2415
|
readonly h5: "h5";
|
|
2043
|
-
readonly subtitle: "subtitle";
|
|
2044
2416
|
readonly body: "body";
|
|
2045
|
-
readonly body2: "body2";
|
|
2046
2417
|
readonly button: "button";
|
|
2047
2418
|
readonly caption: "caption";
|
|
2048
2419
|
};
|
|
@@ -2100,25 +2471,20 @@ declare const SpinnerSize: {
|
|
|
2100
2471
|
readonly large: "large";
|
|
2101
2472
|
};
|
|
2102
2473
|
type SpinnerSize = ValueOf<typeof SpinnerSize>;
|
|
2103
|
-
/**
|
|
2104
|
-
* Component color.
|
|
2105
|
-
*/
|
|
2106
|
-
type SpinnerColor = typeof ColorPalette.default | typeof ColorPalette.question | typeof ColorPalette['no-data'] | ProductColorPalette;
|
|
2107
2474
|
/**
|
|
2108
2475
|
* Component props.
|
|
2109
2476
|
*/
|
|
2110
|
-
interface SpinnerProps extends ComponentProps<'img'>, LayoutProps, SpacingProps, PositioningProps {
|
|
2477
|
+
interface SpinnerProps extends Omit<ComponentProps<'img'>, 'color'>, LayoutProps, SpacingProps, PositioningProps {
|
|
2111
2478
|
/** Indicates whether the element is exposed to an accessibility API. */
|
|
2112
2479
|
'aria-hidden'?: boolean | 'false' | 'true';
|
|
2113
2480
|
/** A screen reader only label for the Spinner. */
|
|
2114
2481
|
'aria-label'?: string;
|
|
2115
|
-
/**
|
|
2116
|
-
|
|
2482
|
+
/** Whether the spinner is colored or not. */
|
|
2483
|
+
isColored?: boolean;
|
|
2117
2484
|
/** Spinner size. */
|
|
2118
2485
|
size?: SpinnerSize;
|
|
2119
2486
|
}
|
|
2120
2487
|
type StyledSpinnerProps = Omit<SpinnerProps, 'color'> & {
|
|
2121
|
-
$color?: SpinnerProps['color'];
|
|
2122
2488
|
$size?: SpinnerProps['size'];
|
|
2123
2489
|
};
|
|
2124
2490
|
|
|
@@ -2177,8 +2543,6 @@ interface SwitchGroupProps extends Omit<ComponentProps<'div'>, 'onChange'>, Styl
|
|
|
2177
2543
|
onChange?(values: string[]): void;
|
|
2178
2544
|
/** Method to handle component change. */
|
|
2179
2545
|
orientation?: SwitchGroupOrientation;
|
|
2180
|
-
/** List of possible values. Useful to select all. */
|
|
2181
|
-
possibleValues?: string[];
|
|
2182
2546
|
/**
|
|
2183
2547
|
* Currently selected values.
|
|
2184
2548
|
* Used for controlled version.
|
|
@@ -2207,7 +2571,6 @@ interface SwitchProps extends Omit<ComponentProps<'label'>, 'onChange'>, Styling
|
|
|
2207
2571
|
/**
|
|
2208
2572
|
* Default select status.
|
|
2209
2573
|
* Used for uncontrolled version.
|
|
2210
|
-
* Shouldn't be used inside a group unless isControlled is force to true.
|
|
2211
2574
|
*/
|
|
2212
2575
|
defaultSelected?: boolean;
|
|
2213
2576
|
/** Custom props to pass to the input element. */
|
|
@@ -2227,7 +2590,6 @@ interface SwitchProps extends Omit<ComponentProps<'label'>, 'onChange'>, Styling
|
|
|
2227
2590
|
/**
|
|
2228
2591
|
* Whether the component is selected or not.
|
|
2229
2592
|
* Used for controlled version.
|
|
2230
|
-
* Shouldn't be used inside a group unless isControlled is force to true.
|
|
2231
2593
|
*/
|
|
2232
2594
|
isSelected?: boolean;
|
|
2233
2595
|
/** Name to pass to the input element. */
|
|
@@ -2275,6 +2637,12 @@ interface TextFieldProps extends Omit<ComponentProps<'div'>, 'onChange'>, Stylin
|
|
|
2275
2637
|
* Used for uncontrolled version.
|
|
2276
2638
|
*/
|
|
2277
2639
|
defaultValue?: HTMLInputElement['value'];
|
|
2640
|
+
/** Whether the clear button is displayed or not. */
|
|
2641
|
+
hasClearButton?: boolean | Omit<Partial<IconButtonProps>, 'ref'>;
|
|
2642
|
+
/** Place for icon buttons between the clear button and the separator. */
|
|
2643
|
+
internal?: ReactNode | ((value?: string, isDisabled?: boolean, isInvalid?: boolean, isRequired?: boolean) => ReactNode);
|
|
2644
|
+
/** Place for icon buttons after the separator. */
|
|
2645
|
+
after?: ReactNode | ((value?: string, isDisabled?: boolean, isInvalid?: boolean, isRequired?: boolean) => ReactNode);
|
|
2278
2646
|
/** Custom props to pass to the input element. */
|
|
2279
2647
|
inputProps?: ComponentProps<'input'>;
|
|
2280
2648
|
/** Custom ref object to pass to the input element. */
|
|
@@ -2291,10 +2659,17 @@ interface TextFieldProps extends Omit<ComponentProps<'div'>, 'onChange'>, Stylin
|
|
|
2291
2659
|
isRequired?: boolean;
|
|
2292
2660
|
/** Label */
|
|
2293
2661
|
label?: string;
|
|
2662
|
+
/**
|
|
2663
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
2664
|
+
* Can also be a ReactElement.
|
|
2665
|
+
*/
|
|
2666
|
+
leftIcon?: Omit<IconProps, 'ref'>;
|
|
2294
2667
|
/** Name to pass to the input element. */
|
|
2295
2668
|
name?: HTMLInputElement['name'];
|
|
2296
2669
|
/** Method to handle component change. */
|
|
2297
2670
|
onChange?(value?: string, name?: string, event?: ChangeEvent<HTMLInputElement>): void;
|
|
2671
|
+
/** Method to handle component clear. */
|
|
2672
|
+
onClear?(): void;
|
|
2298
2673
|
/** Placeholder. */
|
|
2299
2674
|
placeholder?: string;
|
|
2300
2675
|
/**
|
|
@@ -2306,6 +2681,7 @@ interface TextFieldProps extends Omit<ComponentProps<'div'>, 'onChange'>, Stylin
|
|
|
2306
2681
|
variant?: TextFieldVariant;
|
|
2307
2682
|
}
|
|
2308
2683
|
type StyledTextFieldProps = Omit<TextFieldProps, 'color' | 'isColored' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'onChange'> & {
|
|
2684
|
+
$hasLeftIcon: boolean;
|
|
2309
2685
|
$hasContent: boolean;
|
|
2310
2686
|
$isColored: TextFieldProps['isColored'];
|
|
2311
2687
|
$isDisabled: TextFieldProps['isDisabled'];
|
|
@@ -2322,4 +2698,4 @@ type StyledTextFieldProps = Omit<TextFieldProps, 'color' | 'isColored' | 'isDisa
|
|
|
2322
2698
|
*/
|
|
2323
2699
|
declare const TextField: Comp<TextFieldProps, HTMLDivElement>;
|
|
2324
2700
|
|
|
2325
|
-
export { Alert, AlertProps, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppBarProps, AppContainer, AppContainerContext, AppContainerProps, AppContainerState, AppContent, AppContentProps, AppSidePanel, AppSidePanelProps, Badge, BadgeProps, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonColor, ButtonLink, ButtonLinkProps, ButtonProps, ButtonVariant, Card, CardActions, CardActionsProps, CardBody, CardBodyProps, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxGroupState, CheckboxProps, ColorPalette, Comp, ConditionalWrapper, ConditionalWrapperProps, ContainerProps, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardCollapsibleSectionItemsProps, DetailedCardHeader, DetailedCardHeaderProps, DetailedCardProps, DetailedCardSection, DetailedCardSectionItem, DetailedCardSectionItemProps, DetailedCardSectionProps, Falsy, FlexDirection, FlexLayoutProps, FlexWrap, Flexbox, FlexboxProps, FontFamily, Grid, GridItem, GridItemProps, GridLayoutProps, GridProps, Heading, HeadingComponent, HeadingProps, HeadingVariant, Icon, IconButton, IconButtonColor, IconButtonProps, IconButtonVariant, IconProps, IconSize, InternalSpacingProps, JustifyContent, JustifyItems, JustifySelf, LayoutProps, Link, LinkButton, LinkButtonProps, LinkProps, Menu, MenuBarItems, MenuItem, NeutralColorPalette, Number, NumberFormatOptions, NumberProps, Pill, PillProps, PositioningProps, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RadioGroupProps, RadioGroupState, RadioProps, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorAquaDark, RedsiftDataVizColorAquaDarker, RedsiftDataVizColorAquaDarkerer, RedsiftDataVizColorAquaDefault, RedsiftDataVizColorAquaLight, RedsiftDataVizColorAquaLighter, RedsiftDataVizColorAquaLighterer, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDarkerer, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBlueLighterer, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDarkerer, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorBrownLighterer, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDarkerer, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreenLighterer, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDarkerer, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorGreyLighterer, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDarkerer, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorOrangeLighterer, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDarkerer, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPinkLighterer, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDarkerer, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorPurpleLighterer, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDarkerer, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorRedLighterer, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDarkerer, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftDataVizColorYellowLighterer, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyDatagridCellFontFamily, RedsiftTypographyDatagridCellFontSize, RedsiftTypographyDatagridCellFontWeight, RedsiftTypographyDatagridCellLineHeight, RedsiftTypographyDatagridHeaderFontFamily, RedsiftTypographyDatagridHeaderFontSize, RedsiftTypographyDatagridHeaderFontWeight, RedsiftTypographyDatagridHeaderLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldProps, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarContextProps, SideNavigationMenuBarProps, SideNavigationMenuContextProps, SideNavigationMenuItem, SideNavigationMenuItemProps, SideNavigationMenuProps, SideNavigationMenuReducerAction, SideNavigationMenuReducerActionType, SideNavigationMenuReducerState, SizingProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkeletonTextVariant, SpacingProps, Spinner, SpinnerColor, SpinnerProps, SpinnerSize, StyledAlertProps, StyledAppBarProps, StyledAppContainerProps, StyledAppContentProps, StyledAppSidePanelProps, StyledBadgeProps, StyledBreadcrumbItemProps, StyledBreadcrumbsProps, StyledButton, StyledButtonLinkProps, StyledButtonProps, StyledCardActionsProps, StyledCardBodyProps, StyledCardHeaderProps, StyledCardProps, StyledCheckboxGroupProps, StyledCheckboxProps, StyledDetailedCardCollapsibleSectionItemsProps, StyledDetailedCardHeaderProps, StyledDetailedCardProps, StyledDetailedCardSectionItemProps, StyledDetailedCardSectionProps, StyledFlexboxProps, StyledGridItemProps, StyledGridProps, StyledHeadingProps, StyledIconButtonProps, StyledIconProps, StyledLink, StyledLinkButtonProps, StyledLinkProps, StyledNumberProps, StyledPillProps, StyledRadioGroupProps, StyledRadioProps, StyledShieldProps, StyledSideNavigationMenuBarProps, StyledSideNavigationMenuItemProps, StyledSideNavigationMenuProps, StyledSkeletonCircleProps, StyledSkeletonProps, StyledSkeletonTextProps, StyledSpinnerProps, StyledSwitchGroupProps, StyledSwitchProps, StyledTextFieldProps, StyledTextProps, StylingProps, Switch, SwitchGroup, SwitchGroupOrientation, SwitchGroupProps, SwitchGroupState, SwitchProps, Text, TextComponent, TextField, TextFieldProps, TextFieldVariant, TextProps, TextVariant, UseSideNavigationMenuBarProps, ValueOf, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, focusRing, isComponent, partitionComponents, useAppSidePanel, useBoundingClientRect, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
2701
|
+
export { ActiveDescendantListbox, Alert, AlertProps, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppBarProps, AppContainer, AppContainerContext, AppContainerProps, AppContainerState, AppContent, AppContentProps, AppSidePanel, AppSidePanelProps, AppSidePanelVariant, Badge, BadgeProps, BadgeVariant, BaseBreadcrumbs, BaseFocusWithinGroupAction, BaseGrid, BaseSkeleton, BreadcrumbItem, BreadcrumbItemProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonColor, ButtonLink, ButtonLinkProps, ButtonProps, ButtonVariant, Card, CardActions, CardActionsProps, CardBody, CardBodyProps, CardHeader, CardHeaderProps, CardProps, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxGroupState, CheckboxProps, Comp, ConditionalWrapper, ConditionalWrapperProps, ContainerProps, CtasColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardCollapsibleSectionItemsProps, DetailedCardHeader, DetailedCardHeaderProps, DetailedCardProps, DetailedCardSection, DetailedCardSectionItem, DetailedCardSectionItemProps, DetailedCardSectionProps, EventKey, FOCUS_WITHING_GROUP_INITIAL_STATE, Falsy, FlexDirection, FlexLayoutProps, FlexWrap, Flexbox, FlexboxProps, FocusWithinGroup, FocusWithinGroupAction, FocusWithinGroupActionType, FocusWithinGroupContext, FocusWithinGroupContextProps, FocusWithinGroupOptions, FocusWithinGroupProps, FocusWithinGroupReducer, FocusWithinGroupState, FontFamily, Grid, GridItem, GridItemProps, GridLayoutProps, GridProps, Heading, HeadingComponent, HeadingProps, HeadingVariant, Icon, IconButton, IconButtonColor, IconButtonProps, IconButtonVariant, IconDimensions, IconProps, IconSize, InternalSpacingProps, Item, ItemProps, JustifyContent, JustifyItems, JustifySelf, KeyDirection, LISTBOX_INITIAL_STATE, LayoutProps, Link, LinkButton, LinkButtonProps, LinkProps, Listbox, ListboxAction, ListboxActionType, ListboxContext, ListboxContextProps, ListboxProps, ListboxReducer, ListboxState, ListboxVariant, Menu, MenuBarItems, MenuItem, Navigation, NeutralColorPalette, NotificationsColorPalette, Number, NumberFormatOptions, NumberProps, Pill, PillProps, PositioningProps, PresentationColorPalette, Product, ProductColorPalette, ProductName, Radio, RadioGroup, RadioGroupOrientation, RadioGroupProps, RadioGroupState, RadioProps, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorCtasPrimaryActive, RedsiftColorCtasPrimaryActiveHover, RedsiftColorCtasPrimaryButtonActive, RedsiftColorCtasPrimaryButtonActiveHover, RedsiftColorCtasPrimaryButtonHover, RedsiftColorCtasPrimaryHover, RedsiftColorCtasPrimaryPrimary, RedsiftColorCtasSecondaryActive, RedsiftColorCtasSecondaryActiveHover, RedsiftColorCtasSecondaryButtonActive, RedsiftColorCtasSecondaryButtonActiveHover, RedsiftColorCtasSecondaryButtonHover, RedsiftColorCtasSecondaryHover, RedsiftColorCtasSecondaryPrimary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNotificationsErrorActive, RedsiftColorNotificationsErrorActiveHover, RedsiftColorNotificationsErrorButtonActive, RedsiftColorNotificationsErrorButtonActiveHover, RedsiftColorNotificationsErrorButtonHover, RedsiftColorNotificationsErrorHover, RedsiftColorNotificationsErrorPrimary, RedsiftColorNotificationsInfoActive, RedsiftColorNotificationsInfoActiveHover, RedsiftColorNotificationsInfoButtonActive, RedsiftColorNotificationsInfoButtonActiveHover, RedsiftColorNotificationsInfoButtonHover, RedsiftColorNotificationsInfoHover, RedsiftColorNotificationsInfoPrimary, RedsiftColorNotificationsNoDataActive, RedsiftColorNotificationsNoDataActiveHover, RedsiftColorNotificationsNoDataButtonActive, RedsiftColorNotificationsNoDataButtonActiveHover, RedsiftColorNotificationsNoDataButtonHover, RedsiftColorNotificationsNoDataHover, RedsiftColorNotificationsNoDataPrimary, RedsiftColorNotificationsQuestionActive, RedsiftColorNotificationsQuestionActiveHover, RedsiftColorNotificationsQuestionButtonActive, RedsiftColorNotificationsQuestionButtonActiveHover, RedsiftColorNotificationsQuestionButtonHover, RedsiftColorNotificationsQuestionHover, RedsiftColorNotificationsQuestionPrimary, RedsiftColorNotificationsSuccessActive, RedsiftColorNotificationsSuccessActiveHover, RedsiftColorNotificationsSuccessButtonActive, RedsiftColorNotificationsSuccessButtonActiveHover, RedsiftColorNotificationsSuccessButtonHover, RedsiftColorNotificationsSuccessHover, RedsiftColorNotificationsSuccessPrimary, RedsiftColorNotificationsWarningActive, RedsiftColorNotificationsWarningActiveHover, RedsiftColorNotificationsWarningButtonActive, RedsiftColorNotificationsWarningButtonActiveHover, RedsiftColorNotificationsWarningButtonHover, RedsiftColorNotificationsWarningHover, RedsiftColorNotificationsWarningPrimary, RedsiftColorPresentationAquaDark, RedsiftColorPresentationAquaDarker, RedsiftColorPresentationAquaDarkerer, RedsiftColorPresentationAquaDefault, RedsiftColorPresentationAquaLight, RedsiftColorPresentationAquaLighter, RedsiftColorPresentationAquaLighterer, RedsiftColorPresentationBlueDark, RedsiftColorPresentationBlueDarker, RedsiftColorPresentationBlueDarkerer, RedsiftColorPresentationBlueDefault, RedsiftColorPresentationBlueLight, RedsiftColorPresentationBlueLighter, RedsiftColorPresentationBlueLighterer, RedsiftColorPresentationBrownDark, RedsiftColorPresentationBrownDarker, RedsiftColorPresentationBrownDarkerer, RedsiftColorPresentationBrownDefault, RedsiftColorPresentationBrownLight, RedsiftColorPresentationBrownLighter, RedsiftColorPresentationBrownLighterer, RedsiftColorPresentationGreenDark, RedsiftColorPresentationGreenDarker, RedsiftColorPresentationGreenDarkerer, RedsiftColorPresentationGreenDefault, RedsiftColorPresentationGreenLight, RedsiftColorPresentationGreenLighter, RedsiftColorPresentationGreenLighterer, RedsiftColorPresentationGreyDark, RedsiftColorPresentationGreyDarker, RedsiftColorPresentationGreyDarkerer, RedsiftColorPresentationGreyDefault, RedsiftColorPresentationGreyLight, RedsiftColorPresentationGreyLighter, RedsiftColorPresentationGreyLighterer, RedsiftColorPresentationOrangeDark, RedsiftColorPresentationOrangeDarker, RedsiftColorPresentationOrangeDarkerer, RedsiftColorPresentationOrangeDefault, RedsiftColorPresentationOrangeLight, RedsiftColorPresentationOrangeLighter, RedsiftColorPresentationOrangeLighterer, RedsiftColorPresentationPinkDark, RedsiftColorPresentationPinkDarker, RedsiftColorPresentationPinkDarkerer, RedsiftColorPresentationPinkDefault, RedsiftColorPresentationPinkLight, RedsiftColorPresentationPinkLighter, RedsiftColorPresentationPinkLighterer, RedsiftColorPresentationPurpleDark, RedsiftColorPresentationPurpleDarker, RedsiftColorPresentationPurpleDarkerer, RedsiftColorPresentationPurpleDefault, RedsiftColorPresentationPurpleLight, RedsiftColorPresentationPurpleLighter, RedsiftColorPresentationPurpleLighterer, RedsiftColorPresentationRedDark, RedsiftColorPresentationRedDarker, RedsiftColorPresentationRedDarkerer, RedsiftColorPresentationRedDefault, RedsiftColorPresentationRedLight, RedsiftColorPresentationRedLighter, RedsiftColorPresentationRedLighterer, RedsiftColorPresentationYellowDark, RedsiftColorPresentationYellowDarker, RedsiftColorPresentationYellowDarkerer, RedsiftColorPresentationYellowDefault, RedsiftColorPresentationYellowLight, RedsiftColorPresentationYellowLighter, RedsiftColorPresentationYellowLighterer, RedsiftColorProductAsm, RedsiftColorProductBrandTrust, RedsiftColorProductCertificates, RedsiftColorProductOndmarc, RedsiftColorProductRadar, RedsiftColorProductRojoDs, RedsiftColorProductVendorSecure, RedsiftColorProductWebsite, RedsiftColorRedsift, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyDatagridCellFontFamily, RedsiftTypographyDatagridCellFontSize, RedsiftTypographyDatagridCellFontWeight, RedsiftTypographyDatagridCellLineHeight, RedsiftTypographyDatagridHeaderFontFamily, RedsiftTypographyDatagridHeaderFontSize, RedsiftTypographyDatagridHeaderFontWeight, RedsiftTypographyDatagridHeaderLineHeight, RedsiftTypographyFontFamilyPoppins, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBlack, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightExtraBold, RedsiftTypographyFontWeightExtraLight, RedsiftTypographyFontWeightLight, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, RedsiftTypographyFontWeightThin, RedsiftTypographyH1FontFamily, RedsiftTypographyH1FontSize, RedsiftTypographyH1FontWeight, RedsiftTypographyH1LineHeight, RedsiftTypographyH1TextTransform, RedsiftTypographyH2FontFamily, RedsiftTypographyH2FontSize, RedsiftTypographyH2FontWeight, RedsiftTypographyH2LineHeight, RedsiftTypographyH2TextTransform, RedsiftTypographyH3FontFamily, RedsiftTypographyH3FontSize, RedsiftTypographyH3FontWeight, RedsiftTypographyH3LineHeight, RedsiftTypographyH3TextTransform, RedsiftTypographyH4FontFamily, RedsiftTypographyH4FontSize, RedsiftTypographyH4FontWeight, RedsiftTypographyH4LineHeight, RedsiftTypographyH4TextTransform, RedsiftTypographyH5FontFamily, RedsiftTypographyH5FontSize, RedsiftTypographyH5FontWeight, RedsiftTypographyH5LineHeight, RedsiftTypographyH5TextTransform, RedsiftTypographyHelperFontFamily, RedsiftTypographyHelperFontSize, RedsiftTypographyHelperFontWeight, RedsiftTypographyHelperLineHeight, RedsiftTypographyHelperTextTransform, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, RovingTabindexListbox, RowStartMap, Shield, ShieldProps, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarContextProps, SideNavigationMenuBarProps, SideNavigationMenuBarVariant, SideNavigationMenuContextProps, SideNavigationMenuItem, SideNavigationMenuItemProps, SideNavigationMenuProps, SideNavigationMenuReducerAction, SideNavigationMenuReducerActionType, SideNavigationMenuReducerState, SizingProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonText, SkeletonTextProps, SkeletonTextVariant, SpacingProps, Spinner, SpinnerProps, SpinnerSize, StyledAlertProps, StyledAppBarProps, StyledAppContainerProps, StyledAppContentProps, StyledAppSidePanelProps, StyledBadgeProps, StyledBreadcrumbItemProps, StyledBreadcrumbsProps, StyledButton, StyledButtonLinkProps, StyledButtonProps, StyledCardActionsProps, StyledCardBodyProps, StyledCardHeaderProps, StyledCardProps, StyledCheckboxGroupProps, StyledCheckboxProps, StyledDetailedCardCollapsibleSectionItemsProps, StyledDetailedCardHeaderProps, StyledDetailedCardProps, StyledDetailedCardSectionItemProps, StyledDetailedCardSectionProps, StyledFlexboxProps, StyledGridItemProps, StyledGridProps, StyledHeadingProps, StyledIconButtonProps, StyledIconProps, StyledItemProps, StyledLink, StyledLinkButtonProps, StyledLinkProps, StyledListboxProps, StyledNumberProps, StyledPillProps, StyledRadioGroupProps, StyledRadioProps, StyledShieldProps, StyledSideNavigationMenuBarProps, StyledSideNavigationMenuItemProps, StyledSideNavigationMenuProps, StyledSkeletonCircleProps, StyledSkeletonProps, StyledSkeletonTextProps, StyledSpinnerProps, StyledSwitchGroupProps, StyledSwitchProps, StyledTextFieldProps, StyledTextProps, StylingProps, Switch, SwitchGroup, SwitchGroupOrientation, SwitchGroupProps, SwitchGroupState, SwitchProps, TabStop, Text, TextComponent, TextField, TextFieldProps, TextFieldVariant, TextProps, TextVariant, UseFocusGroupProps, UseFocusWithinGroupProps, UseListboxItemProps, UseSideNavigationMenuBarProps, ValueOf, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, focusRing, isComponent, partitionComponents, sizeToDimension, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|