@redsift/design-system 9.6.0 → 10.0.0-muiv5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +2 -2
- package/index.d.ts +861 -106
- package/index.js +1678 -664
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/style/index.css +736 -145
- package/style/redsift-design-tokens.css +727 -136
- package/style/redsift-style.css +9 -9
- package/style/redsift.css +736 -145
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { I18nProvider, useCollator, useDateFormatter, useFilter, useListFormatte
|
|
|
3
3
|
export { SSRProvider, useIsSSR } from '@react-aria/ssr';
|
|
4
4
|
import { rsiAsmHorizontal, rsiBrandTrustHorizontal, rsiCertificatesHorizontal, rsiOndmarcHorizontal, rsiPulseHorizontal, rsiRadarHorizontal, rsiRojoDsHorizontal, rsiVendorSecureHorizontal, rsiRedSiftHorizontal, mdiClose as mdiClose$1, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiChevronDown, mdiMenuOpen, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import React__default, { useState, useEffect, forwardRef, useRef, useCallback,
|
|
6
|
+
import React__default, { useState, useEffect, useContext, forwardRef, useRef, useCallback, useReducer, useMemo, useLayoutEffect } from 'react';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import styled, { css, keyframes } from 'styled-components';
|
|
9
9
|
import { useFocusRing } from '@react-aria/focus';
|
|
@@ -53,43 +53,6 @@ const ProductLogo = {
|
|
|
53
53
|
website: rsiRedSiftHorizontal
|
|
54
54
|
};
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Color palette.
|
|
58
|
-
*/
|
|
59
|
-
const CtasColorPalette = {
|
|
60
|
-
primary: 'primary',
|
|
61
|
-
secondary: 'secondary'
|
|
62
|
-
};
|
|
63
|
-
const NotificationsColorPalette = {
|
|
64
|
-
success: 'success',
|
|
65
|
-
error: 'error',
|
|
66
|
-
warning: 'warning',
|
|
67
|
-
info: 'info',
|
|
68
|
-
question: 'question',
|
|
69
|
-
'no-data': 'no-data'
|
|
70
|
-
};
|
|
71
|
-
const ProductColorPalette = Product;
|
|
72
|
-
const PresentationColorPalette = {
|
|
73
|
-
green: 'green',
|
|
74
|
-
pink: 'pink',
|
|
75
|
-
aqua: 'aqua',
|
|
76
|
-
brown: 'brown',
|
|
77
|
-
red: 'red',
|
|
78
|
-
yellow: 'yellow',
|
|
79
|
-
purple: 'purple',
|
|
80
|
-
orange: 'orange',
|
|
81
|
-
blue: 'blue',
|
|
82
|
-
grey: 'grey'
|
|
83
|
-
};
|
|
84
|
-
const NeutralColorPalette = {
|
|
85
|
-
black: 'black',
|
|
86
|
-
darkgrey: 'darkgrey',
|
|
87
|
-
midgrey: 'midgrey',
|
|
88
|
-
lightgrey: 'lightgrey',
|
|
89
|
-
xlightgrey: 'xlightgrey',
|
|
90
|
-
white: 'white'
|
|
91
|
-
};
|
|
92
|
-
|
|
93
56
|
function ownKeys(object, enumerableOnly) {
|
|
94
57
|
var keys = Object.keys(object);
|
|
95
58
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -181,6 +144,62 @@ function _toPropertyKey(arg) {
|
|
|
181
144
|
return typeof key === "symbol" ? key : String(key);
|
|
182
145
|
}
|
|
183
146
|
|
|
147
|
+
/**
|
|
148
|
+
* Color palette.
|
|
149
|
+
*/
|
|
150
|
+
const Theme = {
|
|
151
|
+
light: 'light',
|
|
152
|
+
dark: 'dark'
|
|
153
|
+
};
|
|
154
|
+
const PrimaryColorPalette = {
|
|
155
|
+
primary: 'primary',
|
|
156
|
+
secondary: 'secondary',
|
|
157
|
+
error: 'error'
|
|
158
|
+
};
|
|
159
|
+
const SecondaryColorPalette = {
|
|
160
|
+
success: 'success',
|
|
161
|
+
warning: 'warning',
|
|
162
|
+
info: 'info'
|
|
163
|
+
};
|
|
164
|
+
const ColorPalette = _objectSpread2(_objectSpread2({}, PrimaryColorPalette), SecondaryColorPalette);
|
|
165
|
+
const PrimaryButtonsColorPalette = {
|
|
166
|
+
primary: 'primary',
|
|
167
|
+
secondary: 'secondary',
|
|
168
|
+
error: 'error',
|
|
169
|
+
success: 'success',
|
|
170
|
+
warning: 'warning',
|
|
171
|
+
grey: 'grey'
|
|
172
|
+
};
|
|
173
|
+
const ButtonsColorPalette = _objectSpread2(_objectSpread2({}, PrimaryButtonsColorPalette), {}, {
|
|
174
|
+
info: 'info'
|
|
175
|
+
});
|
|
176
|
+
const NotificationsColorPalette = _objectSpread2(_objectSpread2({}, ColorPalette), {}, {
|
|
177
|
+
question: 'question',
|
|
178
|
+
'no-data': 'no-data'
|
|
179
|
+
});
|
|
180
|
+
const ProductColorPalette = Product;
|
|
181
|
+
const PresentationColorPalette = {
|
|
182
|
+
green: 'green',
|
|
183
|
+
pink: 'pink',
|
|
184
|
+
aqua: 'aqua',
|
|
185
|
+
brown: 'brown',
|
|
186
|
+
red: 'red',
|
|
187
|
+
yellow: 'yellow',
|
|
188
|
+
purple: 'purple',
|
|
189
|
+
orange: 'orange',
|
|
190
|
+
blue: 'blue',
|
|
191
|
+
grey: 'grey'
|
|
192
|
+
};
|
|
193
|
+
const NeutralColorPalette = {
|
|
194
|
+
black: 'black',
|
|
195
|
+
'x-dark-grey': 'x-dark-grey',
|
|
196
|
+
'dark-grey': 'dark-grey',
|
|
197
|
+
'mid-grey': 'mid-grey',
|
|
198
|
+
'light-grey': 'light-grey',
|
|
199
|
+
'x-light-grey': 'x-light-grey',
|
|
200
|
+
white: 'white'
|
|
201
|
+
};
|
|
202
|
+
|
|
184
203
|
const AlignSelf = {
|
|
185
204
|
auto: 'auto',
|
|
186
205
|
normal: 'normal',
|
|
@@ -424,85 +443,685 @@ function partitionComponents(components, predicates) {
|
|
|
424
443
|
|
|
425
444
|
/**
|
|
426
445
|
* Do not edit directly
|
|
427
|
-
* Generated on Wed,
|
|
428
|
-
*/
|
|
429
|
-
|
|
430
|
-
const
|
|
446
|
+
* Generated on Wed, 06 Mar 2024 15:52:38 GMT
|
|
447
|
+
*/
|
|
448
|
+
|
|
449
|
+
const RedsiftColorDarkComponentsPageBackground = '#333333';
|
|
450
|
+
const RedsiftColorDarkComponentsTextPrimary = '#ffffff';
|
|
451
|
+
const RedsiftColorDarkComponentsTextSecondary = '#f2f2f2';
|
|
452
|
+
const RedsiftColorDarkComponentsRedSiftLogoTextRed = '#ffffff';
|
|
453
|
+
const RedsiftColorDarkComponentsRedSiftLogoTextWhite = '#ffffff';
|
|
454
|
+
const RedsiftColorDarkComponentsRedSiftLogoTextGrey = '#ffffff';
|
|
455
|
+
const RedsiftColorDarkComponentsRedSiftLogoIconBackground = '#ffffff';
|
|
456
|
+
const RedsiftColorDarkComponentsRedSiftLogoIconR = '#e11010';
|
|
457
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondTopRight = '#ffb3b3';
|
|
458
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondBottomLeft = '#e24e4e';
|
|
459
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondBottomRight = '#ff8181';
|
|
460
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondDark = '#e24e4e';
|
|
461
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondMid = '#ff8181';
|
|
462
|
+
const RedsiftColorDarkComponentsRedSiftLogoDiamondLight = '#ffb3b3';
|
|
463
|
+
const RedsiftColorDarkComponentsProductLogosTextGrey = '#ffffff';
|
|
464
|
+
const RedsiftColorDarkComponentsProductLogosTextRed = '#ffffff';
|
|
465
|
+
const RedsiftColorDarkComponentsProductLogosTextWhite = '#ffffff';
|
|
466
|
+
const RedsiftColorDarkComponentsProductLogosIconRed = '#e11010';
|
|
467
|
+
const RedsiftColorDarkComponentsProductLogosIconGrey = '#ffffff';
|
|
468
|
+
const RedsiftColorDarkComponentsSideNavigationBackground = '#474747';
|
|
469
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemTextResting = '#f2f2f2';
|
|
470
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemTextDisabled = '#666666';
|
|
471
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemTextHover = '#ffffff';
|
|
472
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundHover = '#666666';
|
|
473
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundSecondary = 'transparent';
|
|
474
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundActive = '#e0e0e0';
|
|
475
|
+
const RedsiftColorDarkComponentsSideNavigationMenuItemActive = '#1c1c1c';
|
|
476
|
+
const RedsiftColorDarkComponentsSideNavigationScrollbarResting = '#666666';
|
|
477
|
+
const RedsiftColorDarkComponentsSideNavigationScrollbarHover = '#666666';
|
|
478
|
+
const RedsiftColorDarkComponentsSideNavigationRightLine = '#1c1c1c';
|
|
479
|
+
const RedsiftColorDarkComponentsSideNavigationCurrentMarker = '#f2f2f2';
|
|
480
|
+
const RedsiftColorDarkComponentsAppBarBackground = '#333333';
|
|
481
|
+
const RedsiftColorDarkComponentsAppBarBreadcrumbDefault = '#ffffff';
|
|
482
|
+
const RedsiftColorDarkComponentsAppBarBreadcrumbHover = '#142849';
|
|
483
|
+
const RedsiftColorDarkComponentsAppBarBreadcrumbDown = '#0d1b31';
|
|
484
|
+
const RedsiftColorDarkComponentsAppBarIconBackgroundHover = '#666666';
|
|
485
|
+
const RedsiftColorDarkComponentsAppBarIconBackgroundDown = '#e0e0e0';
|
|
486
|
+
const RedsiftColorDarkComponentsAppBarIconBackgroundActive = '#666666';
|
|
487
|
+
const RedsiftColorDarkComponentsAppBarIconBackgroundActiveHover = '#e0e0e0';
|
|
488
|
+
const RedsiftColorDarkComponentsAppBarIconBackgroundActiveDown = '#e0e0e0';
|
|
489
|
+
const RedsiftColorDarkComponentsAppBarBorder = '#1c1c1c';
|
|
490
|
+
const RedsiftColorDarkComponentsTooltipBackground = '#666666';
|
|
491
|
+
const RedsiftColorDarkComponentsTooltipText = '#ffffff';
|
|
492
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundDefault = '#4285f4';
|
|
493
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundHover = '#3b78dc';
|
|
494
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundActive = '#2e5dab';
|
|
495
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundDisabled = '#474747';
|
|
496
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextDefault = '#ffffff';
|
|
497
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextHover = '#ffffff';
|
|
498
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextActive = '#ffffff';
|
|
499
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextDisabled = '#858585';
|
|
500
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundDefault = '#51b7a4';
|
|
501
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundHover = '#49a594';
|
|
502
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundActive = '#398073';
|
|
503
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundDisabled = '#474747';
|
|
504
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextDefault = '#ffffff';
|
|
505
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextHover = '#ffffff';
|
|
506
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextActive = '#ffffff';
|
|
507
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextDisabled = '#858585';
|
|
508
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundDefault = '#02ac61';
|
|
509
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundHover = '#029b57';
|
|
510
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundActive = '#017844';
|
|
511
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundDisabled = '#474747';
|
|
512
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextDefault = '#ffffff';
|
|
513
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextHover = '#ffffff';
|
|
514
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextActive = '#ffffff';
|
|
515
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextDisabled = '#858585';
|
|
516
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundDefault = '#e11010';
|
|
517
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundHover = '#cb0e0e';
|
|
518
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundActive = '#9e0b0b';
|
|
519
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundDisabled = '#474747';
|
|
520
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextDefault = '#ffffff';
|
|
521
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextHover = '#ffffff';
|
|
522
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextActive = '#ffffff';
|
|
523
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextDisabled = '#858585';
|
|
524
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundDefault = '#fcbb54';
|
|
525
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundHover = '#e3a84c';
|
|
526
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundActive = '#b0833b';
|
|
527
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundDisabled = '#474747';
|
|
528
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextDefault = '#ffffff';
|
|
529
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextHover = '#ffffff';
|
|
530
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextActive = '#ffffff';
|
|
531
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextDisabled = '#858585';
|
|
532
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundDefault = '#4285f4';
|
|
533
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundHover = '#3b78dc';
|
|
534
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundActive = '#2e5dab';
|
|
535
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundDisabled = '#474747';
|
|
536
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextDefault = '#ffffff';
|
|
537
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextHover = '#ffffff';
|
|
538
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextActive = '#ffffff';
|
|
539
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextDisabled = '#858585';
|
|
540
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundDefault = '#666666';
|
|
541
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundHover = '#5c5c5c';
|
|
542
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundActive = '#525252';
|
|
543
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundDisabled = '#474747';
|
|
544
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextDefault = '#ffffff';
|
|
545
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextHover = '#ffffff';
|
|
546
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextActive = '#ffffff';
|
|
547
|
+
const RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextDisabled = '#858585';
|
|
548
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundDefault = 'transparent';
|
|
549
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundHover = '#142849';
|
|
550
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundActive = '#0d1b31';
|
|
551
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundDisabled = '#333333';
|
|
552
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextDefault = '#4285f4';
|
|
553
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextHover = '#689df6';
|
|
554
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextActive = '#8eb6f8';
|
|
555
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextDisabled = '#858585';
|
|
556
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundDefault = 'transparent';
|
|
557
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundHover = '#183731';
|
|
558
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundActive = '#102521';
|
|
559
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundDisabled = '#333333';
|
|
560
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextDefault = '#51b7a4';
|
|
561
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextHover = '#74c5b6';
|
|
562
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextActive = '#97d4c8';
|
|
563
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextDisabled = '#858585';
|
|
564
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundDefault = 'transparent';
|
|
565
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundHover = '#01341d';
|
|
566
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundActive = '#002213';
|
|
567
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundDisabled = '#333333';
|
|
568
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextDefault = '#02ac61';
|
|
569
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextHover = '#35bd81';
|
|
570
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextActive = '#67cda0';
|
|
571
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextDisabled = '#858585';
|
|
572
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundDefault = 'transparent';
|
|
573
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundHover = '#430505';
|
|
574
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundActive = '#2d0303';
|
|
575
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundDisabled = '#333333';
|
|
576
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextDefault = '#e11010';
|
|
577
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextHover = '#e74040';
|
|
578
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextActive = '#ed7070';
|
|
579
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextDisabled = '#858585';
|
|
580
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundDefault = 'transparent';
|
|
581
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundHover = '#4c3819';
|
|
582
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundActive = '#322511';
|
|
583
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundDisabled = '#333333';
|
|
584
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextDefault = '#fcbb54';
|
|
585
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextHover = '#fdc976';
|
|
586
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextActive = '#fdd698';
|
|
587
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextDisabled = '#858585';
|
|
588
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundDefault = 'transparent';
|
|
589
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundHover = '#142849';
|
|
590
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundActive = '#0d1b31';
|
|
591
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundDisabled = '#333333';
|
|
592
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextDefault = '#4285f4';
|
|
593
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextHover = '#689df6';
|
|
594
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextActive = '#8eb6f8';
|
|
595
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextDisabled = '#858585';
|
|
596
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundDefault = 'transparent';
|
|
597
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundHover = '#474747';
|
|
598
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundActive = '#333333';
|
|
599
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundDisabled = '#333333';
|
|
600
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextDefault = '#666666';
|
|
601
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextHover = '#858585';
|
|
602
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextActive = '#a3a3a3';
|
|
603
|
+
const RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextDisabled = '#858585';
|
|
604
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundDefault = 'transparent';
|
|
605
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundHover = '#142849';
|
|
606
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundActive = '#0d1b31';
|
|
607
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundDisabled = '#333333';
|
|
608
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextDefault = '#4285f4';
|
|
609
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextHover = '#689df6';
|
|
610
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextActive = '#8eb6f8';
|
|
611
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextDisabled = '#858585';
|
|
612
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundDefault = 'transparent';
|
|
613
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundHover = '#183731';
|
|
614
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundActive = '#102521';
|
|
615
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundDisabled = '#333333';
|
|
616
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextDefault = '#51b7a4';
|
|
617
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextHover = '#74c5b6';
|
|
618
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextActive = '#97d4c8';
|
|
619
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextDisabled = '#858585';
|
|
620
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundDefault = 'transparent';
|
|
621
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundHover = '#01341d';
|
|
622
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundActive = '#002213';
|
|
623
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundDisabled = '#333333';
|
|
624
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextDefault = '#02ac61';
|
|
625
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextHover = '#35bd81';
|
|
626
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextActive = '#67cda0';
|
|
627
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextDisabled = '#858585';
|
|
628
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundDefault = 'transparent';
|
|
629
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundHover = '#430505';
|
|
630
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundActive = '#2d0303';
|
|
631
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundDisabled = '#333333';
|
|
632
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextDefault = '#e11010';
|
|
633
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextHover = '#e74040';
|
|
634
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextActive = '#ed7070';
|
|
635
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextDisabled = '#858585';
|
|
636
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundDefault = 'transparent';
|
|
637
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundHover = '#4c3819';
|
|
638
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundActive = '#322511';
|
|
639
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundDisabled = '#333333';
|
|
640
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextDefault = '#fcbb54';
|
|
641
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextHover = '#fdc976';
|
|
642
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextActive = '#fdd698';
|
|
643
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextDisabled = '#858585';
|
|
644
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundDefault = 'transparent';
|
|
645
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundHover = '#142849';
|
|
646
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundActive = '#0d1b31';
|
|
647
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundDisabled = '#333333';
|
|
648
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextDefault = '#4285f4';
|
|
649
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextHover = '#689df6';
|
|
650
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextActive = '#8eb6f8';
|
|
651
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextDisabled = '#858585';
|
|
652
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundDefault = 'transparent';
|
|
653
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundHover = '#474747';
|
|
654
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundActive = '#333333';
|
|
655
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundDisabled = '#333333';
|
|
656
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextDefault = '#666666';
|
|
657
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextHover = '#858585';
|
|
658
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextActive = '#a3a3a3';
|
|
659
|
+
const RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextDisabled = '#858585';
|
|
660
|
+
const RedsiftColorDarkComponentsAiAiBorder = '#e11010';
|
|
661
|
+
const RedsiftColorDarkComponentsAiAiIcon = '#e11010';
|
|
662
|
+
const RedsiftColorDarkComponentsSpinnerSpinner = '#142849';
|
|
663
|
+
const RedsiftColorDarkComponentsAlertSuccessBackground = '#029b57';
|
|
664
|
+
const RedsiftColorDarkComponentsAlertSuccessIcon = '#017844';
|
|
665
|
+
const RedsiftColorDarkComponentsAlertText = '#f2f2f2';
|
|
666
|
+
const RedsiftColorDarkComponentsAlertErrorBackground = '#cb0e0e';
|
|
667
|
+
const RedsiftColorDarkComponentsAlertErrorIcon = '#9e0b0b';
|
|
668
|
+
const RedsiftColorDarkComponentsAlertWarningBackground = '#e3a84c';
|
|
669
|
+
const RedsiftColorDarkComponentsAlertWarningIcon = '#b0833b';
|
|
670
|
+
const RedsiftColorDarkComponentsAlertInfoBackground = '#3b78dc';
|
|
671
|
+
const RedsiftColorDarkComponentsAlertInfoIcon = '#2e5dab';
|
|
672
|
+
const RedsiftColorDarkComponentsIconsDefault = '#f2f2f2';
|
|
673
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusDefaultBackground = '#474747';
|
|
674
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusDefaultText = '#ffffff';
|
|
675
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusDividers = '#666666';
|
|
676
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusHoverBackground = '#666666';
|
|
677
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusHoverText = '#ffffff';
|
|
678
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusClickBackground = '#e0e0e0';
|
|
679
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusClickText = '#1c1c1c';
|
|
680
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveText = '#ffffff';
|
|
681
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveBackground = '#4285f4';
|
|
682
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveHoverText = '#ffffff';
|
|
683
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveHoverBackground = '#3b78dc';
|
|
684
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveClickText = '#1c1c1c';
|
|
685
|
+
const RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveClickBackground = '#e0e0e0';
|
|
686
|
+
const RedsiftColorDarkComponentsCheckboxFillDefault = '#4285f4';
|
|
687
|
+
const RedsiftColorDarkComponentsCheckboxFillDefaultHover = '#142849';
|
|
688
|
+
const RedsiftColorDarkComponentsCheckboxFillUncolored = '#666666';
|
|
689
|
+
const RedsiftColorDarkComponentsCheckboxFillUncoloredHover = '#474747';
|
|
690
|
+
const RedsiftColorDarkComponentsCheckboxFillDisabled = '#e0e0e0';
|
|
691
|
+
const RedsiftColorDarkComponentsCheckboxFillInvalid = '#e11010';
|
|
692
|
+
const RedsiftColorDarkComponentsCheckboxFillInvalidHover = '#f39f9f';
|
|
693
|
+
const RedsiftColorDarkComponentsCheckboxTextDefault = '#ffffff';
|
|
694
|
+
const RedsiftColorDarkComponentsCheckboxTextInvalid = '#e11010';
|
|
695
|
+
const RedsiftColorDarkComponentsCheckboxTextDisabled = '#e0e0e0';
|
|
696
|
+
const RedsiftColorDarkComponentsRadioFillDefault = '#4285f4';
|
|
697
|
+
const RedsiftColorDarkComponentsRadioFillDefaultHover = '#142849';
|
|
698
|
+
const RedsiftColorDarkComponentsRadioFillUncolored = '#666666';
|
|
699
|
+
const RedsiftColorDarkComponentsRadioFillUncoloredHover = '#474747';
|
|
700
|
+
const RedsiftColorDarkComponentsRadioFillDisabled = '#e0e0e0';
|
|
701
|
+
const RedsiftColorDarkComponentsRadioFillInvalid = '#e11010';
|
|
702
|
+
const RedsiftColorDarkComponentsRadioFillInvalidHover = '#f39f9f';
|
|
703
|
+
const RedsiftColorDarkComponentsRadioTextDefault = '#ffffff';
|
|
704
|
+
const RedsiftColorDarkComponentsRadioTextInvalid = '#e11010';
|
|
705
|
+
const RedsiftColorDarkComponentsRadioTextDisabled = '#e0e0e0';
|
|
706
|
+
const RedsiftColorDarkComponentsSwitchDotDefault = '#0d1b31';
|
|
707
|
+
const RedsiftColorDarkComponentsSwitchDotDefaultHover = '#3b78dc';
|
|
708
|
+
const RedsiftColorDarkComponentsSwitchDotUncolored = '#666666';
|
|
709
|
+
const RedsiftColorDarkComponentsSwitchDotUncoloredHover = '#474747';
|
|
710
|
+
const RedsiftColorDarkComponentsSwitchDotDisabled = '#0d1b31';
|
|
711
|
+
const RedsiftColorDarkComponentsSwitchDotInvalid = '#0d1b31';
|
|
712
|
+
const RedsiftColorDarkComponentsSwitchDotInvalidHover = '#f39f9f';
|
|
713
|
+
const RedsiftColorDarkComponentsSwitchBackgroundDefault = '#3b78dc';
|
|
714
|
+
const RedsiftColorDarkComponentsSwitchBackgroundDefaultActive = '#4285f4';
|
|
715
|
+
const RedsiftColorDarkComponentsSwitchBackgroundUncolored = '#474747';
|
|
716
|
+
const RedsiftColorDarkComponentsSwitchBackgroundUncoloredActive = '#666666';
|
|
717
|
+
const RedsiftColorDarkComponentsSwitchBackgroundDisabled = '#e0e0e0';
|
|
718
|
+
const RedsiftColorDarkComponentsSwitchBackgroundDisabledActive = '#e0e0e0';
|
|
719
|
+
const RedsiftColorDarkComponentsSwitchBackgroundInvalid = '#f39f9f';
|
|
720
|
+
const RedsiftColorDarkComponentsSwitchBackgroundInvalidActive = '#e11010';
|
|
721
|
+
const RedsiftColorDarkComponentsSwitchTextDefault = '#ffffff';
|
|
722
|
+
const RedsiftColorDarkComponentsSwitchTextInvalid = '#e11010';
|
|
723
|
+
const RedsiftColorDarkComponentsSwitchTextDisabled = '#e0e0e0';
|
|
724
|
+
const RedsiftColorDarkComponentsTabsLine = '#666666';
|
|
725
|
+
const RedsiftColorDarkComponentsModalBackground = '#1c1c1c';
|
|
726
|
+
const RedsiftColorLightComponentsPageBackground = '#ffffff';
|
|
727
|
+
const RedsiftColorLightComponentsTextPrimary = '#333333';
|
|
728
|
+
const RedsiftColorLightComponentsTextSecondary = '#474747';
|
|
729
|
+
const RedsiftColorLightComponentsRedSiftLogoTextRed = '#e11010';
|
|
730
|
+
const RedsiftColorLightComponentsRedSiftLogoTextWhite = '#ffffff';
|
|
731
|
+
const RedsiftColorLightComponentsRedSiftLogoTextGrey = '#333333';
|
|
732
|
+
const RedsiftColorLightComponentsRedSiftLogoIconBackground = '#e11010';
|
|
733
|
+
const RedsiftColorLightComponentsRedSiftLogoIconR = '#ffffff';
|
|
734
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondTopRight = '#e24e4e';
|
|
735
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondBottomLeft = '#ffb3b3';
|
|
736
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondBottomRight = '#ff8181';
|
|
737
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondDark = '#e24e4e';
|
|
738
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondMid = '#ff8181';
|
|
739
|
+
const RedsiftColorLightComponentsRedSiftLogoDiamondLight = '#ffb3b3';
|
|
740
|
+
const RedsiftColorLightComponentsProductLogosTextGrey = '#333333';
|
|
741
|
+
const RedsiftColorLightComponentsProductLogosTextRed = '#e11010';
|
|
742
|
+
const RedsiftColorLightComponentsProductLogosTextWhite = '#ffffff';
|
|
743
|
+
const RedsiftColorLightComponentsProductLogosIconRed = '#e11010';
|
|
744
|
+
const RedsiftColorLightComponentsProductLogosIconGrey = '#333333';
|
|
745
|
+
const RedsiftColorLightComponentsSideNavigationBackground = '#f2f2f2';
|
|
746
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemTextResting = '#474747';
|
|
747
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemTextDisabled = '#666666';
|
|
748
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemTextHover = '#1c1c1c';
|
|
749
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemBackgroundHover = '#E6E6E6';
|
|
750
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemBackgroundSecondary = 'transparent';
|
|
751
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemBackgroundActive = '#e0e0e0';
|
|
752
|
+
const RedsiftColorLightComponentsSideNavigationMenuItemActive = '#1c1c1c';
|
|
753
|
+
const RedsiftColorLightComponentsSideNavigationScrollbarResting = '#e0e0e0';
|
|
754
|
+
const RedsiftColorLightComponentsSideNavigationScrollbarHover = '#666666';
|
|
755
|
+
const RedsiftColorLightComponentsSideNavigationRightLine = '#e9e9e9';
|
|
756
|
+
const RedsiftColorLightComponentsSideNavigationCurrentMarker = '#1c1c1c';
|
|
757
|
+
const RedsiftColorLightComponentsAppBarBackground = '#ffffff';
|
|
758
|
+
const RedsiftColorLightComponentsAppBarBreadcrumbDefault = '#1c1c1c';
|
|
759
|
+
const RedsiftColorLightComponentsAppBarBreadcrumbHover = '#3b78dc';
|
|
760
|
+
const RedsiftColorLightComponentsAppBarBreadcrumbDown = '#2e5dab';
|
|
761
|
+
const RedsiftColorLightComponentsAppBarIconBackgroundHover = '#f2f2f2';
|
|
762
|
+
const RedsiftColorLightComponentsAppBarIconBackgroundDown = '#e0e0e0';
|
|
763
|
+
const RedsiftColorLightComponentsAppBarIconBackgroundActive = '#f2f2f2';
|
|
764
|
+
const RedsiftColorLightComponentsAppBarIconBackgroundActiveHover = '#e0e0e0';
|
|
765
|
+
const RedsiftColorLightComponentsAppBarIconBackgroundActiveDown = '#e0e0e0';
|
|
766
|
+
const RedsiftColorLightComponentsAppBarBorder = '#e9e9e9';
|
|
767
|
+
const RedsiftColorLightComponentsTooltipBackground = '#ffffff';
|
|
768
|
+
const RedsiftColorLightComponentsTooltipText = '#333333';
|
|
769
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundDefault = '#4285f4';
|
|
770
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundHover = '#3b78dc';
|
|
771
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundActive = '#2e5dab';
|
|
772
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundDisabled = '#e0e0e0';
|
|
773
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextDefault = '#ffffff';
|
|
774
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextHover = '#ffffff';
|
|
775
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextActive = '#ffffff';
|
|
776
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextDisabled = '#858585';
|
|
777
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundDefault = '#51b7a4';
|
|
778
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundHover = '#49a594';
|
|
779
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundActive = '#398073';
|
|
780
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundDisabled = '#e0e0e0';
|
|
781
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextDefault = '#ffffff';
|
|
782
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextHover = '#ffffff';
|
|
783
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextActive = '#ffffff';
|
|
784
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextDisabled = '#858585';
|
|
785
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundDefault = '#02ac61';
|
|
786
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundHover = '#029b57';
|
|
787
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundActive = '#017844';
|
|
788
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundDisabled = '#e0e0e0';
|
|
789
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextDefault = '#ffffff';
|
|
790
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextHover = '#ffffff';
|
|
791
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextActive = '#ffffff';
|
|
792
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextDisabled = '#858585';
|
|
793
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundDefault = '#e11010';
|
|
794
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundHover = '#cb0e0e';
|
|
795
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundActive = '#9e0b0b';
|
|
796
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundDisabled = '#e0e0e0';
|
|
797
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextDefault = '#ffffff';
|
|
798
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextHover = '#ffffff';
|
|
799
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextActive = '#ffffff';
|
|
800
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextDisabled = '#858585';
|
|
801
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundDefault = '#fcbb54';
|
|
802
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundHover = '#e3a84c';
|
|
803
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundActive = '#b0833b';
|
|
804
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundDisabled = '#e0e0e0';
|
|
805
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextDefault = '#ffffff';
|
|
806
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextHover = '#ffffff';
|
|
807
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextActive = '#ffffff';
|
|
808
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextDisabled = '#858585';
|
|
809
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundDefault = '#4285f4';
|
|
810
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundHover = '#3b78dc';
|
|
811
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundActive = '#2e5dab';
|
|
812
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundDisabled = '#e0e0e0';
|
|
813
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextDefault = '#ffffff';
|
|
814
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextHover = '#ffffff';
|
|
815
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextActive = '#ffffff';
|
|
816
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextDisabled = '#858585';
|
|
817
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundDefault = '#666666';
|
|
818
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundHover = '#5c5c5c';
|
|
819
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundActive = '#525252';
|
|
820
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundDisabled = '#e0e0e0';
|
|
821
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextDefault = '#ffffff';
|
|
822
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextHover = '#ffffff';
|
|
823
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextActive = '#ffffff';
|
|
824
|
+
const RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextDisabled = '#858585';
|
|
825
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundDefault = 'transparent';
|
|
826
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundHover = '#d9e7fd';
|
|
827
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundActive = '#b3cefb';
|
|
828
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundDisabled = '#ffffff';
|
|
829
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextDefault = '#4285f4';
|
|
830
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextHover = '#3b78dc';
|
|
831
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextActive = '#2e5dab';
|
|
832
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextDisabled = '#858585';
|
|
833
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundDefault = 'transparent';
|
|
834
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundHover = '#dcf1ed';
|
|
835
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundActive = '#b9e2db';
|
|
836
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundDisabled = '#ffffff';
|
|
837
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextDefault = '#51b7a4';
|
|
838
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextHover = '#49a594';
|
|
839
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextActive = '#398073';
|
|
840
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextDisabled = '#858585';
|
|
841
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundDefault = 'transparent';
|
|
842
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundHover = '#cceedf';
|
|
843
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundActive = '#9adec0';
|
|
844
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundDisabled = '#ffffff';
|
|
845
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextDefault = '#02ac61';
|
|
846
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextHover = '#029b57';
|
|
847
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextActive = '#017844';
|
|
848
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextDisabled = '#858585';
|
|
849
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundDefault = 'transparent';
|
|
850
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundHover = '#f9cfcf';
|
|
851
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundActive = '#f39f9f';
|
|
852
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundDisabled = '#ffffff';
|
|
853
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextDefault = '#e11010';
|
|
854
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextHover = '#cb0e0e';
|
|
855
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextActive = '#9e0b0b';
|
|
856
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextDisabled = '#858585';
|
|
857
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundDefault = 'transparent';
|
|
858
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundHover = '#fef1dd';
|
|
859
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundActive = '#fee4bb';
|
|
860
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundDisabled = '#ffffff';
|
|
861
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextDefault = '#fcbb54';
|
|
862
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextHover = '#e3a84c';
|
|
863
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextActive = '#b0833b';
|
|
864
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextDisabled = '#858585';
|
|
865
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundDefault = 'transparent';
|
|
866
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundHover = '#d9e7fd';
|
|
867
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundActive = '#b3cefb';
|
|
868
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundDisabled = '#ffffff';
|
|
869
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextDefault = '#4285f4';
|
|
870
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextHover = '#3b78dc';
|
|
871
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextActive = '#2e5dab';
|
|
872
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextDisabled = '#858585';
|
|
873
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundDefault = 'transparent';
|
|
874
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundHover = '#f2f2f2';
|
|
875
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundActive = '#e0e0e0';
|
|
876
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundDisabled = '#ffffff';
|
|
877
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextDefault = '#666666';
|
|
878
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextHover = '#525252';
|
|
879
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextActive = '#525252';
|
|
880
|
+
const RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextDisabled = '#858585';
|
|
881
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundDefault = 'transparent';
|
|
882
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundHover = '#d9e7fd';
|
|
883
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundActive = '#b3cefb';
|
|
884
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundDisabled = '#ffffff';
|
|
885
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextDefault = '#4285f4';
|
|
886
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextHover = '#3b78dc';
|
|
887
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextActive = '#2e5dab';
|
|
888
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextDisabled = '#858585';
|
|
889
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundDefault = 'transparent';
|
|
890
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundHover = '#dcf1ed';
|
|
891
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundActive = '#b9e2db';
|
|
892
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundDisabled = '#ffffff';
|
|
893
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextDefault = '#51b7a4';
|
|
894
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextHover = '#49a594';
|
|
895
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextActive = '#398073';
|
|
896
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextDisabled = '#858585';
|
|
897
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundDefault = 'transparent';
|
|
898
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundHover = '#cceedf';
|
|
899
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundActive = '#9adec0';
|
|
900
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundDisabled = '#ffffff';
|
|
901
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextDefault = '#02ac61';
|
|
902
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextHover = '#029b57';
|
|
903
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextActive = '#017844';
|
|
904
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextDisabled = '#858585';
|
|
905
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundDefault = 'transparent';
|
|
906
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundHover = '#f9cfcf';
|
|
907
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundActive = '#f39f9f';
|
|
908
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundDisabled = '#ffffff';
|
|
909
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextDefault = '#e11010';
|
|
910
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextHover = '#cb0e0e';
|
|
911
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextActive = '#9e0b0b';
|
|
912
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextDisabled = '#858585';
|
|
913
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundDefault = 'transparent';
|
|
914
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundHover = '#fef1dd';
|
|
915
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundActive = '#fee4bb';
|
|
916
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundDisabled = '#ffffff';
|
|
917
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextDefault = '#fcbb54';
|
|
918
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextHover = '#e3a84c';
|
|
919
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextActive = '#b0833b';
|
|
920
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextDisabled = '#858585';
|
|
921
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundDefault = 'transparent';
|
|
922
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundHover = '#d9e7fd';
|
|
923
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundActive = '#b3cefb';
|
|
924
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundDisabled = '#ffffff';
|
|
925
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextDefault = '#4285f4';
|
|
926
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextHover = '#3b78dc';
|
|
927
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextActive = '#2e5dab';
|
|
928
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextDisabled = '#858585';
|
|
929
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundDefault = 'transparent';
|
|
930
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundHover = '#f2f2f2';
|
|
931
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundActive = '#e0e0e0';
|
|
932
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundDisabled = '#ffffff';
|
|
933
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextDefault = '#666666';
|
|
934
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextHover = '#525252';
|
|
935
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextActive = '#525252';
|
|
936
|
+
const RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextDisabled = '#858585';
|
|
937
|
+
const RedsiftColorLightComponentsAiAiBorder = '#e11010';
|
|
938
|
+
const RedsiftColorLightComponentsAiAiIcon = '#e11010';
|
|
939
|
+
const RedsiftColorLightComponentsSpinnerSpinner = '#4285f4';
|
|
940
|
+
const RedsiftColorLightComponentsAlertSuccessBackground = '#cceedf';
|
|
941
|
+
const RedsiftColorLightComponentsAlertSuccessIcon = '#02ac61';
|
|
942
|
+
const RedsiftColorLightComponentsAlertText = '#333333';
|
|
943
|
+
const RedsiftColorLightComponentsAlertErrorBackground = '#f9cfcf';
|
|
944
|
+
const RedsiftColorLightComponentsAlertErrorIcon = '#e11010';
|
|
945
|
+
const RedsiftColorLightComponentsAlertWarningBackground = '#fef1dd';
|
|
946
|
+
const RedsiftColorLightComponentsAlertWarningIcon = '#fcbb54';
|
|
947
|
+
const RedsiftColorLightComponentsAlertInfoBackground = '#d9e7fd';
|
|
948
|
+
const RedsiftColorLightComponentsAlertInfoIcon = '#4285f4';
|
|
949
|
+
const RedsiftColorLightComponentsIconsDefault = '#333333';
|
|
950
|
+
const RedsiftColorLightComponentsDropdownsAndMenusDefaultBackground = '#ffffff';
|
|
951
|
+
const RedsiftColorLightComponentsDropdownsAndMenusDefaultText = '#333333';
|
|
952
|
+
const RedsiftColorLightComponentsDropdownsAndMenusDividers = '#e0e0e0';
|
|
953
|
+
const RedsiftColorLightComponentsDropdownsAndMenusHoverBackground = '#f2f2f2';
|
|
954
|
+
const RedsiftColorLightComponentsDropdownsAndMenusHoverText = '#333333';
|
|
955
|
+
const RedsiftColorLightComponentsDropdownsAndMenusClickBackground = '#333333';
|
|
956
|
+
const RedsiftColorLightComponentsDropdownsAndMenusClickText = '#ffffff';
|
|
957
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveText = '#ffffff';
|
|
958
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveBackground = '#4285f4';
|
|
959
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveHoverText = '#ffffff';
|
|
960
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveHoverBackground = '#3b78dc';
|
|
961
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveClickText = '#ffffff';
|
|
962
|
+
const RedsiftColorLightComponentsDropdownsAndMenusToggleActiveClickBackground = '#333333';
|
|
963
|
+
const RedsiftColorLightComponentsCheckboxFillDefault = '#4285f4';
|
|
964
|
+
const RedsiftColorLightComponentsCheckboxFillDefaultHover = '#d9e7fd';
|
|
965
|
+
const RedsiftColorLightComponentsCheckboxFillUncolored = '#666666';
|
|
966
|
+
const RedsiftColorLightComponentsCheckboxFillUncoloredHover = '#474747';
|
|
967
|
+
const RedsiftColorLightComponentsCheckboxFillDisabled = '#e0e0e0';
|
|
968
|
+
const RedsiftColorLightComponentsCheckboxFillInvalid = '#e11010';
|
|
969
|
+
const RedsiftColorLightComponentsCheckboxFillInvalidHover = '#f9cfcf';
|
|
970
|
+
const RedsiftColorLightComponentsCheckboxTextDefault = '#333333';
|
|
971
|
+
const RedsiftColorLightComponentsCheckboxTextInvalid = '#e11010';
|
|
972
|
+
const RedsiftColorLightComponentsCheckboxTextDisabled = '#e0e0e0';
|
|
973
|
+
const RedsiftColorLightComponentsRadioFillDefault = '#4285f4';
|
|
974
|
+
const RedsiftColorLightComponentsRadioFillDefaultHover = '#d9e7fd';
|
|
975
|
+
const RedsiftColorLightComponentsRadioFillUncolored = '#666666';
|
|
976
|
+
const RedsiftColorLightComponentsRadioFillUncoloredHover = '#474747';
|
|
977
|
+
const RedsiftColorLightComponentsRadioFillDisabled = '#e0e0e0';
|
|
978
|
+
const RedsiftColorLightComponentsRadioFillInvalid = '#e11010';
|
|
979
|
+
const RedsiftColorLightComponentsRadioFillInvalidHover = '#f9cfcf';
|
|
980
|
+
const RedsiftColorLightComponentsRadioTextDefault = '#333333';
|
|
981
|
+
const RedsiftColorLightComponentsRadioTextInvalid = '#e11010';
|
|
982
|
+
const RedsiftColorLightComponentsRadioTextDisabled = '#e0e0e0';
|
|
983
|
+
const RedsiftColorLightComponentsSwitchDotDefault = '#ffffff';
|
|
984
|
+
const RedsiftColorLightComponentsSwitchDotDefaultHover = '#d9e7fd';
|
|
985
|
+
const RedsiftColorLightComponentsSwitchDotUncolored = '#ffffff';
|
|
986
|
+
const RedsiftColorLightComponentsSwitchDotUncoloredHover = '#474747';
|
|
987
|
+
const RedsiftColorLightComponentsSwitchDotDisabled = '#ffffff';
|
|
988
|
+
const RedsiftColorLightComponentsSwitchDotInvalid = '#ffffff';
|
|
989
|
+
const RedsiftColorLightComponentsSwitchDotInvalidHover = '#f9cfcf';
|
|
990
|
+
const RedsiftColorLightComponentsSwitchBackgroundDefault = '#d9e7fd';
|
|
991
|
+
const RedsiftColorLightComponentsSwitchBackgroundDefaultActive = '#4285f4';
|
|
992
|
+
const RedsiftColorLightComponentsSwitchBackgroundUncolored = '#474747';
|
|
993
|
+
const RedsiftColorLightComponentsSwitchBackgroundUncoloredActive = '#666666';
|
|
994
|
+
const RedsiftColorLightComponentsSwitchBackgroundDisabled = '#e0e0e0';
|
|
995
|
+
const RedsiftColorLightComponentsSwitchBackgroundDisabledActive = '#666666';
|
|
996
|
+
const RedsiftColorLightComponentsSwitchBackgroundInvalid = '#f9cfcf';
|
|
997
|
+
const RedsiftColorLightComponentsSwitchBackgroundInvalidActive = '#e11010';
|
|
998
|
+
const RedsiftColorLightComponentsSwitchTextDefault = '#333333';
|
|
999
|
+
const RedsiftColorLightComponentsSwitchTextInvalid = '#e11010';
|
|
1000
|
+
const RedsiftColorLightComponentsSwitchTextDisabled = '#e0e0e0';
|
|
1001
|
+
const RedsiftColorLightComponentsTabsLine = '#e0e0e0';
|
|
1002
|
+
const RedsiftColorLightComponentsModalBackground = '#ffffff';
|
|
1003
|
+
const RedsiftColorRedL4 = '#f9cfcf';
|
|
1004
|
+
const RedsiftColorRedL3 = '#f39f9f';
|
|
1005
|
+
const RedsiftColorRedL2 = '#ed7070';
|
|
1006
|
+
const RedsiftColorRedL1 = '#e74040';
|
|
1007
|
+
const RedsiftColorRedN = '#e11010';
|
|
1008
|
+
const RedsiftColorRedD1 = '#cb0e0e';
|
|
1009
|
+
const RedsiftColorRedD2 = '#9e0b0b';
|
|
1010
|
+
const RedsiftColorRedD3 = '#430505';
|
|
1011
|
+
const RedsiftColorRedD4 = '#2d0303';
|
|
1012
|
+
const RedsiftColorBlueL4 = '#d9e7fd';
|
|
1013
|
+
const RedsiftColorBlueL3 = '#b3cefb';
|
|
1014
|
+
const RedsiftColorBlueL2 = '#8eb6f8';
|
|
1015
|
+
const RedsiftColorBlueL1 = '#689df6';
|
|
1016
|
+
const RedsiftColorBlueN = '#4285f4';
|
|
1017
|
+
const RedsiftColorBlueD1 = '#3b78dc';
|
|
1018
|
+
const RedsiftColorBlueD2 = '#2e5dab';
|
|
1019
|
+
const RedsiftColorBlueD3 = '#142849';
|
|
1020
|
+
const RedsiftColorBlueD4 = '#0d1b31';
|
|
1021
|
+
const RedsiftColorTealL4 = '#dcf1ed';
|
|
1022
|
+
const RedsiftColorTealL3 = '#b9e2db';
|
|
1023
|
+
const RedsiftColorTealL2 = '#97d4c8';
|
|
1024
|
+
const RedsiftColorTealL1 = '#74c5b6';
|
|
1025
|
+
const RedsiftColorTealN = '#51b7a4';
|
|
1026
|
+
const RedsiftColorTealD1 = '#49a594';
|
|
1027
|
+
const RedsiftColorTealD2 = '#398073';
|
|
1028
|
+
const RedsiftColorTealD3 = '#183731';
|
|
1029
|
+
const RedsiftColorTealD4 = '#102521';
|
|
1030
|
+
const RedsiftColorGreyL5 = '#ffffff';
|
|
1031
|
+
const RedsiftColorGreyL4 = '#f2f2f2';
|
|
1032
|
+
const RedsiftColorGreyL3 = '#e0e0e0';
|
|
1033
|
+
const RedsiftColorGreyL2 = '#a3a3a3';
|
|
1034
|
+
const RedsiftColorGreyL1 = '#858585';
|
|
1035
|
+
const RedsiftColorGreyN = '#666666';
|
|
1036
|
+
const RedsiftColorGreyD1 = '#5c5c5c';
|
|
1037
|
+
const RedsiftColorGreyD2 = '#525252';
|
|
1038
|
+
const RedsiftColorGreyD3 = '#474747';
|
|
1039
|
+
const RedsiftColorGreyD4 = '#333333';
|
|
1040
|
+
const RedsiftColorGreyD5 = '#1c1c1c';
|
|
1041
|
+
const RedsiftColorGreenL4 = '#cceedf';
|
|
1042
|
+
const RedsiftColorGreenL3 = '#9adec0';
|
|
1043
|
+
const RedsiftColorGreenL2 = '#67cda0';
|
|
1044
|
+
const RedsiftColorGreenL1 = '#35bd81';
|
|
1045
|
+
const RedsiftColorGreenN = '#02ac61';
|
|
1046
|
+
const RedsiftColorGreenD1 = '#029b57';
|
|
1047
|
+
const RedsiftColorGreenD2 = '#017844';
|
|
1048
|
+
const RedsiftColorGreenD3 = '#01341d';
|
|
1049
|
+
const RedsiftColorGreenD4 = '#002213';
|
|
1050
|
+
const RedsiftColorYellowL4 = '#fef1dd';
|
|
1051
|
+
const RedsiftColorYellowL3 = '#fee4bb';
|
|
1052
|
+
const RedsiftColorYellowL2 = '#fdd698';
|
|
1053
|
+
const RedsiftColorYellowL1 = '#fdc976';
|
|
1054
|
+
const RedsiftColorYellowN = '#fcbb54';
|
|
1055
|
+
const RedsiftColorYellowD1 = '#e3a84c';
|
|
1056
|
+
const RedsiftColorYellowD2 = '#b0833b';
|
|
1057
|
+
const RedsiftColorYellowD3 = '#4c3819';
|
|
1058
|
+
const RedsiftColorYellowD4 = '#322511';
|
|
1059
|
+
const RedsiftColorPrimaryL4 = '#d9e7fd';
|
|
1060
|
+
const RedsiftColorPrimaryL3 = '#b3cefb';
|
|
1061
|
+
const RedsiftColorPrimaryL2 = '#8eb6f8';
|
|
1062
|
+
const RedsiftColorPrimaryL1 = '#689df6';
|
|
1063
|
+
const RedsiftColorPrimaryN = '#4285f4';
|
|
1064
|
+
const RedsiftColorPrimaryD1 = '#3b78dc';
|
|
1065
|
+
const RedsiftColorPrimaryD2 = '#2e5dab';
|
|
1066
|
+
const RedsiftColorPrimaryD3 = '#142849';
|
|
1067
|
+
const RedsiftColorPrimaryD4 = '#0d1b31';
|
|
1068
|
+
const RedsiftColorSecondaryL4 = '#dcf1ed';
|
|
1069
|
+
const RedsiftColorSecondaryL3 = '#b9e2db';
|
|
1070
|
+
const RedsiftColorSecondaryL2 = '#97d4c8';
|
|
1071
|
+
const RedsiftColorSecondaryL1 = '#74c5b6';
|
|
1072
|
+
const RedsiftColorSecondaryN = '#51b7a4';
|
|
1073
|
+
const RedsiftColorSecondaryD1 = '#49a594';
|
|
1074
|
+
const RedsiftColorSecondaryD2 = '#398073';
|
|
1075
|
+
const RedsiftColorSecondaryD3 = '#183731';
|
|
1076
|
+
const RedsiftColorSecondaryD4 = '#102521';
|
|
1077
|
+
const RedsiftColorNeutralWhite = '#ffffff';
|
|
1078
|
+
const RedsiftColorNeutralXLightGrey = '#f2f2f2';
|
|
1079
|
+
const RedsiftColorNeutralLightGrey = '#e0e0e0';
|
|
1080
|
+
const RedsiftColorNeutralMidGrey = '#666666';
|
|
1081
|
+
const RedsiftColorNeutralDarkGrey = '#474747';
|
|
1082
|
+
const RedsiftColorNeutralXDarkGrey = '#333333';
|
|
1083
|
+
const RedsiftColorNeutralBlack = '#1c1c1c';
|
|
1084
|
+
const RedsiftColorTextPrimary = '#333333';
|
|
1085
|
+
const RedsiftColorTextSecondary = '#474747';
|
|
431
1086
|
const RedsiftColorProductAsm = '#8361ea';
|
|
432
1087
|
const RedsiftColorProductBrandTrust = '#7ec2fa';
|
|
433
1088
|
const RedsiftColorProductCertificates = '#e8712e';
|
|
434
|
-
const
|
|
435
|
-
const
|
|
436
|
-
const
|
|
1089
|
+
const RedsiftColorProductHardenize = '#3498db';
|
|
1090
|
+
const RedsiftColorProductOnDmarc = '#96d36e';
|
|
1091
|
+
const RedsiftColorProductOnInbox = '#33b222';
|
|
1092
|
+
const RedsiftColorProductRadar = '#51B7A4';
|
|
437
1093
|
const RedsiftColorProductVendorSecure = '#f7c948';
|
|
438
|
-
const
|
|
439
|
-
const
|
|
440
|
-
const
|
|
441
|
-
const
|
|
442
|
-
const
|
|
443
|
-
const
|
|
444
|
-
const
|
|
445
|
-
const
|
|
446
|
-
const
|
|
447
|
-
const
|
|
448
|
-
const
|
|
449
|
-
const
|
|
450
|
-
const
|
|
451
|
-
const
|
|
452
|
-
const
|
|
453
|
-
const
|
|
454
|
-
const
|
|
455
|
-
const
|
|
456
|
-
const
|
|
457
|
-
const
|
|
458
|
-
const
|
|
459
|
-
const
|
|
460
|
-
const
|
|
461
|
-
const
|
|
462
|
-
const
|
|
463
|
-
const RedsiftColorCtasSecondaryButtonActiveHover = '#204942';
|
|
464
|
-
const RedsiftColorNotificationsSuccessPrimary = '#02AC61';
|
|
465
|
-
const RedsiftColorNotificationsSuccessHover = '#CCEEDF';
|
|
466
|
-
const RedsiftColorNotificationsSuccessActive = '#9ADEC0';
|
|
467
|
-
const RedsiftColorNotificationsSuccessActiveHover = '#67CDA0';
|
|
468
|
-
const RedsiftColorNotificationsSuccessButtonHover = '#028A4E';
|
|
469
|
-
const RedsiftColorNotificationsSuccessButtonActive = '#01673A';
|
|
470
|
-
const RedsiftColorNotificationsSuccessButtonActiveHover = '#014527';
|
|
471
|
-
const RedsiftColorNotificationsErrorPrimary = '#E11010';
|
|
472
|
-
const RedsiftColorNotificationsErrorHover = '#F9CFCF';
|
|
473
|
-
const RedsiftColorNotificationsErrorActive = '#F39F9F';
|
|
474
|
-
const RedsiftColorNotificationsErrorActiveHover = '#ED7070';
|
|
475
|
-
const RedsiftColorNotificationsErrorButtonHover = '#B40D0D';
|
|
476
|
-
const RedsiftColorNotificationsErrorButtonActive = '#870A0A';
|
|
477
|
-
const RedsiftColorNotificationsErrorButtonActiveHover = '#5A0606';
|
|
478
|
-
const RedsiftColorNotificationsWarningPrimary = '#FCBB54';
|
|
479
|
-
const RedsiftColorNotificationsWarningHover = '#FEF1DD';
|
|
480
|
-
const RedsiftColorNotificationsWarningActive = '#FEE4BB';
|
|
481
|
-
const RedsiftColorNotificationsWarningActiveHover = '#FDD698';
|
|
482
|
-
const RedsiftColorNotificationsWarningButtonHover = '#CA9643';
|
|
483
|
-
const RedsiftColorNotificationsWarningButtonActive = '#977032';
|
|
484
|
-
const RedsiftColorNotificationsWarningButtonActiveHover = '#654B22';
|
|
485
|
-
const RedsiftColorNotificationsInfoPrimary = '#4285F4';
|
|
486
|
-
const RedsiftColorNotificationsInfoHover = '#D9E7FD';
|
|
487
|
-
const RedsiftColorNotificationsInfoActive = '#B3CEFB';
|
|
488
|
-
const RedsiftColorNotificationsInfoActiveHover = '#8EB6F8';
|
|
489
|
-
const RedsiftColorNotificationsInfoButtonHover = '#356AC3';
|
|
490
|
-
const RedsiftColorNotificationsInfoButtonActive = '#285092';
|
|
491
|
-
const RedsiftColorNotificationsInfoButtonActiveHover = '#1A3562';
|
|
1094
|
+
const RedsiftColorBordersBorderDivider = '#f2f2f2';
|
|
1095
|
+
const RedsiftColorBordersBorderDefault = '#666666';
|
|
1096
|
+
const RedsiftColorBordersBorderDisabled = '#e0e0e0';
|
|
1097
|
+
const RedsiftColorBordersBorderPrimary = '#4285f4';
|
|
1098
|
+
const RedsiftColorBordersBorderSecondary = '#51b7a4';
|
|
1099
|
+
const RedsiftColorBordersBorderSuccess = '#02ac61';
|
|
1100
|
+
const RedsiftColorBordersBorderError = '#e11010';
|
|
1101
|
+
const RedsiftColorNotificationsPrimaryPrimary = '#4285f4';
|
|
1102
|
+
const RedsiftColorNotificationsPrimaryHover = '#d9e7fd';
|
|
1103
|
+
const RedsiftColorNotificationsPrimaryActive = '#b3cefb';
|
|
1104
|
+
const RedsiftColorNotificationsSecondaryPrimary = '#51b7a4';
|
|
1105
|
+
const RedsiftColorNotificationsSecondaryHover = '#dcf1ed';
|
|
1106
|
+
const RedsiftColorNotificationsSecondaryActive = '#b9e2db';
|
|
1107
|
+
const RedsiftColorNotificationsSuccessPrimary = '#02ac61';
|
|
1108
|
+
const RedsiftColorNotificationsSuccessHover = '#cceedf';
|
|
1109
|
+
const RedsiftColorNotificationsSuccessActive = '#9adec0';
|
|
1110
|
+
const RedsiftColorNotificationsErrorPrimary = '#e11010';
|
|
1111
|
+
const RedsiftColorNotificationsErrorHover = '#f9cfcf';
|
|
1112
|
+
const RedsiftColorNotificationsErrorActive = '#f39f9f';
|
|
1113
|
+
const RedsiftColorNotificationsWarningPrimary = '#fcbb54';
|
|
1114
|
+
const RedsiftColorNotificationsWarningHover = '#fef1dd';
|
|
1115
|
+
const RedsiftColorNotificationsWarningActive = '#fee4bb';
|
|
1116
|
+
const RedsiftColorNotificationsInfoPrimary = '#4285f4';
|
|
1117
|
+
const RedsiftColorNotificationsInfoHover = '#d9e7fd';
|
|
1118
|
+
const RedsiftColorNotificationsInfoActive = '#b3cefb';
|
|
492
1119
|
const RedsiftColorNotificationsQuestionPrimary = '#666666';
|
|
493
|
-
const RedsiftColorNotificationsQuestionHover = '#
|
|
494
|
-
const RedsiftColorNotificationsQuestionActive = '#
|
|
495
|
-
const
|
|
496
|
-
const
|
|
497
|
-
const
|
|
498
|
-
const RedsiftColorNotificationsQuestionButtonActiveHover = '#3D3D3D';
|
|
499
|
-
const RedsiftColorNotificationsNoDataPrimary = '#BDBDBD';
|
|
500
|
-
const RedsiftColorNotificationsNoDataHover = '#DEDEDE';
|
|
501
|
-
const RedsiftColorNotificationsNoDataActive = '#D7D7D7';
|
|
502
|
-
const RedsiftColorNotificationsNoDataActiveHover = '#D1D1D1';
|
|
503
|
-
const RedsiftColorNotificationsNoDataButtonHover = '#979797';
|
|
504
|
-
const RedsiftColorNotificationsNoDataButtonActive = '#848484';
|
|
505
|
-
const RedsiftColorNotificationsNoDataButtonActiveHover = '#717171';
|
|
1120
|
+
const RedsiftColorNotificationsQuestionHover = '#474747';
|
|
1121
|
+
const RedsiftColorNotificationsQuestionActive = '#333333';
|
|
1122
|
+
const RedsiftColorNotificationsNoDataPrimary = '#e0e0e0';
|
|
1123
|
+
const RedsiftColorNotificationsNoDataHover = '#666666';
|
|
1124
|
+
const RedsiftColorNotificationsNoDataActive = '#474747';
|
|
506
1125
|
const RedsiftColorPresentationGreenDarkerer = '#078833';
|
|
507
1126
|
const RedsiftColorPresentationGreenDarker = '#07AA45';
|
|
508
1127
|
const RedsiftColorPresentationGreenDark = '#00CE59';
|
|
@@ -573,16 +1192,7 @@ const RedsiftColorPresentationGreyDefault = '#D6D6D6';
|
|
|
573
1192
|
const RedsiftColorPresentationGreyLight = '#E6E6E6';
|
|
574
1193
|
const RedsiftColorPresentationGreyLighter = '#EEEEEE';
|
|
575
1194
|
const RedsiftColorPresentationGreyLighterer = '#F7F7F7';
|
|
576
|
-
const
|
|
577
|
-
const RedsiftSideNavigationColorMenuItemTextResting = '#333333';
|
|
578
|
-
const RedsiftSideNavigationColorMenuItemTextDisabled = '#666666';
|
|
579
|
-
const RedsiftSideNavigationColorMenuItemTextHover = '#1c1c1c';
|
|
580
|
-
const RedsiftSideNavigationColorMenuItemBackgroundHover = '#E6E6E6';
|
|
581
|
-
const RedsiftSideNavigationColorMenuItemBackgroundSecondary = 'transparent';
|
|
582
|
-
const RedsiftSideNavigationColorMenuItemBackgroundActive = '#b6b6b6';
|
|
583
|
-
const RedsiftSideNavigationColorMenuItemActive = '#1c1c1c';
|
|
584
|
-
const RedsiftSideNavigationColorScrollbarResting = '#b6b6b6';
|
|
585
|
-
const RedsiftSideNavigationColorScrollbarHover = '#666666';
|
|
1195
|
+
const RedsiftBorderRadius = '4px';
|
|
586
1196
|
const RedsiftLayoutZIndexFooter = '1000';
|
|
587
1197
|
const RedsiftLayoutZIndexHeader = '1010';
|
|
588
1198
|
const RedsiftLayoutZIndexSidePanel = '1050';
|
|
@@ -724,7 +1334,7 @@ const useId$1 = function () {
|
|
|
724
1334
|
* @param props Component props containing the aria-label and aria-labelledby params to check for.
|
|
725
1335
|
* @param additionalKeysToCheck Additional props to check that can act as a label for screen readers (i.e. children).
|
|
726
1336
|
*/
|
|
727
|
-
const warnIfNoAccessibleLabelFound = (props, additionalKeysToCheck) => {
|
|
1337
|
+
const warnIfNoAccessibleLabelFound = (props, additionalKeysToCheck, componentName) => {
|
|
728
1338
|
const {
|
|
729
1339
|
'aria-label': ariaLabel,
|
|
730
1340
|
'aria-labelledby': ariaLabelledby
|
|
@@ -732,7 +1342,7 @@ const warnIfNoAccessibleLabelFound = (props, additionalKeysToCheck) => {
|
|
|
732
1342
|
const hasText = additionalKeysToCheck && additionalKeysToCheck.filter(key => !!key).length > 0;
|
|
733
1343
|
const hasAriaLabel = Boolean(ariaLabel || ariaLabelledby);
|
|
734
1344
|
if (!hasAriaLabel && !hasText) {
|
|
735
|
-
console.warn(
|
|
1345
|
+
console.warn(`You must provide a label ${componentName ? `to ${componentName} ` : ''}for accessibility`, props);
|
|
736
1346
|
}
|
|
737
1347
|
};
|
|
738
1348
|
|
|
@@ -1014,7 +1624,6 @@ const baseStyling = css`
|
|
|
1014
1624
|
font-size: var(--redsift-typography-body-font-size);
|
|
1015
1625
|
font-weight: var(--redsift-typography-body-font-weight);
|
|
1016
1626
|
line-height: var(--redsift-typography-body-line-height);
|
|
1017
|
-
color: var(--redsift-color-neutral-black);
|
|
1018
1627
|
|
|
1019
1628
|
${baseLayout}
|
|
1020
1629
|
${baseSpacing}
|
|
@@ -1032,7 +1641,6 @@ const baseContainer = css`
|
|
|
1032
1641
|
font-size: var(--redsift-typography-body-font-size);
|
|
1033
1642
|
font-weight: var(--redsift-typography-body-font-weight);
|
|
1034
1643
|
line-height: 20px;
|
|
1035
|
-
color: var(--redsift-color-neutral-black);
|
|
1036
1644
|
|
|
1037
1645
|
${baseInternalSpacing}
|
|
1038
1646
|
${baseSpacing}
|
|
@@ -1044,7 +1652,7 @@ const baseContainer = css`
|
|
|
1044
1652
|
const focusRing = css`
|
|
1045
1653
|
@media (prefers-reduced-motion: no-preference) {
|
|
1046
1654
|
:focus-visible {
|
|
1047
|
-
outline: 2px solid var(--redsift-color-
|
|
1655
|
+
outline: 2px solid var(--redsift-color-primary-n);
|
|
1048
1656
|
transition: outline-offset 75ms ease-out;
|
|
1049
1657
|
}
|
|
1050
1658
|
|
|
@@ -1057,6 +1665,19 @@ const focusRing = css`
|
|
|
1057
1665
|
outline-offset: 0.2rem;
|
|
1058
1666
|
}
|
|
1059
1667
|
`;
|
|
1668
|
+
const srOnly = css`
|
|
1669
|
+
border: 0 !important;
|
|
1670
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
1671
|
+
-webkit-clip-path: inset(50%) !important;
|
|
1672
|
+
clip-path: inset(50%) !important;
|
|
1673
|
+
height: 1px !important;
|
|
1674
|
+
overflow: hidden !important;
|
|
1675
|
+
margin: -1px !important;
|
|
1676
|
+
padding: 0 !important;
|
|
1677
|
+
position: absolute !important;
|
|
1678
|
+
width: 1px !important;
|
|
1679
|
+
white-space: nowrap !important;
|
|
1680
|
+
`;
|
|
1060
1681
|
|
|
1061
1682
|
/**
|
|
1062
1683
|
* Component style.
|
|
@@ -1076,14 +1697,15 @@ const StyledIcon = styled.span`
|
|
|
1076
1697
|
|
|
1077
1698
|
${_ref => {
|
|
1078
1699
|
let {
|
|
1079
|
-
$color
|
|
1700
|
+
$color,
|
|
1701
|
+
$theme
|
|
1080
1702
|
} = _ref;
|
|
1081
1703
|
return $color && Object.keys(NotificationsColorPalette).indexOf($color) !== -1 ? css`
|
|
1082
1704
|
color: var(--redsift-color-notifications-${$color}-primary);
|
|
1083
1705
|
` : $color && Object.keys(ProductColorPalette).indexOf($color) !== -1 ? css`
|
|
1084
1706
|
color: var(--redsift-color-product-${$color});
|
|
1085
1707
|
` : css`
|
|
1086
|
-
color: ${$color || css`var(--redsift-color-neutral-
|
|
1708
|
+
color: ${$color || css`var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'})`};
|
|
1087
1709
|
`;
|
|
1088
1710
|
}}
|
|
1089
1711
|
|
|
@@ -1135,7 +1757,17 @@ const StyledIcon = styled.span`
|
|
|
1135
1757
|
}}
|
|
1136
1758
|
`;
|
|
1137
1759
|
|
|
1138
|
-
const
|
|
1760
|
+
const ThemeContext = /*#__PURE__*/React__default.createContext(null);
|
|
1761
|
+
const ThemeProvider = ThemeContext.Provider;
|
|
1762
|
+
|
|
1763
|
+
function useTheme(theme) {
|
|
1764
|
+
var _ref;
|
|
1765
|
+
const themeState = useContext(ThemeContext);
|
|
1766
|
+
const contextTheme = (_ref = theme !== null && theme !== void 0 ? theme : themeState === null || themeState === void 0 ? void 0 : themeState.theme) !== null && _ref !== void 0 ? _ref : Theme.light;
|
|
1767
|
+
return contextTheme;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
const _excluded$P = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps", "theme"];
|
|
1139
1771
|
const COMPONENT_NAME$P = 'Icon';
|
|
1140
1772
|
const CLASSNAME$P = 'redsift-icon';
|
|
1141
1773
|
const DEFAULT_PROPS$P = {
|
|
@@ -1204,9 +1836,11 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1204
1836
|
color,
|
|
1205
1837
|
icon,
|
|
1206
1838
|
size,
|
|
1207
|
-
svgProps
|
|
1839
|
+
svgProps,
|
|
1840
|
+
theme: propsTheme
|
|
1208
1841
|
} = props,
|
|
1209
1842
|
forwardedProps = _objectWithoutProperties(props, _excluded$P);
|
|
1843
|
+
const theme = useTheme(propsTheme);
|
|
1210
1844
|
const {
|
|
1211
1845
|
width,
|
|
1212
1846
|
height,
|
|
@@ -1219,6 +1853,7 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1219
1853
|
$height: height,
|
|
1220
1854
|
$fontSize: fontSize,
|
|
1221
1855
|
$lineHeight: lineHeight,
|
|
1856
|
+
$theme: theme,
|
|
1222
1857
|
"aria-hidden": ariaLabel ? ariaHidden ? ariaHidden : undefined : true,
|
|
1223
1858
|
"aria-label": ariaLabel,
|
|
1224
1859
|
className: classNames(Icon.className, className),
|
|
@@ -1288,7 +1923,7 @@ const StyledButton = styled.button`
|
|
|
1288
1923
|
} = _ref;
|
|
1289
1924
|
return $isLoading ? css`
|
|
1290
1925
|
& > span {
|
|
1291
|
-
|
|
1926
|
+
opacity: 0;
|
|
1292
1927
|
}
|
|
1293
1928
|
|
|
1294
1929
|
& > .redsift-shield {
|
|
@@ -1303,34 +1938,27 @@ const StyledButton = styled.button`
|
|
|
1303
1938
|
$color,
|
|
1304
1939
|
$isActive,
|
|
1305
1940
|
$isDisabled,
|
|
1306
|
-
$isHovered
|
|
1941
|
+
$isHovered,
|
|
1942
|
+
$theme
|
|
1307
1943
|
} = _ref2;
|
|
1308
1944
|
return css`
|
|
1309
1945
|
padding: ${$variant === ButtonVariant.secondary ? '8px 15px' : '9px 16px'};
|
|
1310
1946
|
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
.redsift-icon {
|
|
1321
|
-
color: ${$isActive || $isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active)` : $isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-primary)`};
|
|
1322
|
-
}
|
|
1323
|
-
` : css`
|
|
1324
|
-
background-color: ${$isActive && $isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active-hover)` : $isActive ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active)` : $isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-hover)` : $isDisabled ? '#ECECEC' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-primary)`};
|
|
1325
|
-
&,
|
|
1326
|
-
.redsift-icon {
|
|
1327
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : 'var(--redsift-color-neutral-white)'};
|
|
1328
|
-
}
|
|
1329
|
-
`}
|
|
1947
|
+
background-color: var(
|
|
1948
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-${$isDisabled ? 'disabled' : $isActive ? 'active' : $isHovered ? 'hover' : 'default'}
|
|
1949
|
+
);
|
|
1950
|
+
&,
|
|
1951
|
+
.redsift-icon {
|
|
1952
|
+
color: var(
|
|
1953
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : $isActive ? 'active' : $isHovered ? 'hover' : 'default'}
|
|
1954
|
+
);
|
|
1955
|
+
}
|
|
1330
1956
|
|
|
1331
1957
|
${$variant === ButtonVariant.secondary ? css`
|
|
1332
1958
|
border: 1px solid
|
|
1333
|
-
|
|
1959
|
+
var(
|
|
1960
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : $isActive ? 'active' : $isHovered ? 'hover' : 'default'}
|
|
1961
|
+
);
|
|
1334
1962
|
` : ''}
|
|
1335
1963
|
`;
|
|
1336
1964
|
}};
|
|
@@ -1343,38 +1971,28 @@ const StyledButton = styled.button`
|
|
|
1343
1971
|
let {
|
|
1344
1972
|
$variant,
|
|
1345
1973
|
$color,
|
|
1346
|
-
$
|
|
1347
|
-
$
|
|
1974
|
+
$isDisabled,
|
|
1975
|
+
$theme
|
|
1348
1976
|
} = _ref3;
|
|
1349
1977
|
return css`
|
|
1350
1978
|
cursor: ${$isDisabled ? 'default' : 'pointer'};
|
|
1351
1979
|
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
.redsift-icon {
|
|
1362
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active)`};
|
|
1363
|
-
}
|
|
1364
|
-
` : css`
|
|
1365
|
-
background-color: ${$isActive ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active-hover)` : $isDisabled ? '#ECECEC' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-hover)`};
|
|
1366
|
-
&,
|
|
1367
|
-
.redsift-icon {
|
|
1368
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : 'var(--redsift-color-neutral-white)'};
|
|
1369
|
-
}
|
|
1370
|
-
`}
|
|
1980
|
+
background-color: var(
|
|
1981
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-${$isDisabled ? 'disabled' : 'hover'}
|
|
1982
|
+
);
|
|
1983
|
+
&,
|
|
1984
|
+
.redsift-icon {
|
|
1985
|
+
color: var(
|
|
1986
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : 'hover'}
|
|
1987
|
+
);
|
|
1988
|
+
}
|
|
1371
1989
|
|
|
1372
1990
|
${$variant === ButtonVariant.secondary ? css`
|
|
1373
1991
|
border: 1px solid
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1992
|
+
var(
|
|
1993
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : 'hover'}
|
|
1994
|
+
);
|
|
1995
|
+
` : ''}
|
|
1378
1996
|
`;
|
|
1379
1997
|
}};
|
|
1380
1998
|
}
|
|
@@ -1387,35 +2005,26 @@ const StyledButton = styled.button`
|
|
|
1387
2005
|
$variant,
|
|
1388
2006
|
$color,
|
|
1389
2007
|
$isHovered,
|
|
1390
|
-
$isDisabled
|
|
2008
|
+
$isDisabled,
|
|
2009
|
+
$theme
|
|
1391
2010
|
} = _ref4;
|
|
1392
2011
|
return css`
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
.redsift-icon {
|
|
1403
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active)`};
|
|
1404
|
-
}
|
|
1405
|
-
` : css`
|
|
1406
|
-
background-color: ${$isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active-hover)` : $isDisabled ? '#ECECEC' : `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-active)`};
|
|
1407
|
-
&,
|
|
1408
|
-
.redsift-icon {
|
|
1409
|
-
color: ${$isDisabled ? 'var(--redsift-color-neutral-lightgrey)' : 'var(--redsift-color-neutral-white)'};
|
|
1410
|
-
}
|
|
1411
|
-
`}
|
|
2012
|
+
background-color: var(
|
|
2013
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-${$isDisabled ? 'disabled' : $isHovered ? 'hover' : 'active'}
|
|
2014
|
+
);
|
|
2015
|
+
&,
|
|
2016
|
+
.redsift-icon {
|
|
2017
|
+
color: var(
|
|
2018
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : $isHovered ? 'hover' : 'active'}
|
|
2019
|
+
);
|
|
2020
|
+
}
|
|
1412
2021
|
|
|
1413
2022
|
${$variant === ButtonVariant.secondary ? css`
|
|
1414
2023
|
border: 1px solid
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
2024
|
+
var(
|
|
2025
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-${$isDisabled ? 'disabled' : $isHovered ? 'hover' : 'active'}
|
|
2026
|
+
);
|
|
2027
|
+
` : ''}
|
|
1419
2028
|
`;
|
|
1420
2029
|
}};
|
|
1421
2030
|
}
|
|
@@ -1482,9 +2091,9 @@ const StyledSpinner = styled.img`
|
|
|
1482
2091
|
|
|
1483
2092
|
var spinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzQyODVGNCIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiM0Mjg1RjQiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
|
|
1484
2093
|
|
|
1485
|
-
var uncoloredSpinner = 'data:image/svg+xml;base64,
|
|
2094
|
+
var uncoloredSpinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzg1ODU4NSIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiM4NTg1ODUiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
|
|
1486
2095
|
|
|
1487
|
-
const _excluded$O = ["aria-hidden", "aria-label", "className", "isColored", "size"];
|
|
2096
|
+
const _excluded$O = ["aria-hidden", "aria-label", "className", "isColored", "size", "theme"];
|
|
1488
2097
|
const COMPONENT_NAME$O = 'Spinner';
|
|
1489
2098
|
const CLASSNAME$O = 'redsift-shield';
|
|
1490
2099
|
const DEFAULT_PROPS$O = {
|
|
@@ -1526,9 +2135,11 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1526
2135
|
'aria-label': ariaLabel,
|
|
1527
2136
|
className,
|
|
1528
2137
|
isColored,
|
|
1529
|
-
size
|
|
2138
|
+
size,
|
|
2139
|
+
theme: propsTheme
|
|
1530
2140
|
} = props,
|
|
1531
2141
|
forwardedProps = _objectWithoutProperties(props, _excluded$O);
|
|
2142
|
+
const theme = useTheme(propsTheme);
|
|
1532
2143
|
const {
|
|
1533
2144
|
width,
|
|
1534
2145
|
height
|
|
@@ -1544,18 +2155,19 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1544
2155
|
ref: ref,
|
|
1545
2156
|
src: isColored ? spinner : uncoloredSpinner,
|
|
1546
2157
|
width: width,
|
|
1547
|
-
$size: size
|
|
2158
|
+
$size: size,
|
|
2159
|
+
$theme: theme
|
|
1548
2160
|
}));
|
|
1549
2161
|
});
|
|
1550
2162
|
Spinner.className = CLASSNAME$O;
|
|
1551
2163
|
Spinner.defaultProps = DEFAULT_PROPS$O;
|
|
1552
2164
|
Spinner.displayName = COMPONENT_NAME$O;
|
|
1553
2165
|
|
|
1554
|
-
const _excluded$N = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isHovered", "isLoading", "leftIcon", "leftIconProps", "rightIcon", "rightIconProps", "variant"];
|
|
2166
|
+
const _excluded$N = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isHovered", "isLoading", "leftIcon", "leftIconProps", "rightIcon", "rightIconProps", "theme", "variant"];
|
|
1555
2167
|
const COMPONENT_NAME$N = 'Button';
|
|
1556
2168
|
const CLASSNAME$N = 'redsift-button';
|
|
1557
2169
|
const DEFAULT_PROPS$N = {
|
|
1558
|
-
color:
|
|
2170
|
+
color: ButtonsColorPalette.primary,
|
|
1559
2171
|
height: 'fit-content',
|
|
1560
2172
|
variant: ButtonVariant.primary
|
|
1561
2173
|
};
|
|
@@ -1584,10 +2196,12 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1584
2196
|
leftIconProps,
|
|
1585
2197
|
rightIcon,
|
|
1586
2198
|
rightIconProps,
|
|
2199
|
+
theme: propsTheme,
|
|
1587
2200
|
variant
|
|
1588
2201
|
} = props,
|
|
1589
2202
|
forwardedProps = _objectWithoutProperties(props, _excluded$N);
|
|
1590
2203
|
const isDisabled = isLoading || propsIsDisabled || disabled;
|
|
2204
|
+
const theme = useTheme(propsTheme);
|
|
1591
2205
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, {
|
|
1592
2206
|
$color: color,
|
|
1593
2207
|
$fullWidth: fullWidth,
|
|
@@ -1595,6 +2209,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1595
2209
|
$isDisabled: isDisabled,
|
|
1596
2210
|
$isHovered: isHovered,
|
|
1597
2211
|
$isLoading: isLoading,
|
|
2212
|
+
$theme: theme,
|
|
1598
2213
|
$variant: variant,
|
|
1599
2214
|
"aria-disabled": isDisabled,
|
|
1600
2215
|
className: classNames(Button.className, className),
|
|
@@ -1642,11 +2257,11 @@ const StyledIconButton = styled(StyledButton)`
|
|
|
1642
2257
|
}}
|
|
1643
2258
|
`;
|
|
1644
2259
|
|
|
1645
|
-
const _excluded$M = ["className", "color", "disabled", "icon", "iconProps", "isActive", "isDisabled", "isHovered", "isLoading", "variant"];
|
|
2260
|
+
const _excluded$M = ["className", "color", "disabled", "icon", "iconProps", "isActive", "isDisabled", "isHovered", "isLoading", "theme", "variant"];
|
|
1646
2261
|
const COMPONENT_NAME$M = 'IconButton';
|
|
1647
2262
|
const CLASSNAME$M = 'redsift-icon-button';
|
|
1648
2263
|
const DEFAULT_PROPS$M = {
|
|
1649
|
-
color:
|
|
2264
|
+
color: ButtonsColorPalette.primary,
|
|
1650
2265
|
height: 'fit-content',
|
|
1651
2266
|
variant: IconButtonVariant.unstyled
|
|
1652
2267
|
};
|
|
@@ -1669,17 +2284,20 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1669
2284
|
isDisabled: propsIsDisabled,
|
|
1670
2285
|
isHovered,
|
|
1671
2286
|
isLoading,
|
|
2287
|
+
theme: propsTheme,
|
|
1672
2288
|
variant
|
|
1673
2289
|
} = props,
|
|
1674
2290
|
forwardedProps = _objectWithoutProperties(props, _excluded$M);
|
|
1675
2291
|
const isDisabled = props.isLoading || propsIsDisabled || disabled;
|
|
1676
|
-
|
|
2292
|
+
const theme = useTheme(propsTheme);
|
|
2293
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'IconButton');
|
|
1677
2294
|
return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, {
|
|
1678
2295
|
$color: isDisabled ? undefined : color,
|
|
1679
2296
|
$isActive: isActive,
|
|
1680
2297
|
$isDisabled: isDisabled,
|
|
1681
2298
|
$isHovered: isHovered,
|
|
1682
2299
|
$isLoading: isLoading,
|
|
2300
|
+
$theme: theme,
|
|
1683
2301
|
$variant: variant,
|
|
1684
2302
|
"aria-disabled": isDisabled,
|
|
1685
2303
|
className: classNames(IconButton.className, className),
|
|
@@ -1709,16 +2327,19 @@ const StyledAlert = styled.div`
|
|
|
1709
2327
|
$hasTitle,
|
|
1710
2328
|
$isClosable,
|
|
1711
2329
|
$isClosed,
|
|
1712
|
-
$variant
|
|
2330
|
+
$variant,
|
|
2331
|
+
$theme
|
|
1713
2332
|
} = _ref;
|
|
1714
2333
|
return css`
|
|
2334
|
+
color: var(--redsift-color-neutral-${$theme === Theme.light ? 'x-dark-grey' : 'white'});
|
|
1715
2335
|
display: ${!$isClosed ? 'block' : 'none'};
|
|
1716
|
-
background-color: var(--redsift-color-
|
|
2336
|
+
background-color: var(--redsift-color-${$theme}-components-alert-${$variant}-background);
|
|
1717
2337
|
|
|
1718
2338
|
.redsift-alert-header__icon-button {
|
|
2339
|
+
background-color: transparent;
|
|
1719
2340
|
padding: 0px;
|
|
1720
2341
|
.redsift-icon {
|
|
1721
|
-
color: var(--redsift-color-neutral-
|
|
2342
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
1722
2343
|
}
|
|
1723
2344
|
|
|
1724
2345
|
&:hover,
|
|
@@ -1783,7 +2404,7 @@ const StyledText = styled.span`
|
|
|
1783
2404
|
return $color && Object.keys(NotificationsColorPalette).indexOf($color) !== -1 ? css`
|
|
1784
2405
|
color: var(--redsift-color-notifications-${$color}-primary);
|
|
1785
2406
|
` : Object.keys(NeutralColorPalette).indexOf($color) !== -1 ? css`
|
|
1786
|
-
color: var(--redsift-color-
|
|
2407
|
+
color: var(--redsift-color-primary-${$color});
|
|
1787
2408
|
` : css`
|
|
1788
2409
|
color: ${$color || css`inherit`};
|
|
1789
2410
|
`;
|
|
@@ -1800,6 +2421,8 @@ const StyledText = styled.span`
|
|
|
1800
2421
|
vertical-align: sub;
|
|
1801
2422
|
` : $as === TextComponent.sup ? css`
|
|
1802
2423
|
vertical-align: super;
|
|
2424
|
+
` : $as === TextComponent.mark ? css`
|
|
2425
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
1803
2426
|
` : ''}
|
|
1804
2427
|
`;
|
|
1805
2428
|
}}
|
|
@@ -1858,7 +2481,7 @@ const StyledText = styled.span`
|
|
|
1858
2481
|
}}
|
|
1859
2482
|
`;
|
|
1860
2483
|
|
|
1861
|
-
const _excluded$L = ["as", "children", "className", "color", "fontFamily", "fontSize", "fontWeight", "lineHeight", "noWrap", "variant"];
|
|
2484
|
+
const _excluded$L = ["as", "children", "className", "color", "fontFamily", "fontSize", "fontWeight", "lineHeight", "noWrap", "theme", "variant"];
|
|
1862
2485
|
const COMPONENT_NAME$L = 'Text';
|
|
1863
2486
|
const CLASSNAME$L = 'redsift-text';
|
|
1864
2487
|
const DEFAULT_PROPS$L = {
|
|
@@ -1879,9 +2502,11 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1879
2502
|
fontWeight,
|
|
1880
2503
|
lineHeight,
|
|
1881
2504
|
noWrap,
|
|
2505
|
+
theme: propsTheme,
|
|
1882
2506
|
variant
|
|
1883
2507
|
} = props,
|
|
1884
2508
|
forwardedProps = _objectWithoutProperties(props, _excluded$L);
|
|
2509
|
+
const theme = useTheme(propsTheme);
|
|
1885
2510
|
return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
|
|
1886
2511
|
as: as
|
|
1887
2512
|
}, forwardedProps, {
|
|
@@ -1894,6 +2519,7 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1894
2519
|
$fontWeight: fontWeight,
|
|
1895
2520
|
$lineHeight: lineHeight,
|
|
1896
2521
|
$noWrap: noWrap,
|
|
2522
|
+
$theme: theme,
|
|
1897
2523
|
$variant: variant
|
|
1898
2524
|
}), children);
|
|
1899
2525
|
});
|
|
@@ -1928,7 +2554,7 @@ const StyledFlexbox = styled.div`
|
|
|
1928
2554
|
::before {
|
|
1929
2555
|
content: '';
|
|
1930
2556
|
position: absolute;
|
|
1931
|
-
background-color: var(--redsift-color-neutral-
|
|
2557
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
1932
2558
|
inline-size: 1px;
|
|
1933
2559
|
block-size: 100%;
|
|
1934
2560
|
inset-inline-start: calc(${Math.max(1, $divider.colGap / 2)}px * -1);
|
|
@@ -1937,7 +2563,7 @@ const StyledFlexbox = styled.div`
|
|
|
1937
2563
|
::after {
|
|
1938
2564
|
content: '';
|
|
1939
2565
|
position: absolute;
|
|
1940
|
-
background-color: var(--redsift-color-neutral-
|
|
2566
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
1941
2567
|
inline-size: 200vw;
|
|
1942
2568
|
block-size: 1px;
|
|
1943
2569
|
inset-inline-start: -100vw;
|
|
@@ -1949,7 +2575,7 @@ const StyledFlexbox = styled.div`
|
|
|
1949
2575
|
}}
|
|
1950
2576
|
`;
|
|
1951
2577
|
|
|
1952
|
-
const _excluded$K = ["children", "className", "divider", "gap"];
|
|
2578
|
+
const _excluded$K = ["children", "className", "divider", "gap", "theme"];
|
|
1953
2579
|
const COMPONENT_NAME$K = 'Flexbox';
|
|
1954
2580
|
const CLASSNAME$K = 'redsift-flex-box';
|
|
1955
2581
|
const DEFAULT_PROPS$K = {
|
|
@@ -1964,47 +2590,54 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1964
2590
|
children,
|
|
1965
2591
|
className,
|
|
1966
2592
|
divider,
|
|
1967
|
-
gap
|
|
2593
|
+
gap,
|
|
2594
|
+
theme: propsTheme
|
|
1968
2595
|
} = props,
|
|
1969
2596
|
forwardedProps = _objectWithoutProperties(props, _excluded$K);
|
|
1970
|
-
|
|
2597
|
+
const theme = useTheme(propsTheme);
|
|
2598
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
2599
|
+
value: {
|
|
2600
|
+
theme
|
|
2601
|
+
}
|
|
2602
|
+
}, /*#__PURE__*/React__default.createElement(StyledFlexbox, _extends$1({}, forwardedProps, {
|
|
1971
2603
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
1972
2604
|
className: classNames(Flexbox.className, className),
|
|
1973
2605
|
ref: ref,
|
|
1974
|
-
$divider: divider
|
|
1975
|
-
|
|
2606
|
+
$divider: divider,
|
|
2607
|
+
$theme: theme
|
|
2608
|
+
}), children));
|
|
1976
2609
|
});
|
|
1977
2610
|
Flexbox.className = CLASSNAME$K;
|
|
1978
2611
|
Flexbox.defaultProps = DEFAULT_PROPS$K;
|
|
1979
2612
|
Flexbox.displayName = COMPONENT_NAME$K;
|
|
1980
2613
|
|
|
1981
|
-
const _excluded$J = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
|
|
2614
|
+
const _excluded$J = ["children", "className", "isClosable", "isClosed", "onClose", "theme", "title", "variant"];
|
|
1982
2615
|
const COMPONENT_NAME$J = 'Alert';
|
|
1983
2616
|
const CLASSNAME$J = 'redsift-alert';
|
|
1984
2617
|
const DEFAULT_PROPS$J = {
|
|
1985
2618
|
variant: 'info'
|
|
1986
2619
|
};
|
|
1987
|
-
const getVariant$1 = variant => {
|
|
2620
|
+
const getVariant$1 = (variant, theme) => {
|
|
1988
2621
|
switch (variant) {
|
|
1989
2622
|
case AlertVariant.info:
|
|
1990
2623
|
default:
|
|
1991
2624
|
return {
|
|
1992
|
-
color: NotificationsColorPalette.info,
|
|
2625
|
+
color: theme === Theme.light ? NotificationsColorPalette.info : 'white',
|
|
1993
2626
|
icon: mdiInformation
|
|
1994
2627
|
};
|
|
1995
2628
|
case AlertVariant.error:
|
|
1996
2629
|
return {
|
|
1997
|
-
color: NotificationsColorPalette.error,
|
|
2630
|
+
color: theme === Theme.light ? NotificationsColorPalette.error : 'white',
|
|
1998
2631
|
icon: mdiAlertCircle
|
|
1999
2632
|
};
|
|
2000
2633
|
case AlertVariant.success:
|
|
2001
2634
|
return {
|
|
2002
|
-
color: NotificationsColorPalette.success,
|
|
2635
|
+
color: theme === Theme.light ? NotificationsColorPalette.success : 'white',
|
|
2003
2636
|
icon: mdiCheckCircle
|
|
2004
2637
|
};
|
|
2005
2638
|
case AlertVariant.warning:
|
|
2006
2639
|
return {
|
|
2007
|
-
color: NotificationsColorPalette.warning,
|
|
2640
|
+
color: theme === Theme.light ? NotificationsColorPalette.warning : 'white',
|
|
2008
2641
|
icon: mdiAlert
|
|
2009
2642
|
};
|
|
2010
2643
|
}
|
|
@@ -2020,15 +2653,17 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2020
2653
|
isClosable,
|
|
2021
2654
|
isClosed: propsIsClosed,
|
|
2022
2655
|
onClose,
|
|
2656
|
+
theme: propsTheme,
|
|
2023
2657
|
title,
|
|
2024
2658
|
variant
|
|
2025
2659
|
} = props,
|
|
2026
2660
|
forwardedProps = _objectWithoutProperties(props, _excluded$J);
|
|
2661
|
+
const theme = useTheme(propsTheme);
|
|
2027
2662
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$6);
|
|
2028
2663
|
const {
|
|
2029
2664
|
color,
|
|
2030
2665
|
icon
|
|
2031
|
-
} = getVariant$1(variant);
|
|
2666
|
+
} = getVariant$1(variant, theme);
|
|
2032
2667
|
const [isClosed, setIsClosed] = useState(propsIsClosed);
|
|
2033
2668
|
useEffect(() => {
|
|
2034
2669
|
setIsClosed(propsIsClosed);
|
|
@@ -2047,6 +2682,7 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2047
2682
|
$hasTitle: Boolean(title),
|
|
2048
2683
|
$isClosable: isClosable,
|
|
2049
2684
|
$isClosed: isClosed,
|
|
2685
|
+
$theme: theme,
|
|
2050
2686
|
$variant: variant
|
|
2051
2687
|
}), /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
2052
2688
|
className: `${Alert.className}__header`,
|
|
@@ -2064,7 +2700,8 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2064
2700
|
"aria-label": stringFormatter.format('close'),
|
|
2065
2701
|
className: `${Alert.className}-header__icon-button`,
|
|
2066
2702
|
icon: mdiClose$1,
|
|
2067
|
-
onClick: handleClose
|
|
2703
|
+
onClick: handleClose,
|
|
2704
|
+
color: color
|
|
2068
2705
|
}) : null), children ? /*#__PURE__*/React__default.createElement("div", {
|
|
2069
2706
|
className: `${Alert.className}__content`
|
|
2070
2707
|
}, children) : null);
|
|
@@ -2110,8 +2747,17 @@ const useIsLoaded = () => {
|
|
|
2110
2747
|
const StyledAppBar = styled.header`
|
|
2111
2748
|
align-content: center;
|
|
2112
2749
|
align-items: center;
|
|
2113
|
-
|
|
2114
|
-
|
|
2750
|
+
|
|
2751
|
+
${_ref => {
|
|
2752
|
+
let {
|
|
2753
|
+
$theme
|
|
2754
|
+
} = _ref;
|
|
2755
|
+
return css`
|
|
2756
|
+
background-color: var(--redsift-color-${$theme}-components-app-bar-background);
|
|
2757
|
+
color: var(--redsift-color-${$theme}-components-text);
|
|
2758
|
+
`;
|
|
2759
|
+
}};
|
|
2760
|
+
|
|
2115
2761
|
display: flex;
|
|
2116
2762
|
flex-direction: row;
|
|
2117
2763
|
|
|
@@ -2126,21 +2772,22 @@ const StyledAppBar = styled.header`
|
|
|
2126
2772
|
top: 0;
|
|
2127
2773
|
z-index: var(--redsift-layout-z-index-header);
|
|
2128
2774
|
|
|
2129
|
-
${
|
|
2775
|
+
${_ref2 => {
|
|
2130
2776
|
let {
|
|
2131
|
-
$hasBorder
|
|
2132
|
-
|
|
2777
|
+
$hasBorder,
|
|
2778
|
+
$theme
|
|
2779
|
+
} = _ref2;
|
|
2133
2780
|
return $hasBorder ? css`
|
|
2134
|
-
border-bottom: 2px solid
|
|
2781
|
+
border-bottom: 2px solid var(--redsift-color-${$theme}-components-app-bar-border);
|
|
2135
2782
|
` : css`
|
|
2136
2783
|
border-bottom: none;
|
|
2137
2784
|
`;
|
|
2138
2785
|
}}
|
|
2139
2786
|
|
|
2140
|
-
${
|
|
2787
|
+
${_ref3 => {
|
|
2141
2788
|
let {
|
|
2142
2789
|
$isSidePanelCollapsed
|
|
2143
|
-
} =
|
|
2790
|
+
} = _ref3;
|
|
2144
2791
|
return !$isSidePanelCollapsed ? css`
|
|
2145
2792
|
transform: translate(254px);
|
|
2146
2793
|
width: calc(100% - 254px);
|
|
@@ -2150,10 +2797,10 @@ const StyledAppBar = styled.header`
|
|
|
2150
2797
|
`;
|
|
2151
2798
|
}}
|
|
2152
2799
|
|
|
2153
|
-
${
|
|
2800
|
+
${_ref4 => {
|
|
2154
2801
|
let {
|
|
2155
2802
|
$isLoaded
|
|
2156
|
-
} =
|
|
2803
|
+
} = _ref4;
|
|
2157
2804
|
return $isLoaded ? css`
|
|
2158
2805
|
transition: transform 0.25s ease-out, width 0.25s ease-out;
|
|
2159
2806
|
` : '';
|
|
@@ -2200,7 +2847,12 @@ const StyledAppBar = styled.header`
|
|
|
2200
2847
|
font-size: var(--redsift-typography-h1-font-size) !important;
|
|
2201
2848
|
font-weight: var(--redsift-typography-body-font-weight) !important;
|
|
2202
2849
|
line-height: var(--redsift-typography-h1-line-height) !important;
|
|
2203
|
-
color:
|
|
2850
|
+
color: ${_ref5 => {
|
|
2851
|
+
let {
|
|
2852
|
+
$theme
|
|
2853
|
+
} = _ref5;
|
|
2854
|
+
return css`var(--redsift-color-${$theme}-components-app-bar-breadcrumb-default) !important`;
|
|
2855
|
+
}};
|
|
2204
2856
|
}
|
|
2205
2857
|
|
|
2206
2858
|
h1.redsift-breadcrumb-item {
|
|
@@ -2247,40 +2899,41 @@ const StyledHeading = styled.span`
|
|
|
2247
2899
|
|
|
2248
2900
|
${_ref => {
|
|
2249
2901
|
let {
|
|
2250
|
-
$variant
|
|
2902
|
+
$variant,
|
|
2903
|
+
$theme
|
|
2251
2904
|
} = _ref;
|
|
2252
2905
|
return $variant === 'h1' ? css`
|
|
2253
|
-
color: var(--redsift-color-
|
|
2906
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2254
2907
|
font-family: var(--redsift-typography-h1-font-family);
|
|
2255
2908
|
font-size: var(--redsift-typography-h1-font-size);
|
|
2256
2909
|
font-weight: var(--redsift-typography-h1-font-weight);
|
|
2257
2910
|
line-height: var(--redsift-typography-h1-line-height);
|
|
2258
2911
|
` : $variant === 'h2' ? css`
|
|
2259
|
-
color: var(--redsift-color-
|
|
2912
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2260
2913
|
font-family: var(--redsift-typography-h2-font-family);
|
|
2261
2914
|
font-size: var(--redsift-typography-h2-font-size);
|
|
2262
2915
|
font-weight: var(--redsift-typography-h2-font-weight);
|
|
2263
2916
|
line-height: var(--redsift-typography-h2-line-height);
|
|
2264
2917
|
` : $variant === 'h3' ? css`
|
|
2265
|
-
color: var(--redsift-color-
|
|
2918
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2266
2919
|
font-family: var(--redsift-typography-h3-font-family);
|
|
2267
2920
|
font-size: var(--redsift-typography-h3-font-size);
|
|
2268
2921
|
font-weight: var(--redsift-typography-h3-font-weight);
|
|
2269
2922
|
line-height: var(--redsift-typography-h3-line-height);
|
|
2270
2923
|
` : $variant === 'h4' ? css`
|
|
2271
|
-
color: var(--redsift-color-
|
|
2924
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2272
2925
|
font-family: var(--redsift-typography-h4-font-family);
|
|
2273
2926
|
font-size: var(--redsift-typography-h4-font-size);
|
|
2274
2927
|
font-weight: var(--redsift-typography-h4-font-weight);
|
|
2275
2928
|
line-height: var(--redsift-typography-h4-line-height);
|
|
2276
2929
|
` : $variant === 'h5' ? css`
|
|
2277
|
-
color: var(--redsift-color-
|
|
2930
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2278
2931
|
font-family: var(--redsift-typography-h5-font-family);
|
|
2279
2932
|
font-size: var(--redsift-typography-h5-font-size);
|
|
2280
2933
|
font-weight: var(--redsift-typography-h5-font-weight);
|
|
2281
2934
|
line-height: var(--redsift-typography-h5-line-height);
|
|
2282
2935
|
` : css`
|
|
2283
|
-
color: var(--redsift-color-
|
|
2936
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
2284
2937
|
font-family: var(--redsift-typography-body-font-family);
|
|
2285
2938
|
font-size: var(--redsift-typography-body-font-size);
|
|
2286
2939
|
font-weight: var(--redsift-typography-body-font-weight);
|
|
@@ -2300,7 +2953,7 @@ const StyledHeading = styled.span`
|
|
|
2300
2953
|
}}
|
|
2301
2954
|
`;
|
|
2302
2955
|
|
|
2303
|
-
const _excluded$I = ["as", "children", "className", "noWrap", "variant"];
|
|
2956
|
+
const _excluded$I = ["as", "children", "className", "noWrap", "theme", "variant"];
|
|
2304
2957
|
const COMPONENT_NAME$I = 'Heading';
|
|
2305
2958
|
const CLASSNAME$I = 'redsift-heading';
|
|
2306
2959
|
const DEFAULT_PROPS$I = {};
|
|
@@ -2314,15 +2967,18 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2314
2967
|
children,
|
|
2315
2968
|
className,
|
|
2316
2969
|
noWrap,
|
|
2970
|
+
theme: propsTheme,
|
|
2317
2971
|
variant
|
|
2318
2972
|
} = props,
|
|
2319
2973
|
forwardedProps = _objectWithoutProperties(props, _excluded$I);
|
|
2974
|
+
const theme = useTheme(propsTheme);
|
|
2320
2975
|
return /*#__PURE__*/React__default.createElement(StyledHeading, _extends$1({
|
|
2321
2976
|
as: as
|
|
2322
2977
|
}, forwardedProps, {
|
|
2323
2978
|
className: classNames(Heading.className, className),
|
|
2324
2979
|
ref: ref,
|
|
2325
2980
|
$noWrap: noWrap,
|
|
2981
|
+
$theme: theme,
|
|
2326
2982
|
$variant: variant ? variant : as === 'span' ? 'body' : as
|
|
2327
2983
|
}), children);
|
|
2328
2984
|
});
|
|
@@ -2366,8 +3022,18 @@ var intlMessages$3 = {
|
|
|
2366
3022
|
*/
|
|
2367
3023
|
const StyledAppSidePanel = styled.div`
|
|
2368
3024
|
align-items: center;
|
|
2369
|
-
background-color:
|
|
2370
|
-
|
|
3025
|
+
background-color: ${_ref => {
|
|
3026
|
+
let {
|
|
3027
|
+
$theme
|
|
3028
|
+
} = _ref;
|
|
3029
|
+
return css`var(--redsift-color-${$theme}-components-side-navigation-background)`;
|
|
3030
|
+
}};
|
|
3031
|
+
border-right: 4px solid ${_ref2 => {
|
|
3032
|
+
let {
|
|
3033
|
+
$theme
|
|
3034
|
+
} = _ref2;
|
|
3035
|
+
return css`var(--redsift-color-${$theme}-components-side-navigation-right-line)`;
|
|
3036
|
+
}};
|
|
2371
3037
|
box-sizing: border-box;
|
|
2372
3038
|
flex-direction: column;
|
|
2373
3039
|
height: 100%;
|
|
@@ -2376,10 +3042,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2376
3042
|
position: fixed;
|
|
2377
3043
|
top: 0;
|
|
2378
3044
|
transition: width 300ms ease-out;
|
|
2379
|
-
width: ${
|
|
3045
|
+
width: ${_ref3 => {
|
|
2380
3046
|
let {
|
|
2381
3047
|
$variant
|
|
2382
|
-
} =
|
|
3048
|
+
} = _ref3;
|
|
2383
3049
|
return $variant === AppSidePanelVariant.shrinked ? '68px' : '254px';
|
|
2384
3050
|
}};
|
|
2385
3051
|
z-index: var(--redsift-layout-z-index-side-panel);
|
|
@@ -2387,10 +3053,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2387
3053
|
.redsift-app-side-panel__header {
|
|
2388
3054
|
box-sizing: border-box;
|
|
2389
3055
|
transition: padding 300ms ease-out;
|
|
2390
|
-
padding: 18px ${
|
|
3056
|
+
padding: 18px ${_ref4 => {
|
|
2391
3057
|
let {
|
|
2392
3058
|
$variant
|
|
2393
|
-
} =
|
|
3059
|
+
} = _ref4;
|
|
2394
3060
|
return $variant === AppSidePanelVariant.shrinked ? '16px' : '24px';
|
|
2395
3061
|
}};
|
|
2396
3062
|
margin-bottom: 16px;
|
|
@@ -2420,10 +3086,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2420
3086
|
grid-column: 1;
|
|
2421
3087
|
grid-row: 1;
|
|
2422
3088
|
transition: opacity 300ms ease-out;
|
|
2423
|
-
opacity: ${
|
|
3089
|
+
opacity: ${_ref5 => {
|
|
2424
3090
|
let {
|
|
2425
3091
|
$variant
|
|
2426
|
-
} =
|
|
3092
|
+
} = _ref5;
|
|
2427
3093
|
return $variant === AppSidePanelVariant.shrinked ? '0' : '1';
|
|
2428
3094
|
}};
|
|
2429
3095
|
|
|
@@ -2445,10 +3111,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2445
3111
|
grid-column: 1;
|
|
2446
3112
|
grid-row: 1;
|
|
2447
3113
|
transition: opacity 300ms ease-out;
|
|
2448
|
-
opacity: ${
|
|
3114
|
+
opacity: ${_ref6 => {
|
|
2449
3115
|
let {
|
|
2450
3116
|
$variant
|
|
2451
|
-
} =
|
|
3117
|
+
} = _ref6;
|
|
2452
3118
|
return $variant === AppSidePanelVariant.shrinked ? '1' : '0';
|
|
2453
3119
|
}};
|
|
2454
3120
|
padding: 2px;
|
|
@@ -2471,7 +3137,12 @@ const StyledAppSidePanel = styled.div`
|
|
|
2471
3137
|
transition: unset;
|
|
2472
3138
|
}
|
|
2473
3139
|
|
|
2474
|
-
scrollbar-color:
|
|
3140
|
+
scrollbar-color: ${_ref7 => {
|
|
3141
|
+
let {
|
|
3142
|
+
$theme
|
|
3143
|
+
} = _ref7;
|
|
3144
|
+
return css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting) transparent`;
|
|
3145
|
+
}};
|
|
2475
3146
|
scrollbar-width: thin;
|
|
2476
3147
|
|
|
2477
3148
|
&::-webkit-scrollbar {
|
|
@@ -2481,7 +3152,12 @@ const StyledAppSidePanel = styled.div`
|
|
|
2481
3152
|
|
|
2482
3153
|
&::-webkit-scrollbar-thumb {
|
|
2483
3154
|
background-clip: padding-box;
|
|
2484
|
-
background-color:
|
|
3155
|
+
background-color: ${_ref8 => {
|
|
3156
|
+
let {
|
|
3157
|
+
$theme
|
|
3158
|
+
} = _ref8;
|
|
3159
|
+
return css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting)`;
|
|
3160
|
+
}};
|
|
2485
3161
|
border-radius: 0px;
|
|
2486
3162
|
border-left: 2px solid transparent;
|
|
2487
3163
|
border-right: 2px solid transparent;
|
|
@@ -2494,7 +3170,12 @@ const StyledAppSidePanel = styled.div`
|
|
|
2494
3170
|
&::-webkit-scrollbar-thumb:horizontal,
|
|
2495
3171
|
&::-webkit-scrollbar-thumb:vertical {
|
|
2496
3172
|
&:hover {
|
|
2497
|
-
background-color:
|
|
3173
|
+
background-color: ${_ref9 => {
|
|
3174
|
+
let {
|
|
3175
|
+
$theme
|
|
3176
|
+
} = _ref9;
|
|
3177
|
+
return css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-hover)`;
|
|
3178
|
+
}};
|
|
2498
3179
|
}
|
|
2499
3180
|
}
|
|
2500
3181
|
|
|
@@ -2503,7 +3184,17 @@ const StyledAppSidePanel = styled.div`
|
|
|
2503
3184
|
}
|
|
2504
3185
|
`;
|
|
2505
3186
|
|
|
2506
|
-
|
|
3187
|
+
// --redsift-color-${$theme}-components-side-navigation-background
|
|
3188
|
+
// --redsift-color-${$theme}-components-side-navigation-right-line
|
|
3189
|
+
// --redsift-color-${$theme}-components-side-navigation-current-marker
|
|
3190
|
+
// --redsift-color-${$theme}-components-side-navigation-text
|
|
3191
|
+
// --redsift-color-${$theme}-components-side-navigation-icon
|
|
3192
|
+
// --redsift-color-${$theme}-components-side-navigation-chat-background-hover
|
|
3193
|
+
// --redsift-color-${$theme}-components-side-navigation-chat-background-down
|
|
3194
|
+
|
|
3195
|
+
// ${({ $theme }) => css`var(--redsift-color-${$theme}-components-side-navigation-background)`};
|
|
3196
|
+
|
|
3197
|
+
const _excluded$H = ["children", "className", "featuredElements", "logo", "variant", "onOpen", "iconButtonProps", "iconButtonRef", "theme"];
|
|
2507
3198
|
const COMPONENT_NAME$H = 'AppSidePanel';
|
|
2508
3199
|
const CLASSNAME$H = 'redsift-app-side-panel';
|
|
2509
3200
|
const DEFAULT_PROPS$H = {
|
|
@@ -2522,13 +3213,15 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2522
3213
|
variant,
|
|
2523
3214
|
onOpen,
|
|
2524
3215
|
iconButtonProps,
|
|
2525
|
-
iconButtonRef
|
|
3216
|
+
iconButtonRef,
|
|
3217
|
+
theme: propsTheme
|
|
2526
3218
|
} = props,
|
|
2527
3219
|
forwardedProps = _objectWithoutProperties(props, _excluded$H);
|
|
2528
3220
|
const {
|
|
2529
3221
|
width
|
|
2530
3222
|
} = useWindowSize();
|
|
2531
3223
|
const appContainerState = useContext(AppContainerContext);
|
|
3224
|
+
const theme = useTheme(propsTheme);
|
|
2532
3225
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$3);
|
|
2533
3226
|
useEffect(() => {
|
|
2534
3227
|
if (appContainerState && variant && appContainerState.sidePanelVariant !== variant) {
|
|
@@ -2542,6 +3235,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2542
3235
|
const computedVariant = appContainerState ? appContainerState.sidePanelVariant : variant;
|
|
2543
3236
|
const product = appContainerState && appContainerState.product;
|
|
2544
3237
|
return /*#__PURE__*/React__default.createElement(StyledAppSidePanel, _extends$1({}, forwardedProps, {
|
|
3238
|
+
$theme: theme,
|
|
2545
3239
|
$variant: computedVariant,
|
|
2546
3240
|
className: classNames(AppSidePanel.className, className),
|
|
2547
3241
|
ref: ref
|
|
@@ -2564,7 +3258,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2564
3258
|
icon: mdiMenu,
|
|
2565
3259
|
onClick: handleClose,
|
|
2566
3260
|
ref: iconButtonRef,
|
|
2567
|
-
color: "
|
|
3261
|
+
color: "grey",
|
|
2568
3262
|
isDisabled: computedVariant === 'standard'
|
|
2569
3263
|
}))), featuredElements ? /*#__PURE__*/React__default.createElement("div", {
|
|
2570
3264
|
className: `${AppSidePanel.className}__featured`
|
|
@@ -2625,13 +3319,18 @@ const StyledSideNavigationMenuItemIndicator = styled.div`
|
|
|
2625
3319
|
width: 4px;
|
|
2626
3320
|
height: 38px;
|
|
2627
3321
|
border-radius: 0px 4px 4px 0px;
|
|
2628
|
-
background-color:
|
|
3322
|
+
background-color: ${_ref => {
|
|
3323
|
+
let {
|
|
3324
|
+
$theme
|
|
3325
|
+
} = _ref;
|
|
3326
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-current-marker)`;
|
|
3327
|
+
}};
|
|
2629
3328
|
`;
|
|
2630
3329
|
const StyledSideNavigationMenuItemBorder = styled.div`
|
|
2631
3330
|
position: relative;
|
|
2632
3331
|
width: 100%;
|
|
2633
3332
|
height: 1px;
|
|
2634
|
-
background-color: var(--redsift-color-neutral-
|
|
3333
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
2635
3334
|
margin-left: 62px;
|
|
2636
3335
|
margin-top: -1px;
|
|
2637
3336
|
`;
|
|
@@ -2643,17 +3342,18 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2643
3342
|
/**
|
|
2644
3343
|
* Common style
|
|
2645
3344
|
*/
|
|
2646
|
-
${
|
|
3345
|
+
${_ref2 => {
|
|
2647
3346
|
let {
|
|
2648
|
-
$isDisabled
|
|
2649
|
-
|
|
3347
|
+
$isDisabled,
|
|
3348
|
+
$theme
|
|
3349
|
+
} = _ref2;
|
|
2650
3350
|
return !$isDisabled ? css`
|
|
2651
3351
|
& {
|
|
2652
|
-
color: var(--redsift-side-navigation-
|
|
3352
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-resting);
|
|
2653
3353
|
}
|
|
2654
3354
|
` : css`
|
|
2655
3355
|
& {
|
|
2656
|
-
color: var(--redsift-side-navigation-
|
|
3356
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-disabled);
|
|
2657
3357
|
}
|
|
2658
3358
|
`;
|
|
2659
3359
|
}}
|
|
@@ -2674,39 +3374,41 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2674
3374
|
&:focus-visible {
|
|
2675
3375
|
outline: none;
|
|
2676
3376
|
|
|
2677
|
-
${
|
|
3377
|
+
${_ref3 => {
|
|
2678
3378
|
let {
|
|
2679
|
-
$isDisabled
|
|
2680
|
-
|
|
3379
|
+
$isDisabled,
|
|
3380
|
+
$theme
|
|
3381
|
+
} = _ref3;
|
|
2681
3382
|
return !$isDisabled ? css`
|
|
2682
|
-
background-color: var(--redsift-side-navigation-
|
|
3383
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-hover);
|
|
2683
3384
|
& {
|
|
2684
|
-
color: var(--redsift-side-navigation-
|
|
3385
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-hover);
|
|
2685
3386
|
}
|
|
2686
3387
|
` : '';
|
|
2687
3388
|
}}
|
|
2688
3389
|
}
|
|
2689
3390
|
|
|
2690
3391
|
:active {
|
|
2691
|
-
${
|
|
3392
|
+
${_ref4 => {
|
|
2692
3393
|
let {
|
|
2693
|
-
$isDisabled
|
|
2694
|
-
|
|
3394
|
+
$isDisabled,
|
|
3395
|
+
$theme
|
|
3396
|
+
} = _ref4;
|
|
2695
3397
|
return !$isDisabled ? css`
|
|
2696
|
-
background-color: var(--redsift-side-navigation-
|
|
3398
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-active);
|
|
2697
3399
|
` : '';
|
|
2698
3400
|
}}
|
|
2699
3401
|
}
|
|
2700
3402
|
|
|
2701
|
-
${
|
|
3403
|
+
${_ref5 => {
|
|
2702
3404
|
let {
|
|
2703
3405
|
$variant
|
|
2704
|
-
} =
|
|
3406
|
+
} = _ref5;
|
|
2705
3407
|
return css`
|
|
2706
3408
|
@media (prefers-reduced-motion: no-preference) {
|
|
2707
3409
|
:focus-visible {
|
|
2708
3410
|
> span${$variant === SideNavigationMenuBarVariant.shrinked ? '.first' : '.content'} {
|
|
2709
|
-
outline: 2px solid var(--redsift-color-
|
|
3411
|
+
outline: 2px solid var(--redsift-color-primary-n);
|
|
2710
3412
|
transition: outline-offset 75ms ease-out;
|
|
2711
3413
|
}
|
|
2712
3414
|
|
|
@@ -2733,17 +3435,18 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2733
3435
|
`;
|
|
2734
3436
|
}}
|
|
2735
3437
|
|
|
2736
|
-
${
|
|
3438
|
+
${_ref6 => {
|
|
2737
3439
|
let {
|
|
2738
3440
|
$isSecondLevel,
|
|
2739
|
-
$variant
|
|
2740
|
-
|
|
3441
|
+
$variant,
|
|
3442
|
+
$theme
|
|
3443
|
+
} = _ref6;
|
|
2741
3444
|
return !$isSecondLevel ? css`
|
|
2742
3445
|
/**
|
|
2743
3446
|
* First-level items
|
|
2744
3447
|
*/
|
|
2745
3448
|
|
|
2746
|
-
background-color: var(--redsift-side-navigation-
|
|
3449
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-background);
|
|
2747
3450
|
height: 38px;
|
|
2748
3451
|
margin-bottom: 16px;
|
|
2749
3452
|
margin-left: -4px;
|
|
@@ -2758,7 +3461,7 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2758
3461
|
* Second-level items
|
|
2759
3462
|
*/
|
|
2760
3463
|
|
|
2761
|
-
background-color: var(--redsift-side-navigation-
|
|
3464
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-secondary);
|
|
2762
3465
|
font-size: var(--redsift-typography-caption-font-size);
|
|
2763
3466
|
padding-bottom: 7px;
|
|
2764
3467
|
padding-left: 62px;
|
|
@@ -2797,20 +3500,21 @@ const StyledBadge = styled.div`
|
|
|
2797
3500
|
${_ref => {
|
|
2798
3501
|
let {
|
|
2799
3502
|
$color,
|
|
2800
|
-
$isReversed
|
|
3503
|
+
$isReversed,
|
|
3504
|
+
$theme
|
|
2801
3505
|
} = _ref;
|
|
2802
3506
|
if ($isReversed) {
|
|
2803
3507
|
return css`
|
|
2804
|
-
background-color: var(--redsift-color-neutral-
|
|
3508
|
+
background-color: var(--redsift-color-neutral-${$theme === Theme.light ? 'white' : 'x-dark-grey'});
|
|
2805
3509
|
|
|
2806
3510
|
&,
|
|
2807
3511
|
.redsift-icon {
|
|
2808
|
-
color: ${Object.keys(
|
|
3512
|
+
color: ${Object.keys(PresentationColorPalette).includes($color) ? `var(--redsift-color-presentation-${$color}-darker);` : Object.keys(NotificationsColorPalette).includes($color) ? `var(--redsift-color-notifications-${$color}-primary);` : css`var(--redsift-color-neutral-x-dark-grey);`};
|
|
2809
3513
|
}
|
|
2810
3514
|
`;
|
|
2811
3515
|
} else {
|
|
2812
3516
|
return css`
|
|
2813
|
-
background-color: ${Object.keys(
|
|
3517
|
+
background-color: ${Object.keys(PresentationColorPalette).includes($color) ? `var(--redsift-color-presentation-${$color}-darker);` : Object.keys(NotificationsColorPalette).includes($color) ? `var(--redsift-color-notifications-${$color}-primary);` : css`var(--redsift-color-neutral-x-dark-grey);`};
|
|
2814
3518
|
&,
|
|
2815
3519
|
.redsift-icon {
|
|
2816
3520
|
color: var(--redsift-color-neutral-white);
|
|
@@ -2872,7 +3576,7 @@ const StyledBadge = styled.div`
|
|
|
2872
3576
|
}}
|
|
2873
3577
|
`;
|
|
2874
3578
|
|
|
2875
|
-
const _excluded$G = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
|
|
3579
|
+
const _excluded$G = ["autoBreak", "children", "className", "color", "isReversed", "theme", "variant"];
|
|
2876
3580
|
const COMPONENT_NAME$G = 'Badge';
|
|
2877
3581
|
const CLASSNAME$G = 'redsift-badge';
|
|
2878
3582
|
const DEFAULT_PROPS$G = {
|
|
@@ -2890,13 +3594,16 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2890
3594
|
className,
|
|
2891
3595
|
color,
|
|
2892
3596
|
isReversed,
|
|
3597
|
+
theme: propsTheme,
|
|
2893
3598
|
variant
|
|
2894
3599
|
} = props,
|
|
2895
3600
|
forwardedProps = _objectWithoutProperties(props, _excluded$G);
|
|
3601
|
+
const theme = useTheme(propsTheme);
|
|
2896
3602
|
return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
|
|
2897
3603
|
$autoBreak: autoBreak,
|
|
2898
3604
|
$color: color,
|
|
2899
3605
|
$isReversed: isReversed,
|
|
3606
|
+
$theme: theme,
|
|
2900
3607
|
$variant: variant,
|
|
2901
3608
|
className: classNames(Badge.className, `${Badge.className}-${variant}`, className),
|
|
2902
3609
|
ref: ref
|
|
@@ -2906,7 +3613,7 @@ Badge.className = CLASSNAME$G;
|
|
|
2906
3613
|
Badge.defaultProps = DEFAULT_PROPS$G;
|
|
2907
3614
|
Badge.displayName = COMPONENT_NAME$G;
|
|
2908
3615
|
|
|
2909
|
-
const _excluded$F = ["as", "badge", "badgeProps", "children", "className", "hasBorder", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex"];
|
|
3616
|
+
const _excluded$F = ["as", "badge", "badgeProps", "children", "className", "hasBorder", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "theme"];
|
|
2910
3617
|
const COMPONENT_NAME$F = 'SideNavigationMenuItem';
|
|
2911
3618
|
const CLASSNAME$F = 'redsift-side-navigation-menu-item';
|
|
2912
3619
|
const DEFAULT_PROPS$F = {};
|
|
@@ -2932,12 +3639,14 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2932
3639
|
isSecondLevel,
|
|
2933
3640
|
onClick,
|
|
2934
3641
|
onKeyDown,
|
|
2935
|
-
tabIndex
|
|
3642
|
+
tabIndex,
|
|
3643
|
+
theme: propsTheme
|
|
2936
3644
|
} = props,
|
|
2937
3645
|
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
2938
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
3646
|
+
warnIfNoAccessibleLabelFound(props, [children], 'SideNavigationMenuItem');
|
|
2939
3647
|
const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
|
|
2940
3648
|
const sideNavigationMenuContext = useContext(SideNavigationMenuContext);
|
|
3649
|
+
const theme = useTheme(propsTheme);
|
|
2941
3650
|
const [isFirstChild, setIsFirstChild] = useState(false);
|
|
2942
3651
|
const {
|
|
2943
3652
|
menuItems
|
|
@@ -2965,13 +3674,16 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2965
3674
|
}, /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
2966
3675
|
flexDirection: "row",
|
|
2967
3676
|
gap: "0px"
|
|
2968
|
-
}, !isSecondLevel ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicatorContainer, null, isCurrent ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicator,
|
|
3677
|
+
}, !isSecondLevel ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicatorContainer, null, isCurrent ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicator, {
|
|
3678
|
+
$theme: theme
|
|
3679
|
+
}) : null) : null, /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItem, _extends$1({
|
|
2969
3680
|
as: as,
|
|
2970
3681
|
role: "menuitem"
|
|
2971
3682
|
}, forwardedProps, {
|
|
2972
3683
|
$isCurrent: isCurrent,
|
|
2973
3684
|
$isDisabled: isDisabled,
|
|
2974
3685
|
$isSecondLevel: isSecondLevel,
|
|
3686
|
+
$theme: theme,
|
|
2975
3687
|
$variant: sideNavigationVariant,
|
|
2976
3688
|
"aria-current": isCurrent ? 'page' : undefined,
|
|
2977
3689
|
"aria-disabled": isDisabled,
|
|
@@ -3014,21 +3726,22 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
3014
3726
|
${_ref => {
|
|
3015
3727
|
let {
|
|
3016
3728
|
$isDisabled,
|
|
3017
|
-
$variant
|
|
3729
|
+
$variant,
|
|
3730
|
+
$theme
|
|
3018
3731
|
} = _ref;
|
|
3019
3732
|
return css`
|
|
3020
3733
|
.redsift-side-navigation-menu__menu-container > button {
|
|
3021
3734
|
${!$isDisabled ? css`
|
|
3022
3735
|
& {
|
|
3023
|
-
color: var(--redsift-side-navigation-
|
|
3736
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-resting);
|
|
3024
3737
|
}
|
|
3025
3738
|
` : css`
|
|
3026
3739
|
& {
|
|
3027
|
-
color: var(--redsift-side-navigation-
|
|
3740
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-disabled);
|
|
3028
3741
|
}
|
|
3029
3742
|
`}
|
|
3030
3743
|
align-items: center;
|
|
3031
|
-
background-color: var(--redsift-side-navigation-
|
|
3744
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-background);
|
|
3032
3745
|
border: none;
|
|
3033
3746
|
border-radius: 0 4px 4px 0;
|
|
3034
3747
|
display: flex;
|
|
@@ -3050,11 +3763,11 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
3050
3763
|
outline: none;
|
|
3051
3764
|
|
|
3052
3765
|
${!$isDisabled ? css`
|
|
3053
|
-
background-color: var(--redsift-side-navigation-
|
|
3766
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-hover);
|
|
3054
3767
|
&,
|
|
3055
3768
|
.redsift-icon.first,
|
|
3056
3769
|
.redsift-side-navigation-menu__expand-icon {
|
|
3057
|
-
color: var(--redsift-side-navigation-
|
|
3770
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-hover);
|
|
3058
3771
|
}
|
|
3059
3772
|
cursor: pointer;
|
|
3060
3773
|
` : ''}
|
|
@@ -3062,14 +3775,14 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
3062
3775
|
|
|
3063
3776
|
:active {
|
|
3064
3777
|
${!$isDisabled ? css`
|
|
3065
|
-
background-color: var(--redsift-side-navigation-
|
|
3778
|
+
background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-active);
|
|
3066
3779
|
` : ''}
|
|
3067
3780
|
}
|
|
3068
3781
|
|
|
3069
3782
|
@media (prefers-reduced-motion: no-preference) {
|
|
3070
3783
|
:focus-visible {
|
|
3071
3784
|
> span${$variant === SideNavigationMenuBarVariant.shrinked ? '.first' : '.content'} {
|
|
3072
|
-
outline: 2px solid var(--redsift-color-
|
|
3785
|
+
outline: 2px solid var(--redsift-color-primary-n);
|
|
3073
3786
|
transition: outline-offset 75ms ease-out;
|
|
3074
3787
|
}
|
|
3075
3788
|
|
|
@@ -3106,17 +3819,18 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
3106
3819
|
transition: transform 300ms ease-out;
|
|
3107
3820
|
${_ref2 => {
|
|
3108
3821
|
let {
|
|
3109
|
-
$isDisabled
|
|
3822
|
+
$isDisabled,
|
|
3823
|
+
$theme
|
|
3110
3824
|
} = _ref2;
|
|
3111
3825
|
return !$isDisabled ? css`
|
|
3112
3826
|
&,
|
|
3113
3827
|
.redsift-icon.first {
|
|
3114
|
-
color: var(--redsift-side-navigation-
|
|
3828
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-resting);
|
|
3115
3829
|
}
|
|
3116
3830
|
` : css`
|
|
3117
3831
|
&,
|
|
3118
3832
|
.redsift-icon.first {
|
|
3119
|
-
color: var(--redsift-side-navigation-
|
|
3833
|
+
color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-text-disabled);
|
|
3120
3834
|
}
|
|
3121
3835
|
`;
|
|
3122
3836
|
}}
|
|
@@ -3210,9 +3924,28 @@ const SideNavigationMenuReducer = (state, action) => {
|
|
|
3210
3924
|
*/
|
|
3211
3925
|
const StyledAppContainer = styled.div`
|
|
3212
3926
|
box-sizing: content-box;
|
|
3927
|
+
|
|
3928
|
+
--redsift-color-text-primary: ${_ref => {
|
|
3929
|
+
let {
|
|
3930
|
+
$theme
|
|
3931
|
+
} = _ref;
|
|
3932
|
+
return `var(--redsift-color-${$theme}-components-text-primary);`;
|
|
3933
|
+
}};
|
|
3934
|
+
--redsift-color-text-secondary: ${_ref2 => {
|
|
3935
|
+
let {
|
|
3936
|
+
$theme
|
|
3937
|
+
} = _ref2;
|
|
3938
|
+
return `var(--redsift-color-${$theme}-components-text-secondary);`;
|
|
3939
|
+
}};
|
|
3940
|
+
color: ${_ref3 => {
|
|
3941
|
+
let {
|
|
3942
|
+
$theme
|
|
3943
|
+
} = _ref3;
|
|
3944
|
+
return `var(--redsift-color-${$theme}-components-text-primary)`;
|
|
3945
|
+
}};
|
|
3213
3946
|
`;
|
|
3214
3947
|
|
|
3215
|
-
const _excluded$E = ["children", "className", "locale", "product"];
|
|
3948
|
+
const _excluded$E = ["children", "className", "locale", "product", "theme"];
|
|
3216
3949
|
const COMPONENT_NAME$E = 'AppContainer';
|
|
3217
3950
|
const CLASSNAME$E = 'redsift-app-container';
|
|
3218
3951
|
const DEFAULT_PROPS$E = {};
|
|
@@ -3225,9 +3958,11 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3225
3958
|
children,
|
|
3226
3959
|
className,
|
|
3227
3960
|
locale,
|
|
3228
|
-
product
|
|
3961
|
+
product,
|
|
3962
|
+
theme: propsTheme
|
|
3229
3963
|
} = props,
|
|
3230
3964
|
forwardedProps = _objectWithoutProperties(props, _excluded$E);
|
|
3965
|
+
const theme = useTheme(propsTheme);
|
|
3231
3966
|
const [sidePanelVariant, setSidePanelVariant] = useState(AppSidePanelVariant.standard);
|
|
3232
3967
|
const [breadcrumbs, setBreadcrumbs] = useState();
|
|
3233
3968
|
const state = {
|
|
@@ -3247,20 +3982,25 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3247
3982
|
};
|
|
3248
3983
|
return /*#__PURE__*/React__default.createElement(StyledAppContainer, _extends$1({}, forwardedProps, {
|
|
3249
3984
|
id: "redsift-app-container",
|
|
3985
|
+
$theme: theme,
|
|
3250
3986
|
$product: product,
|
|
3251
3987
|
className: classNames(AppContainer.className, className),
|
|
3252
3988
|
ref: ref
|
|
3253
3989
|
}), /*#__PURE__*/React__default.createElement(AppContainerContext.Provider, {
|
|
3254
3990
|
value: state
|
|
3991
|
+
}, /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
3992
|
+
value: {
|
|
3993
|
+
theme
|
|
3994
|
+
}
|
|
3255
3995
|
}, /*#__PURE__*/React__default.createElement(I18nProvider, {
|
|
3256
3996
|
locale: locale
|
|
3257
|
-
}, children)));
|
|
3997
|
+
}, children))));
|
|
3258
3998
|
});
|
|
3259
3999
|
AppContainer.className = CLASSNAME$E;
|
|
3260
4000
|
AppContainer.defaultProps = DEFAULT_PROPS$E;
|
|
3261
4001
|
AppContainer.displayName = COMPONENT_NAME$E;
|
|
3262
4002
|
|
|
3263
|
-
const _excluded$D = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex"];
|
|
4003
|
+
const _excluded$D = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "theme"];
|
|
3264
4004
|
const COMPONENT_NAME$D = 'SideNavigationMenu';
|
|
3265
4005
|
const CLASSNAME$D = 'redsift-side-navigation-menu';
|
|
3266
4006
|
const DEFAULT_PROPS$D = {};
|
|
@@ -3284,14 +4024,16 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3284
4024
|
isExpanded: propsIsExpanded,
|
|
3285
4025
|
menuProps = {},
|
|
3286
4026
|
menuRef = useRef(),
|
|
3287
|
-
tabIndex
|
|
4027
|
+
tabIndex,
|
|
4028
|
+
theme: propsTheme
|
|
3288
4029
|
} = props,
|
|
3289
4030
|
forwardedProps = _objectWithoutProperties(props, _excluded$D);
|
|
3290
4031
|
const [_id] = useId$1();
|
|
3291
4032
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
3292
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4033
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'SideNavigationMenu');
|
|
3293
4034
|
const appContainerState = useContext(AppContainerContext);
|
|
3294
4035
|
const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
|
|
4036
|
+
const theme = useTheme(propsTheme);
|
|
3295
4037
|
const [isFirstChild, setIsFirstChild] = useState(false);
|
|
3296
4038
|
const currentPosition = useRef(-1);
|
|
3297
4039
|
const {
|
|
@@ -3536,11 +4278,16 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3536
4278
|
}
|
|
3537
4279
|
};
|
|
3538
4280
|
const sideNavigationVariant = sideNavigationMenuBarContext === null || sideNavigationMenuBarContext === void 0 ? void 0 : sideNavigationMenuBarContext.sideNavigationMenuBarVariant;
|
|
3539
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4281
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4282
|
+
value: {
|
|
4283
|
+
theme
|
|
4284
|
+
}
|
|
4285
|
+
}, /*#__PURE__*/React__default.createElement(StyledSideNavigationMenu, _extends$1({}, forwardedProps, {
|
|
3540
4286
|
$isDisabled: isDisabled,
|
|
3541
4287
|
$isExpanded: isExpanded,
|
|
3542
|
-
$variant: sideNavigationVariant,
|
|
3543
4288
|
$numberOfChildren: renderedMenuItems.length,
|
|
4289
|
+
$theme: theme,
|
|
4290
|
+
$variant: sideNavigationVariant,
|
|
3544
4291
|
className: classNames(SideNavigationMenu.className, className),
|
|
3545
4292
|
id: id,
|
|
3546
4293
|
ref: ref,
|
|
@@ -3553,6 +4300,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3553
4300
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
3554
4301
|
className: `${SideNavigationMenu.className}__current-indicator-container`
|
|
3555
4302
|
}, currentPosition.current !== -1 ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicator, {
|
|
4303
|
+
$theme: theme,
|
|
3556
4304
|
style: {
|
|
3557
4305
|
position: 'relative',
|
|
3558
4306
|
top: isExpanded ? `${38 + currentPosition.current * 38}px` : 0,
|
|
@@ -3588,7 +4336,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3588
4336
|
"aria-orientation": "vertical",
|
|
3589
4337
|
ref: menuRef,
|
|
3590
4338
|
role: "menu"
|
|
3591
|
-
}, menuItemListEventHandler), renderedMenuItems)))));
|
|
4339
|
+
}, menuItemListEventHandler), renderedMenuItems))))));
|
|
3592
4340
|
});
|
|
3593
4341
|
SideNavigationMenu.className = CLASSNAME$D;
|
|
3594
4342
|
SideNavigationMenu.defaultProps = DEFAULT_PROPS$D;
|
|
@@ -3598,23 +4346,28 @@ SideNavigationMenu.displayName = COMPONENT_NAME$D;
|
|
|
3598
4346
|
* Component style.
|
|
3599
4347
|
*/
|
|
3600
4348
|
const StyledSideNavigationMenuBar = styled.nav`
|
|
3601
|
-
background-color:
|
|
4349
|
+
background-color: ${_ref => {
|
|
4350
|
+
let {
|
|
4351
|
+
$theme
|
|
4352
|
+
} = _ref;
|
|
4353
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-background)`;
|
|
4354
|
+
}};
|
|
3602
4355
|
box-sizing: content-box;
|
|
3603
4356
|
overflow-x: hidden;
|
|
3604
4357
|
overflow-y: auto;
|
|
3605
4358
|
scrollbar-gutter: stable;
|
|
3606
4359
|
transition: width 300ms ease-out;
|
|
3607
|
-
width: ${
|
|
4360
|
+
width: ${_ref2 => {
|
|
3608
4361
|
let {
|
|
3609
4362
|
$variant
|
|
3610
|
-
} =
|
|
4363
|
+
} = _ref2;
|
|
3611
4364
|
return $variant === SideNavigationMenuBarVariant.shrinked ? '64px' : '250px';
|
|
3612
4365
|
}};
|
|
3613
4366
|
|
|
3614
|
-
${
|
|
4367
|
+
${_ref3 => {
|
|
3615
4368
|
let {
|
|
3616
4369
|
$marginTop = 0
|
|
3617
|
-
} =
|
|
4370
|
+
} = _ref3;
|
|
3618
4371
|
return $marginTop ? css`
|
|
3619
4372
|
height: calc(100% - ${$marginTop}px);
|
|
3620
4373
|
` : '';
|
|
@@ -3626,7 +4379,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3626
4379
|
padding: unset;
|
|
3627
4380
|
}
|
|
3628
4381
|
|
|
3629
|
-
scrollbar-color:
|
|
4382
|
+
scrollbar-color: ${_ref4 => {
|
|
4383
|
+
let {
|
|
4384
|
+
$theme
|
|
4385
|
+
} = _ref4;
|
|
4386
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting) transparent`;
|
|
4387
|
+
}};
|
|
3630
4388
|
scrollbar-width: thin;
|
|
3631
4389
|
|
|
3632
4390
|
&::-webkit-scrollbar {
|
|
@@ -3636,7 +4394,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3636
4394
|
|
|
3637
4395
|
&::-webkit-scrollbar-thumb {
|
|
3638
4396
|
background-clip: padding-box;
|
|
3639
|
-
background-color:
|
|
4397
|
+
background-color: ${_ref5 => {
|
|
4398
|
+
let {
|
|
4399
|
+
$theme
|
|
4400
|
+
} = _ref5;
|
|
4401
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting)`;
|
|
4402
|
+
}};
|
|
3640
4403
|
border-radius: 0px;
|
|
3641
4404
|
border-left: 2px solid transparent;
|
|
3642
4405
|
border-right: 2px solid transparent;
|
|
@@ -3649,7 +4412,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3649
4412
|
&::-webkit-scrollbar-thumb:horizontal,
|
|
3650
4413
|
&::-webkit-scrollbar-thumb:vertical {
|
|
3651
4414
|
&:hover {
|
|
3652
|
-
background-color:
|
|
4415
|
+
background-color: ${_ref6 => {
|
|
4416
|
+
let {
|
|
4417
|
+
$theme
|
|
4418
|
+
} = _ref6;
|
|
4419
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-hover)`;
|
|
4420
|
+
}};
|
|
3653
4421
|
}
|
|
3654
4422
|
}
|
|
3655
4423
|
|
|
@@ -3658,7 +4426,7 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3658
4426
|
}
|
|
3659
4427
|
`;
|
|
3660
4428
|
|
|
3661
|
-
const _excluded$C = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "variant"];
|
|
4429
|
+
const _excluded$C = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "theme", "variant"];
|
|
3662
4430
|
const COMPONENT_NAME$C = 'SideNavigationMenuBar';
|
|
3663
4431
|
const CLASSNAME$C = 'redsift-side-navigation-menu-bar';
|
|
3664
4432
|
const DEFAULT_PROPS$C = {
|
|
@@ -3690,11 +4458,13 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3690
4458
|
isDisabled,
|
|
3691
4459
|
menubarProps = {},
|
|
3692
4460
|
menubarRef = useRef(),
|
|
4461
|
+
theme: propsTheme,
|
|
3693
4462
|
variant: propsVariant
|
|
3694
4463
|
} = props,
|
|
3695
4464
|
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
3696
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4465
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'SideNavigationMenuBar');
|
|
3697
4466
|
const appContainerState = useContext(AppContainerContext);
|
|
4467
|
+
const theme = useTheme(propsTheme);
|
|
3698
4468
|
const {
|
|
3699
4469
|
top
|
|
3700
4470
|
} = useBoundingClientRect(navRef, [children]);
|
|
@@ -3831,9 +4601,14 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3831
4601
|
currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();
|
|
3832
4602
|
}
|
|
3833
4603
|
}, [currentIndex, previousIndex, menuItems]);
|
|
3834
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4604
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4605
|
+
value: {
|
|
4606
|
+
theme
|
|
4607
|
+
}
|
|
4608
|
+
}, /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuBar, _extends$1({}, forwardedProps, {
|
|
3835
4609
|
$isDisabled: isDisabled,
|
|
3836
4610
|
$marginTop: top,
|
|
4611
|
+
$theme: theme,
|
|
3837
4612
|
$variant: variant,
|
|
3838
4613
|
"aria-label": ariaLabel,
|
|
3839
4614
|
"aria-labelledby": ariaLabelledby,
|
|
@@ -3848,7 +4623,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3848
4623
|
onKeyDown: keyDown,
|
|
3849
4624
|
ref: menubarRef,
|
|
3850
4625
|
role: "menubar"
|
|
3851
|
-
}), navItems)));
|
|
4626
|
+
}), navItems))));
|
|
3852
4627
|
});
|
|
3853
4628
|
SideNavigationMenuBar.className = CLASSNAME$C;
|
|
3854
4629
|
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$C;
|
|
@@ -3954,11 +4729,11 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3954
4729
|
} = _ref;
|
|
3955
4730
|
return css`
|
|
3956
4731
|
${$isDisabled ? `
|
|
3957
|
-
color: var(--redsift-color-neutral-
|
|
4732
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
3958
4733
|
` : $isCurrent ? `
|
|
3959
|
-
color: var(--redsift-color-
|
|
4734
|
+
color: var(--redsift-color-primary-n);
|
|
3960
4735
|
` : `
|
|
3961
|
-
color: var(--redsift-color-
|
|
4736
|
+
color: var(--redsift-redsift-color-text-primary);
|
|
3962
4737
|
`}
|
|
3963
4738
|
|
|
3964
4739
|
${!$isDisabled && !$isCurrent && css`
|
|
@@ -3973,11 +4748,11 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3973
4748
|
}}
|
|
3974
4749
|
|
|
3975
4750
|
&:focus-visible {
|
|
3976
|
-
outline: 2px solid var(--redsift-color-
|
|
4751
|
+
outline: 2px solid var(--redsift-redsift-color-text-primary);
|
|
3977
4752
|
}
|
|
3978
4753
|
`;
|
|
3979
4754
|
|
|
3980
|
-
const _excluded$A = ["as", "children", "className", "href", "isCurrent", "isDisabled"];
|
|
4755
|
+
const _excluded$A = ["as", "children", "className", "href", "isCurrent", "isDisabled", "theme"];
|
|
3981
4756
|
const COMPONENT_NAME$B = 'BreadcrumbItem';
|
|
3982
4757
|
const CLASSNAME$B = 'redsift-breadcrumb-item';
|
|
3983
4758
|
const DEFAULT_PROPS$B = {};
|
|
@@ -3992,10 +4767,12 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3992
4767
|
className,
|
|
3993
4768
|
href,
|
|
3994
4769
|
isCurrent,
|
|
3995
|
-
isDisabled
|
|
4770
|
+
isDisabled,
|
|
4771
|
+
theme: propsTheme
|
|
3996
4772
|
} = props,
|
|
3997
4773
|
forwardedProps = _objectWithoutProperties(props, _excluded$A);
|
|
3998
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
4774
|
+
warnIfNoAccessibleLabelFound(props, [children], 'BreadcrumbItem');
|
|
4775
|
+
const theme = useTheme(propsTheme);
|
|
3999
4776
|
return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
|
|
4000
4777
|
as: as || 'a',
|
|
4001
4778
|
role: "link",
|
|
@@ -4003,6 +4780,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4003
4780
|
}, forwardedProps, {
|
|
4004
4781
|
$isCurrent: isCurrent,
|
|
4005
4782
|
$isDisabled: isDisabled,
|
|
4783
|
+
$theme: theme,
|
|
4006
4784
|
"aria-current": isCurrent ? 'page' : undefined,
|
|
4007
4785
|
"aria-disabled": isDisabled || isCurrent,
|
|
4008
4786
|
className: classNames(BreadcrumbItem.className, className),
|
|
@@ -4035,18 +4813,19 @@ const StyledBreadcrumbs = styled.nav`
|
|
|
4035
4813
|
|
|
4036
4814
|
${_ref => {
|
|
4037
4815
|
let {
|
|
4038
|
-
$isDisabled
|
|
4816
|
+
$isDisabled,
|
|
4817
|
+
$theme
|
|
4039
4818
|
} = _ref;
|
|
4040
4819
|
return $isDisabled ? css`
|
|
4041
|
-
color: var(--redsift-color-neutral-
|
|
4820
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
4042
4821
|
` : css`
|
|
4043
|
-
color: var(--redsift-color-
|
|
4822
|
+
color: var(--redsift-color-${$theme}-components-text-primary);
|
|
4044
4823
|
`;
|
|
4045
4824
|
}}
|
|
4046
4825
|
}
|
|
4047
4826
|
`;
|
|
4048
4827
|
|
|
4049
|
-
const _excluded$z = ["children", "className", "isDisabled"];
|
|
4828
|
+
const _excluded$z = ["children", "className", "isDisabled", "theme"];
|
|
4050
4829
|
const COMPONENT_NAME$A = 'Breadcrumbs';
|
|
4051
4830
|
const CLASSNAME$A = 'redsift-breadcrumbs';
|
|
4052
4831
|
const DEFAULT_PROPS$A = {};
|
|
@@ -4058,10 +4837,12 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4058
4837
|
const {
|
|
4059
4838
|
children,
|
|
4060
4839
|
className,
|
|
4061
|
-
isDisabled
|
|
4840
|
+
isDisabled,
|
|
4841
|
+
theme: propsTheme
|
|
4062
4842
|
} = props,
|
|
4063
4843
|
forwardedProps = _objectWithoutProperties(props, _excluded$z);
|
|
4064
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4844
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'Breadcrumbs');
|
|
4845
|
+
const theme = useTheme(propsTheme);
|
|
4065
4846
|
const childArray = filterComponents([Breadcrumbs.Item])(children);
|
|
4066
4847
|
const breadcrumbItems = childArray.map((child, index) => {
|
|
4067
4848
|
var _child$key;
|
|
@@ -4077,11 +4858,16 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4077
4858
|
className: `${BaseBreadcrumbs.className}__separator`
|
|
4078
4859
|
}, '/') : null);
|
|
4079
4860
|
});
|
|
4080
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4861
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4862
|
+
value: {
|
|
4863
|
+
theme
|
|
4864
|
+
}
|
|
4865
|
+
}, /*#__PURE__*/React__default.createElement(StyledBreadcrumbs, _extends$1({}, forwardedProps, {
|
|
4081
4866
|
$isDisabled: isDisabled,
|
|
4867
|
+
$theme: theme,
|
|
4082
4868
|
className: classNames(BaseBreadcrumbs.className, className),
|
|
4083
4869
|
ref: ref
|
|
4084
|
-
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
|
|
4870
|
+
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems)));
|
|
4085
4871
|
});
|
|
4086
4872
|
BaseBreadcrumbs.className = CLASSNAME$A;
|
|
4087
4873
|
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$A;
|
|
@@ -4090,7 +4876,7 @@ const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
|
|
|
4090
4876
|
Item: BreadcrumbItem
|
|
4091
4877
|
});
|
|
4092
4878
|
|
|
4093
|
-
const _excluded$y = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "title"];
|
|
4879
|
+
const _excluded$y = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "theme", "title"];
|
|
4094
4880
|
const COMPONENT_NAME$z = 'AppBar';
|
|
4095
4881
|
const CLASSNAME$z = 'redsift-app-bar';
|
|
4096
4882
|
const DEFAULT_PROPS$z = {};
|
|
@@ -4107,6 +4893,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4107
4893
|
iconButtonProps,
|
|
4108
4894
|
iconButtonRef,
|
|
4109
4895
|
fallbackTitle,
|
|
4896
|
+
theme: propsTheme,
|
|
4110
4897
|
title: propsTitle
|
|
4111
4898
|
} = props,
|
|
4112
4899
|
forwardedProps = _objectWithoutProperties(props, _excluded$y);
|
|
@@ -4120,11 +4907,13 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4120
4907
|
isLoaded
|
|
4121
4908
|
} = useIsLoaded();
|
|
4122
4909
|
const appContainerState = useContext(AppContainerContext);
|
|
4910
|
+
const theme = useTheme(propsTheme);
|
|
4123
4911
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$4);
|
|
4124
4912
|
return /*#__PURE__*/React__default.createElement(StyledAppBar, _extends$1({}, forwardedProps, {
|
|
4125
4913
|
$hasBorder: scroll,
|
|
4126
4914
|
$isLoaded: isLoaded,
|
|
4127
4915
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
4916
|
+
$theme: theme,
|
|
4128
4917
|
className: classNames(AppBar.className, className),
|
|
4129
4918
|
ref: ref
|
|
4130
4919
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -4142,7 +4931,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4142
4931
|
icon: mdiMenuOpen,
|
|
4143
4932
|
onClick: appContainerState.collapseSidePanel,
|
|
4144
4933
|
ref: iconButtonRef,
|
|
4145
|
-
color:
|
|
4934
|
+
color: theme === Theme.dark ? 'light' : 'dark'
|
|
4146
4935
|
}))) : null, propsTitle && typeof propsTitle !== 'string' ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, propsTitle) : typeof propsTitle === 'string' ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
4147
4936
|
as: "h1"
|
|
4148
4937
|
}, propsTitle) : breadcrumbs ? /*#__PURE__*/React__default.createElement(Breadcrumbs, {
|
|
@@ -4202,7 +4991,7 @@ const StyledAppContent = styled.main`
|
|
|
4202
4991
|
}}
|
|
4203
4992
|
`;
|
|
4204
4993
|
|
|
4205
|
-
const _excluded$x = ["children", "className"];
|
|
4994
|
+
const _excluded$x = ["children", "className", "theme"];
|
|
4206
4995
|
const COMPONENT_NAME$y = 'AppContent';
|
|
4207
4996
|
const CLASSNAME$y = 'redsift-app-content';
|
|
4208
4997
|
const DEFAULT_PROPS$y = {};
|
|
@@ -4213,16 +5002,19 @@ const DEFAULT_PROPS$y = {};
|
|
|
4213
5002
|
const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
4214
5003
|
const {
|
|
4215
5004
|
children,
|
|
4216
|
-
className
|
|
5005
|
+
className,
|
|
5006
|
+
theme: propsTheme
|
|
4217
5007
|
} = props,
|
|
4218
5008
|
forwardedProps = _objectWithoutProperties(props, _excluded$x);
|
|
4219
5009
|
const {
|
|
4220
5010
|
isLoaded
|
|
4221
5011
|
} = useIsLoaded();
|
|
4222
5012
|
const appContainerState = useContext(AppContainerContext);
|
|
5013
|
+
const theme = useTheme(propsTheme);
|
|
4223
5014
|
return /*#__PURE__*/React__default.createElement(StyledAppContent, _extends$1({}, forwardedProps, {
|
|
4224
5015
|
$isLoaded: isLoaded,
|
|
4225
5016
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
5017
|
+
$theme: theme,
|
|
4226
5018
|
className: classNames(AppContent.className, className),
|
|
4227
5019
|
ref: ref
|
|
4228
5020
|
}), children);
|
|
@@ -4265,7 +5057,8 @@ const StyledButtonGroup = styled.div`
|
|
|
4265
5057
|
${_ref2 => {
|
|
4266
5058
|
let {
|
|
4267
5059
|
$color,
|
|
4268
|
-
$variant
|
|
5060
|
+
$variant,
|
|
5061
|
+
$theme
|
|
4269
5062
|
} = _ref2;
|
|
4270
5063
|
return css`
|
|
4271
5064
|
${$variant === ButtonGroupVariant.secondary ? css`
|
|
@@ -4294,7 +5087,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4294
5087
|
border-top-right-radius: 0;
|
|
4295
5088
|
border-bottom-right-radius: 0;
|
|
4296
5089
|
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4297
|
-
border-color: ${`var(
|
|
5090
|
+
border-color: ${`var(
|
|
5091
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-default
|
|
5092
|
+
)`};
|
|
4298
5093
|
}
|
|
4299
5094
|
|
|
4300
5095
|
.middle-button {
|
|
@@ -4303,7 +5098,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4303
5098
|
border-top-right-radius: 0;
|
|
4304
5099
|
border-bottom-right-radius: 0;
|
|
4305
5100
|
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4306
|
-
border-color: ${`var(
|
|
5101
|
+
border-color: ${`var(
|
|
5102
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-default
|
|
5103
|
+
)`};
|
|
4307
5104
|
}
|
|
4308
5105
|
|
|
4309
5106
|
.last-button {
|
|
@@ -4315,7 +5112,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4315
5112
|
border-top-right-radius: 0;
|
|
4316
5113
|
border-bottom-right-radius: 0;
|
|
4317
5114
|
border-right: 1px solid #bdbdbd;
|
|
4318
|
-
border-color: ${`var(
|
|
5115
|
+
border-color: ${`var(
|
|
5116
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-hover
|
|
5117
|
+
)`};
|
|
4319
5118
|
}
|
|
4320
5119
|
|
|
4321
5120
|
.middle-button {
|
|
@@ -4324,7 +5123,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4324
5123
|
border-top-right-radius: 0;
|
|
4325
5124
|
border-bottom-right-radius: 0;
|
|
4326
5125
|
border-right: 1px solid #bdbdbd;
|
|
4327
|
-
border-color: ${`var(
|
|
5126
|
+
border-color: ${`var(
|
|
5127
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-hover
|
|
5128
|
+
)`};
|
|
4328
5129
|
}
|
|
4329
5130
|
|
|
4330
5131
|
.last-button {
|
|
@@ -4336,10 +5137,11 @@ const StyledButtonGroup = styled.div`
|
|
|
4336
5137
|
}};
|
|
4337
5138
|
`;
|
|
4338
5139
|
|
|
4339
|
-
const _excluded$w = ["children", "className", "color", "variant"];
|
|
5140
|
+
const _excluded$w = ["children", "className", "color", "theme", "variant"];
|
|
4340
5141
|
const COMPONENT_NAME$x = 'ButtonGroup';
|
|
4341
5142
|
const CLASSNAME$x = 'redsift-button-group';
|
|
4342
5143
|
const DEFAULT_PROPS$x = {
|
|
5144
|
+
color: 'primary',
|
|
4343
5145
|
variant: 'primary'
|
|
4344
5146
|
};
|
|
4345
5147
|
|
|
@@ -4351,9 +5153,11 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4351
5153
|
children,
|
|
4352
5154
|
className,
|
|
4353
5155
|
color,
|
|
5156
|
+
theme: propsTheme,
|
|
4354
5157
|
variant
|
|
4355
5158
|
} = props,
|
|
4356
5159
|
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
5160
|
+
const theme = useTheme(propsTheme);
|
|
4357
5161
|
|
|
4358
5162
|
/**
|
|
4359
5163
|
* Create an array containing only valid children being either Button, IconButton, ButtonLink or MenuButton.
|
|
@@ -4365,6 +5169,7 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4365
5169
|
var _child$key;
|
|
4366
5170
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4367
5171
|
color,
|
|
5172
|
+
theme,
|
|
4368
5173
|
variant,
|
|
4369
5174
|
key: (_child$key = child.key) !== null && _child$key !== void 0 ? _child$key : index,
|
|
4370
5175
|
triggerClassName: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
@@ -4372,6 +5177,7 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4372
5177
|
}
|
|
4373
5178
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4374
5179
|
color,
|
|
5180
|
+
theme,
|
|
4375
5181
|
variant,
|
|
4376
5182
|
key: (_key = child.key) !== null && _key !== void 0 ? _key : index,
|
|
4377
5183
|
className: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
@@ -4381,18 +5187,19 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4381
5187
|
className: classNames(ButtonGroup.className, className),
|
|
4382
5188
|
ref: ref,
|
|
4383
5189
|
$color: color,
|
|
4384
|
-
$variant: variant
|
|
5190
|
+
$variant: variant,
|
|
5191
|
+
$theme: theme
|
|
4385
5192
|
}), buttons);
|
|
4386
5193
|
});
|
|
4387
5194
|
ButtonGroup.className = CLASSNAME$x;
|
|
4388
5195
|
ButtonGroup.defaultProps = DEFAULT_PROPS$x;
|
|
4389
5196
|
ButtonGroup.displayName = COMPONENT_NAME$x;
|
|
4390
5197
|
|
|
4391
|
-
const _excluded$v = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
|
|
5198
|
+
const _excluded$v = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "theme", "variant"];
|
|
4392
5199
|
const COMPONENT_NAME$w = 'ButtonLink';
|
|
4393
5200
|
const CLASSNAME$w = 'redsift-button-link';
|
|
4394
5201
|
const DEFAULT_PROPS$w = {
|
|
4395
|
-
color:
|
|
5202
|
+
color: ButtonsColorPalette.primary,
|
|
4396
5203
|
height: 'fit-content',
|
|
4397
5204
|
variant: ButtonVariant.primary
|
|
4398
5205
|
};
|
|
@@ -4416,9 +5223,11 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4416
5223
|
leftIcon,
|
|
4417
5224
|
rightIcon,
|
|
4418
5225
|
target,
|
|
5226
|
+
theme: propsTheme,
|
|
4419
5227
|
variant
|
|
4420
5228
|
} = props,
|
|
4421
5229
|
forwardedProps = _objectWithoutProperties(props, _excluded$v);
|
|
5230
|
+
const theme = useTheme(propsTheme);
|
|
4422
5231
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
|
|
4423
5232
|
as: as || 'a',
|
|
4424
5233
|
role: "link",
|
|
@@ -4427,6 +5236,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4427
5236
|
$color: color,
|
|
4428
5237
|
$isActive: isActive,
|
|
4429
5238
|
$isDisabled: isDisabled,
|
|
5239
|
+
$theme: theme,
|
|
4430
5240
|
$variant: variant,
|
|
4431
5241
|
className: classNames(ButtonLink.className, className),
|
|
4432
5242
|
href: !isDisabled ? href : undefined,
|
|
@@ -4471,6 +5281,15 @@ var intlMessages$2 = {
|
|
|
4471
5281
|
const StyledCard = styled.div`
|
|
4472
5282
|
${baseStyling}
|
|
4473
5283
|
|
|
5284
|
+
${_ref => {
|
|
5285
|
+
let {
|
|
5286
|
+
$theme
|
|
5287
|
+
} = _ref;
|
|
5288
|
+
return css`
|
|
5289
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
5290
|
+
`;
|
|
5291
|
+
}}
|
|
5292
|
+
|
|
4474
5293
|
display: flex;
|
|
4475
5294
|
flex-direction: column;
|
|
4476
5295
|
|
|
@@ -4492,22 +5311,22 @@ const StyledCard = styled.div`
|
|
|
4492
5311
|
}
|
|
4493
5312
|
|
|
4494
5313
|
.redsift-card__content {
|
|
4495
|
-
visibility: ${
|
|
5314
|
+
visibility: ${_ref2 => {
|
|
4496
5315
|
let {
|
|
4497
5316
|
$isCollapsed
|
|
4498
|
-
} =
|
|
5317
|
+
} = _ref2;
|
|
4499
5318
|
return !$isCollapsed ? 'visible' : 'hidden';
|
|
4500
5319
|
}};
|
|
4501
|
-
overflow: ${
|
|
5320
|
+
overflow: ${_ref3 => {
|
|
4502
5321
|
let {
|
|
4503
5322
|
$isCollapsed
|
|
4504
|
-
} =
|
|
5323
|
+
} = _ref3;
|
|
4505
5324
|
return !$isCollapsed ? 'visible' : 'hidden';
|
|
4506
5325
|
}};
|
|
4507
|
-
height: ${
|
|
5326
|
+
height: ${_ref4 => {
|
|
4508
5327
|
let {
|
|
4509
5328
|
$isCollapsed
|
|
4510
|
-
} =
|
|
5329
|
+
} = _ref4;
|
|
4511
5330
|
return !$isCollapsed ? 'auto' : '0px';
|
|
4512
5331
|
}};
|
|
4513
5332
|
}
|
|
@@ -4523,8 +5342,6 @@ const StyledCardHeader = styled.div`
|
|
|
4523
5342
|
${baseStyling}
|
|
4524
5343
|
${baseFlexbox}
|
|
4525
5344
|
|
|
4526
|
-
color: var(--redsift-color-neutral-black);
|
|
4527
|
-
|
|
4528
5345
|
.redsift-card-header__header {
|
|
4529
5346
|
align-items: center;
|
|
4530
5347
|
display: flex;
|
|
@@ -4580,7 +5397,12 @@ const StyledSkeleton = styled.div`
|
|
|
4580
5397
|
${baseInternalSpacing}
|
|
4581
5398
|
|
|
4582
5399
|
display: block;
|
|
4583
|
-
background-color:
|
|
5400
|
+
background-color: ${_ref => {
|
|
5401
|
+
let {
|
|
5402
|
+
$theme
|
|
5403
|
+
} = _ref;
|
|
5404
|
+
return $theme === Theme.light ? css`rgba(0, 0, 0, 0.16)` : css`rgba(255, 255, 255, 0.16)`;
|
|
5405
|
+
}};
|
|
4584
5406
|
border-radius: 4px;
|
|
4585
5407
|
position: relative;
|
|
4586
5408
|
overflow: hidden;
|
|
@@ -4589,7 +5411,17 @@ const StyledSkeleton = styled.div`
|
|
|
4589
5411
|
&::after {
|
|
4590
5412
|
-webkit-animation: ${wave} 1.6s linear 0.5s infinite;
|
|
4591
5413
|
animation: ${wave} 1.6s linear 0.5s infinite;
|
|
4592
|
-
background: linear-gradient(
|
|
5414
|
+
background: linear-gradient(
|
|
5415
|
+
90deg,
|
|
5416
|
+
transparent,
|
|
5417
|
+
${_ref2 => {
|
|
5418
|
+
let {
|
|
5419
|
+
$theme
|
|
5420
|
+
} = _ref2;
|
|
5421
|
+
return $theme === Theme.light ? css`rgba(0, 0, 0, 0.04)` : css`rgba(255, 255, 255, 0.04)`;
|
|
5422
|
+
}},
|
|
5423
|
+
transparent
|
|
5424
|
+
);
|
|
4593
5425
|
background-clip: content-box;
|
|
4594
5426
|
content: '';
|
|
4595
5427
|
position: absolute;
|
|
@@ -4625,7 +5457,7 @@ const StyledSkeletonCircle = styled(StyledSkeleton)`
|
|
|
4625
5457
|
}}
|
|
4626
5458
|
`;
|
|
4627
5459
|
|
|
4628
|
-
const _excluded$u = ["children", "className", "isLoaded"];
|
|
5460
|
+
const _excluded$u = ["children", "className", "isLoaded", "theme"];
|
|
4629
5461
|
const COMPONENT_NAME$v = 'SkeletonCircle';
|
|
4630
5462
|
const CLASSNAME$v = 'redsift-skeleton-circle';
|
|
4631
5463
|
const DEFAULT_PROPS$v = {};
|
|
@@ -4637,13 +5469,16 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4637
5469
|
const {
|
|
4638
5470
|
children,
|
|
4639
5471
|
className,
|
|
4640
|
-
isLoaded
|
|
5472
|
+
isLoaded,
|
|
5473
|
+
theme: propsTheme
|
|
4641
5474
|
} = props,
|
|
4642
5475
|
forwardedProps = _objectWithoutProperties(props, _excluded$u);
|
|
5476
|
+
const theme = useTheme(propsTheme);
|
|
4643
5477
|
if (isLoaded) {
|
|
4644
5478
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4645
5479
|
}
|
|
4646
5480
|
return /*#__PURE__*/React__default.createElement(StyledSkeletonCircle, _extends$1({}, forwardedProps, {
|
|
5481
|
+
$theme: theme,
|
|
4647
5482
|
className: classNames(SkeletonCircle.className, className),
|
|
4648
5483
|
ref: ref
|
|
4649
5484
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
@@ -4704,7 +5539,7 @@ const StyledSkeletonText = styled(StyledSkeleton)`
|
|
|
4704
5539
|
}}}
|
|
4705
5540
|
`;
|
|
4706
5541
|
|
|
4707
|
-
const _excluded$t = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
|
|
5542
|
+
const _excluded$t = ["children", "className", "fontSize", "isLoaded", "lineHeight", "theme", "variant"];
|
|
4708
5543
|
const COMPONENT_NAME$u = 'SkeletonText';
|
|
4709
5544
|
const CLASSNAME$u = 'redsift-skeleton-text';
|
|
4710
5545
|
const DEFAULT_PROPS$u = {
|
|
@@ -4721,9 +5556,11 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4721
5556
|
fontSize,
|
|
4722
5557
|
isLoaded,
|
|
4723
5558
|
lineHeight,
|
|
5559
|
+
theme: propsTheme,
|
|
4724
5560
|
variant
|
|
4725
5561
|
} = props,
|
|
4726
5562
|
forwardedProps = _objectWithoutProperties(props, _excluded$t);
|
|
5563
|
+
const theme = useTheme(propsTheme);
|
|
4727
5564
|
if (isLoaded) {
|
|
4728
5565
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4729
5566
|
}
|
|
@@ -4732,6 +5569,7 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4732
5569
|
ref: ref,
|
|
4733
5570
|
$fontSize: fontSize,
|
|
4734
5571
|
$lineHeight: lineHeight,
|
|
5572
|
+
$theme: theme,
|
|
4735
5573
|
$variant: variant
|
|
4736
5574
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
4737
5575
|
});
|
|
@@ -4739,7 +5577,7 @@ SkeletonText.className = CLASSNAME$u;
|
|
|
4739
5577
|
SkeletonText.defaultProps = DEFAULT_PROPS$u;
|
|
4740
5578
|
SkeletonText.displayName = COMPONENT_NAME$u;
|
|
4741
5579
|
|
|
4742
|
-
const _excluded$s = ["children", "className", "isLoaded"];
|
|
5580
|
+
const _excluded$s = ["children", "className", "isLoaded", "theme"];
|
|
4743
5581
|
const COMPONENT_NAME$t = 'Skeleton';
|
|
4744
5582
|
const CLASSNAME$t = 'redsift-skeleton';
|
|
4745
5583
|
const DEFAULT_PROPS$t = {};
|
|
@@ -4751,13 +5589,16 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4751
5589
|
const {
|
|
4752
5590
|
children,
|
|
4753
5591
|
className,
|
|
4754
|
-
isLoaded
|
|
5592
|
+
isLoaded,
|
|
5593
|
+
theme: propsTheme
|
|
4755
5594
|
} = props,
|
|
4756
5595
|
forwardedProps = _objectWithoutProperties(props, _excluded$s);
|
|
5596
|
+
const theme = useTheme(propsTheme);
|
|
4757
5597
|
if (isLoaded) {
|
|
4758
5598
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4759
5599
|
}
|
|
4760
5600
|
return /*#__PURE__*/React__default.createElement(StyledSkeleton, _extends$1({}, forwardedProps, {
|
|
5601
|
+
$theme: theme,
|
|
4761
5602
|
className: classNames(BaseSkeleton.className, className),
|
|
4762
5603
|
ref: ref
|
|
4763
5604
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
@@ -4824,7 +5665,6 @@ CardHeader.displayName = COMPONENT_NAME$s;
|
|
|
4824
5665
|
const StyledCardBody = styled.div`
|
|
4825
5666
|
${baseContainer}
|
|
4826
5667
|
|
|
4827
|
-
color: var(--redsift-color-neutral-darkgrey);
|
|
4828
5668
|
font-family: var(--redsift-typography-body-font-family);
|
|
4829
5669
|
font-size: var(--redsift-typography-body-font-size);
|
|
4830
5670
|
font-weight: var(--redsift-typography-body-font-weight);
|
|
@@ -4891,7 +5731,7 @@ CardActions.className = CLASSNAME$q;
|
|
|
4891
5731
|
CardActions.defaultProps = DEFAULT_PROPS$q;
|
|
4892
5732
|
CardActions.displayName = COMPONENT_NAME$q;
|
|
4893
5733
|
|
|
4894
|
-
const _excluded$o = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
|
|
5734
|
+
const _excluded$o = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse", "theme"];
|
|
4895
5735
|
const COMPONENT_NAME$p = 'Card';
|
|
4896
5736
|
const CLASSNAME$p = 'redsift-card';
|
|
4897
5737
|
const DEFAULT_PROPS$p = {};
|
|
@@ -4906,9 +5746,11 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4906
5746
|
defaultCollapsed,
|
|
4907
5747
|
isCollapsed: propsIsCollapsed,
|
|
4908
5748
|
isCollapsible,
|
|
4909
|
-
onCollapse
|
|
5749
|
+
onCollapse,
|
|
5750
|
+
theme: propsTheme
|
|
4910
5751
|
} = props,
|
|
4911
5752
|
forwardedProps = _objectWithoutProperties(props, _excluded$o);
|
|
5753
|
+
const theme = useTheme(propsTheme);
|
|
4912
5754
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
|
|
4913
5755
|
const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
|
|
4914
5756
|
useEffect(() => {
|
|
@@ -4923,21 +5765,27 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4923
5765
|
}
|
|
4924
5766
|
}, [onCollapse]);
|
|
4925
5767
|
const [[header], [body], [actions]] = partitionComponents(React__default.Children.toArray(children), [isComponent('CardHeader'), isComponent('CardBody'), isComponent('CardActions')]);
|
|
4926
|
-
return /*#__PURE__*/React__default.createElement(
|
|
5768
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
5769
|
+
value: {
|
|
5770
|
+
theme
|
|
5771
|
+
}
|
|
5772
|
+
}, /*#__PURE__*/React__default.createElement(StyledCard, _extends$1({}, forwardedProps, {
|
|
4927
5773
|
className: classNames(BaseCard.className, className),
|
|
4928
5774
|
ref: ref,
|
|
4929
|
-
$isCollapsed: isCollapsed
|
|
5775
|
+
$isCollapsed: isCollapsed,
|
|
5776
|
+
$theme: theme
|
|
4930
5777
|
}), header || isCollapsible ? /*#__PURE__*/React__default.createElement("div", {
|
|
4931
5778
|
className: `${BaseCard.className}__header`
|
|
4932
|
-
}, header ? header : null, isCollapsible ? /*#__PURE__*/React__default.createElement(IconButton, {
|
|
5779
|
+
}, header && isComponent('CardHeader')(header) ? header : null, isCollapsible ? /*#__PURE__*/React__default.createElement(IconButton, {
|
|
5780
|
+
theme: theme,
|
|
4933
5781
|
"aria-label": stringFormatter.format(isCollapsed ? 'expand' : 'collapse'),
|
|
4934
5782
|
className: `${BaseCard.className}-header__icon-button`,
|
|
4935
|
-
color: "
|
|
5783
|
+
color: "grey",
|
|
4936
5784
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
4937
5785
|
onClick: () => handleCollapse(!isCollapsed)
|
|
4938
5786
|
}) : null) : null, body || actions ? /*#__PURE__*/React__default.createElement("div", {
|
|
4939
5787
|
className: `${BaseCard.className}__content`
|
|
4940
|
-
}, body, actions) : null);
|
|
5788
|
+
}, body && isComponent('CardBody')(body) ? body : null, actions && isComponent('CardActions')(actions) ? actions : null) : null));
|
|
4941
5789
|
});
|
|
4942
5790
|
BaseCard.className = CLASSNAME$p;
|
|
4943
5791
|
BaseCard.defaultProps = DEFAULT_PROPS$p;
|
|
@@ -4999,22 +5847,19 @@ const StyledCheckboxGroup = styled.div`
|
|
|
4999
5847
|
font-size: var(--redsift-typography-body-font-size);
|
|
5000
5848
|
line-height: var(--redsift-typography-body-line-height);
|
|
5001
5849
|
|
|
5002
|
-
|
|
5003
|
-
${_ref2 => {
|
|
5004
|
-
let {
|
|
5005
|
-
$isDisabled
|
|
5006
|
-
} = _ref2;
|
|
5007
|
-
return $isDisabled ? `
|
|
5008
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
5009
|
-
` : '';
|
|
5010
|
-
}}
|
|
5011
|
-
${_ref3 => {
|
|
5850
|
+
${_ref2 => {
|
|
5012
5851
|
let {
|
|
5013
|
-
$
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5852
|
+
$isDisabled,
|
|
5853
|
+
$isInvalid,
|
|
5854
|
+
$theme
|
|
5855
|
+
} = _ref2;
|
|
5856
|
+
return $isDisabled ? css`
|
|
5857
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5858
|
+
` : $isInvalid ? css`
|
|
5859
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5860
|
+
` : css`
|
|
5861
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5862
|
+
`;
|
|
5018
5863
|
}}
|
|
5019
5864
|
}
|
|
5020
5865
|
|
|
@@ -5024,31 +5869,28 @@ const StyledCheckboxGroup = styled.div`
|
|
|
5024
5869
|
font-size: var(--redsift-typography-helper-font-size);
|
|
5025
5870
|
line-height: var(--redsift-typography-helper-line-height);
|
|
5026
5871
|
|
|
5027
|
-
|
|
5028
|
-
${_ref4 => {
|
|
5029
|
-
let {
|
|
5030
|
-
$isDisabled
|
|
5031
|
-
} = _ref4;
|
|
5032
|
-
return $isDisabled ? `
|
|
5033
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
5034
|
-
` : '';
|
|
5035
|
-
}}
|
|
5036
|
-
${_ref5 => {
|
|
5872
|
+
${_ref3 => {
|
|
5037
5873
|
let {
|
|
5038
|
-
$
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5874
|
+
$isDisabled,
|
|
5875
|
+
$isInvalid,
|
|
5876
|
+
$theme
|
|
5877
|
+
} = _ref3;
|
|
5878
|
+
return $isDisabled ? css`
|
|
5879
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5880
|
+
` : $isInvalid ? css`
|
|
5881
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5882
|
+
` : css`
|
|
5883
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5884
|
+
`;
|
|
5043
5885
|
}}
|
|
5044
5886
|
}
|
|
5045
5887
|
`;
|
|
5046
5888
|
|
|
5047
|
-
const _excluded$n = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
5889
|
+
const _excluded$n = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
5048
5890
|
const COMPONENT_NAME$o = 'CheckboxGroup';
|
|
5049
5891
|
const CLASSNAME$o = 'redsift-checkbox-group';
|
|
5050
5892
|
const DEFAULT_PROPS$o = {
|
|
5051
|
-
color:
|
|
5893
|
+
color: ColorPalette.primary,
|
|
5052
5894
|
orientation: CheckboxGroupOrientation.vertical
|
|
5053
5895
|
};
|
|
5054
5896
|
|
|
@@ -5069,9 +5911,11 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5069
5911
|
label,
|
|
5070
5912
|
onChange,
|
|
5071
5913
|
orientation,
|
|
5914
|
+
theme: propsTheme,
|
|
5072
5915
|
value
|
|
5073
5916
|
} = props,
|
|
5074
5917
|
forwardedProps = _objectWithoutProperties(props, _excluded$n);
|
|
5918
|
+
const theme = useTheme(propsTheme);
|
|
5075
5919
|
const [selectedValues, setValue] = useState(value || defaultValues || []);
|
|
5076
5920
|
useEffect(() => {
|
|
5077
5921
|
if (value) {
|
|
@@ -5105,11 +5949,16 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5105
5949
|
}
|
|
5106
5950
|
}
|
|
5107
5951
|
};
|
|
5108
|
-
return /*#__PURE__*/React__default.createElement(
|
|
5952
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
5953
|
+
value: {
|
|
5954
|
+
theme
|
|
5955
|
+
}
|
|
5956
|
+
}, /*#__PURE__*/React__default.createElement(StyledCheckboxGroup, _extends$1({}, forwardedProps, {
|
|
5109
5957
|
$isDisabled: isDisabled,
|
|
5110
5958
|
$isInvalid: isInvalid || isRequired && selectedValues.length === 0,
|
|
5111
5959
|
$isReadOnly: isReadOnly,
|
|
5112
5960
|
$orientation: orientation,
|
|
5961
|
+
$theme: theme,
|
|
5113
5962
|
"aria-disabled": isDisabled,
|
|
5114
5963
|
className: classNames(CheckboxGroup.className, className),
|
|
5115
5964
|
ref: ref,
|
|
@@ -5122,7 +5971,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5122
5971
|
value: state
|
|
5123
5972
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
5124
5973
|
className: `${CheckboxGroup.className}-description`
|
|
5125
|
-
}, description));
|
|
5974
|
+
}, description)));
|
|
5126
5975
|
});
|
|
5127
5976
|
CheckboxGroup.className = CLASSNAME$o;
|
|
5128
5977
|
CheckboxGroup.defaultProps = DEFAULT_PROPS$o;
|
|
@@ -5156,14 +6005,15 @@ const StyledCheckbox = styled.label`
|
|
|
5156
6005
|
${_ref => {
|
|
5157
6006
|
let {
|
|
5158
6007
|
$isDisabled,
|
|
5159
|
-
$isInvalid
|
|
6008
|
+
$isInvalid,
|
|
6009
|
+
$theme
|
|
5160
6010
|
} = _ref;
|
|
5161
6011
|
return $isDisabled ? css`
|
|
5162
|
-
color: var(--redsift-color-
|
|
6012
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5163
6013
|
` : $isInvalid ? css`
|
|
5164
|
-
color: var(--redsift-color-
|
|
6014
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5165
6015
|
` : css`
|
|
5166
|
-
color: var(--redsift-color-
|
|
6016
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5167
6017
|
`;
|
|
5168
6018
|
}}
|
|
5169
6019
|
|
|
@@ -5191,19 +6041,20 @@ const StyledCheckbox = styled.label`
|
|
|
5191
6041
|
$isColored,
|
|
5192
6042
|
$isDisabled,
|
|
5193
6043
|
$isInvalid,
|
|
5194
|
-
$isFocusVisible
|
|
6044
|
+
$isFocusVisible,
|
|
6045
|
+
$theme
|
|
5195
6046
|
} = _ref2;
|
|
5196
6047
|
return css`
|
|
5197
6048
|
${$isDisabled ? css`
|
|
5198
|
-
color: var(--redsift-color-
|
|
6049
|
+
color: var(--redsift-color-${$theme}-components-checkbox-fill-disabled);
|
|
5199
6050
|
` : $isInvalid ? css`
|
|
5200
|
-
color: var(--redsift-color-
|
|
6051
|
+
color: var(--redsift-color-${$theme}-components-checkbox-fill-invalid);
|
|
5201
6052
|
` : css`
|
|
5202
|
-
color: ${$isColored ?
|
|
6053
|
+
color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored)`};
|
|
5203
6054
|
`}
|
|
5204
6055
|
|
|
5205
6056
|
${$isFocusVisible && !$isDisabled ? css`
|
|
5206
|
-
background-color: ${$isColored ?
|
|
6057
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default-hover)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored-hover)`};
|
|
5207
6058
|
` : ''}
|
|
5208
6059
|
`;
|
|
5209
6060
|
}}
|
|
@@ -5216,11 +6067,17 @@ const StyledCheckbox = styled.label`
|
|
|
5216
6067
|
${_ref3 => {
|
|
5217
6068
|
let {
|
|
5218
6069
|
$isColored,
|
|
5219
|
-
$isDisabled
|
|
6070
|
+
$isDisabled,
|
|
6071
|
+
$isInvalid,
|
|
6072
|
+
$theme
|
|
5220
6073
|
} = _ref3;
|
|
5221
6074
|
return !$isDisabled ? css`
|
|
5222
6075
|
.redsift-icon {
|
|
5223
|
-
|
|
6076
|
+
${$isInvalid ? css`
|
|
6077
|
+
background-color: var(--redsift-color-${$theme}-components-checkbox-fill-invalid-hover);
|
|
6078
|
+
` : css`
|
|
6079
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default-hover)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored-hover)`};
|
|
6080
|
+
`}
|
|
5224
6081
|
border-radius: 4px;
|
|
5225
6082
|
}
|
|
5226
6083
|
` : '';
|
|
@@ -5228,7 +6085,7 @@ const StyledCheckbox = styled.label`
|
|
|
5228
6085
|
}
|
|
5229
6086
|
`;
|
|
5230
6087
|
|
|
5231
|
-
const _excluded$m = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
6088
|
+
const _excluded$m = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "theme", "value"];
|
|
5232
6089
|
const COMPONENT_NAME$n = 'Checkbox';
|
|
5233
6090
|
const CLASSNAME$n = 'redsift-checkbox';
|
|
5234
6091
|
const DEFAULT_PROPS$n = {
|
|
@@ -5261,9 +6118,11 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5261
6118
|
isSelected: propsIsSelected,
|
|
5262
6119
|
name,
|
|
5263
6120
|
onChange,
|
|
6121
|
+
theme: propsTheme,
|
|
5264
6122
|
value
|
|
5265
6123
|
} = props,
|
|
5266
6124
|
forwardedProps = _objectWithoutProperties(props, _excluded$m);
|
|
6125
|
+
const theme = useTheme(propsTheme);
|
|
5267
6126
|
const {
|
|
5268
6127
|
isFocusVisible,
|
|
5269
6128
|
focusProps
|
|
@@ -5282,7 +6141,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5282
6141
|
setSelected(groupState.value.includes(value));
|
|
5283
6142
|
}
|
|
5284
6143
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
5285
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
6144
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Checkbox');
|
|
5286
6145
|
if (groupState) {
|
|
5287
6146
|
if (propsIsSelected != null) {
|
|
5288
6147
|
console.warn('isSelected is unsupported on individual <Checkbox> elements within a <CheckboxGroup> unless the <Checkbox> is controlled. Please apply this prop to the group instead or pass isControlled to the component.');
|
|
@@ -5319,6 +6178,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5319
6178
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
5320
6179
|
$isRequired: isRequired,
|
|
5321
6180
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
6181
|
+
$theme: theme,
|
|
5322
6182
|
className: classNames(Checkbox.className, className),
|
|
5323
6183
|
ref: ref
|
|
5324
6184
|
}), isSelected || isControlled && propsIsSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -5409,25 +6269,26 @@ const StyledShield = styled.div`
|
|
|
5409
6269
|
let {
|
|
5410
6270
|
$color,
|
|
5411
6271
|
$isOutlined,
|
|
5412
|
-
$isReversed
|
|
6272
|
+
$isReversed,
|
|
6273
|
+
$theme
|
|
5413
6274
|
} = _ref;
|
|
5414
6275
|
if ($isReversed && $isOutlined) {
|
|
5415
6276
|
return css`
|
|
5416
6277
|
& .shield {
|
|
5417
6278
|
fill: var(--redsift-color-notifications-${$color}-primary);
|
|
5418
|
-
stroke:
|
|
6279
|
+
stroke: var(--redsift-color-${$theme}-components-page-background);
|
|
5419
6280
|
stroke-width: 2;
|
|
5420
6281
|
}
|
|
5421
6282
|
& .icon {
|
|
5422
6283
|
fill-rule: evenodd;
|
|
5423
6284
|
clip-rule: evenodd;
|
|
5424
|
-
fill:
|
|
6285
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5425
6286
|
}
|
|
5426
6287
|
`;
|
|
5427
6288
|
} else if ($isOutlined) {
|
|
5428
6289
|
return css`
|
|
5429
6290
|
& .shield {
|
|
5430
|
-
fill:
|
|
6291
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5431
6292
|
stroke: var(--redsift-color-notifications-${$color}-primary);
|
|
5432
6293
|
stroke-width: 2;
|
|
5433
6294
|
}
|
|
@@ -5440,7 +6301,7 @@ const StyledShield = styled.div`
|
|
|
5440
6301
|
} else if ($isReversed) {
|
|
5441
6302
|
return css`
|
|
5442
6303
|
& .shield {
|
|
5443
|
-
fill:
|
|
6304
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5444
6305
|
}
|
|
5445
6306
|
& .icon {
|
|
5446
6307
|
fill-rule: evenodd;
|
|
@@ -5456,14 +6317,14 @@ const StyledShield = styled.div`
|
|
|
5456
6317
|
& .icon {
|
|
5457
6318
|
fill-rule: evenodd;
|
|
5458
6319
|
clip-rule: evenodd;
|
|
5459
|
-
fill:
|
|
6320
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5460
6321
|
}
|
|
5461
6322
|
`;
|
|
5462
6323
|
}
|
|
5463
6324
|
}}
|
|
5464
6325
|
`;
|
|
5465
6326
|
|
|
5466
|
-
const _excluded$l = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
|
|
6327
|
+
const _excluded$l = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "theme", "variant"];
|
|
5467
6328
|
const COMPONENT_NAME$m = 'Shield';
|
|
5468
6329
|
const CLASSNAME$m = 'redsift-shield';
|
|
5469
6330
|
const DEFAULT_PROPS$m = {
|
|
@@ -5550,9 +6411,11 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5550
6411
|
svgProps,
|
|
5551
6412
|
isOutlined,
|
|
5552
6413
|
isReversed,
|
|
6414
|
+
theme: propsTheme,
|
|
5553
6415
|
variant
|
|
5554
6416
|
} = props,
|
|
5555
6417
|
forwardedProps = _objectWithoutProperties(props, _excluded$l);
|
|
6418
|
+
const theme = useTheme(propsTheme);
|
|
5556
6419
|
const {
|
|
5557
6420
|
color,
|
|
5558
6421
|
icon
|
|
@@ -5565,6 +6428,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5565
6428
|
$color: color,
|
|
5566
6429
|
$isOutlined: isOutlined,
|
|
5567
6430
|
$isReversed: isReversed,
|
|
6431
|
+
$theme: theme,
|
|
5568
6432
|
$variant: variant
|
|
5569
6433
|
}), /*#__PURE__*/React__default.createElement("svg", _extends$1({
|
|
5570
6434
|
"aria-hidden": ariaLabel ? ariaHidden ? ariaHidden : undefined : true,
|
|
@@ -5620,14 +6484,14 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
|
|
|
5620
6484
|
return $hideBackground ? css`
|
|
5621
6485
|
background: none;
|
|
5622
6486
|
` : css`
|
|
5623
|
-
background-color: var(--redsift-color-neutral-
|
|
6487
|
+
background-color: var(--redsift-color-neutral-x-light-grey);
|
|
5624
6488
|
margin: 8px -16px;
|
|
5625
6489
|
padding: 8px 16px;
|
|
5626
6490
|
`;
|
|
5627
6491
|
}}
|
|
5628
6492
|
|
|
5629
6493
|
.redsift-detailed-card-collapsible-section-items__caption {
|
|
5630
|
-
color: var(--redsift-color-neutral-
|
|
6494
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5631
6495
|
display: flex;
|
|
5632
6496
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
5633
6497
|
font-size: 12px;
|
|
@@ -5636,7 +6500,7 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
|
|
|
5636
6500
|
line-height: 14px;
|
|
5637
6501
|
margin: 8px 0px;
|
|
5638
6502
|
padding-top: 8px;
|
|
5639
|
-
border-top: 1px solid var(--redsift-color-neutral-
|
|
6503
|
+
border-top: 1px solid var(--redsift-color-neutral-mid-grey);
|
|
5640
6504
|
}
|
|
5641
6505
|
`;
|
|
5642
6506
|
|
|
@@ -5679,10 +6543,12 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5679
6543
|
let {
|
|
5680
6544
|
$color
|
|
5681
6545
|
} = _ref;
|
|
5682
|
-
return $color &&
|
|
5683
|
-
border-bottom: 1px solid var(--redsift-color-${$color}-primary);
|
|
6546
|
+
return $color && Object.keys(NotificationsColorPalette).indexOf($color) !== -1 ? css`
|
|
6547
|
+
border-bottom: 1px solid var(--redsift-color-notifications-${$color}-primary);
|
|
6548
|
+
` : $color && Object.keys(ProductColorPalette).indexOf($color) !== -1 ? css`
|
|
6549
|
+
border-bottom: 1px solid var(--redsift-color-product-${$color});
|
|
5684
6550
|
` : css`
|
|
5685
|
-
border-bottom: 1px solid ${$color || css`var(--redsift-color-neutral-
|
|
6551
|
+
border-bottom: 1px solid ${$color || css`var(--redsift-color-neutral-mid-grey)`};
|
|
5686
6552
|
`;
|
|
5687
6553
|
}}
|
|
5688
6554
|
margin-bottom: 8px;
|
|
@@ -5696,7 +6562,7 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5696
6562
|
}
|
|
5697
6563
|
|
|
5698
6564
|
.redsift-detailed-card-section-header__collapse-button {
|
|
5699
|
-
color: var(--redsift-color-neutral-
|
|
6565
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5700
6566
|
}
|
|
5701
6567
|
|
|
5702
6568
|
.redsift-detailed-card-collapsible-section-items {
|
|
@@ -5795,7 +6661,7 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5795
6661
|
marginLeft: "auto",
|
|
5796
6662
|
"aria-label": stringFormatter.format(isCollapsed ? 'expand' : 'collapse'),
|
|
5797
6663
|
className: `${DetailedCardSection.className}-header__collapse-button`,
|
|
5798
|
-
color: "
|
|
6664
|
+
color: "grey",
|
|
5799
6665
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
5800
6666
|
onClick: () => {
|
|
5801
6667
|
setIsCollapsed(isCollapsed => !isCollapsed);
|
|
@@ -5812,19 +6678,36 @@ DetailedCardSection.displayName = COMPONENT_NAME$k;
|
|
|
5812
6678
|
const StyledDetailedCard = styled.div`
|
|
5813
6679
|
${baseStyling}
|
|
5814
6680
|
|
|
5815
|
-
|
|
6681
|
+
color: var(--redsift-color-neutral-${_ref => {
|
|
6682
|
+
let {
|
|
6683
|
+
$theme
|
|
6684
|
+
} = _ref;
|
|
6685
|
+
return $theme === Theme.light ? 'x-dark-grey' : 'white';
|
|
6686
|
+
}});
|
|
6687
|
+
background-color: var(--redsift-color-neutral-${_ref2 => {
|
|
6688
|
+
let {
|
|
6689
|
+
$theme
|
|
6690
|
+
} = _ref2;
|
|
6691
|
+
return $theme === Theme.light ? 'white' : 'x-dark-grey';
|
|
6692
|
+
}});
|
|
5816
6693
|
border-radius: 4px;
|
|
5817
|
-
box-shadow: 0px 1px 2px rgba(0, 0, 0,
|
|
6694
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, ${_ref3 => {
|
|
6695
|
+
let {
|
|
6696
|
+
$theme
|
|
6697
|
+
} = _ref3;
|
|
6698
|
+
return $theme === Theme.light ? '0.5' : '1';
|
|
6699
|
+
}});
|
|
5818
6700
|
box-sizing: content-box;
|
|
5819
6701
|
padding: 16px;
|
|
5820
6702
|
|
|
5821
6703
|
.redsift-detailed-card__banner {
|
|
5822
|
-
background-color: ${
|
|
6704
|
+
background-color: ${_ref4 => {
|
|
5823
6705
|
let {
|
|
5824
6706
|
$color
|
|
5825
|
-
} =
|
|
6707
|
+
} = _ref4;
|
|
5826
6708
|
return css`var(--redsift-color-notifications-${$color}-primary)`;
|
|
5827
6709
|
}};
|
|
6710
|
+
color: var(--redsift-color-neutral-white);
|
|
5828
6711
|
}
|
|
5829
6712
|
|
|
5830
6713
|
.redsift-detailed-card__collapse-buttons {
|
|
@@ -5839,6 +6722,7 @@ const StyledDetailedCardHeader = styled.div`
|
|
|
5839
6722
|
margin: 8px 0;
|
|
5840
6723
|
|
|
5841
6724
|
.redsift-detailed-card-header__header {
|
|
6725
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5842
6726
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
5843
6727
|
font-size: 32px;
|
|
5844
6728
|
font-weight: 500;
|
|
@@ -5910,7 +6794,7 @@ const pickTextColorBasedOnBgColorAdvanced = (bgColor, lightColor, darkColor) =>
|
|
|
5910
6794
|
return L > 0.179 ? darkColor : lightColor;
|
|
5911
6795
|
};
|
|
5912
6796
|
const nameToHex = color => {
|
|
5913
|
-
return [...Object.keys(PresentationColorPalette),
|
|
6797
|
+
return [...Object.keys(PresentationColorPalette), ...Object.keys(NeutralColorPalette), 'error', 'warning', 'success', 'error-dark', 'warning-dark', 'success-dark'].includes(color) ? {
|
|
5914
6798
|
green: RedsiftColorPresentationGreenLight,
|
|
5915
6799
|
pink: RedsiftColorPresentationPinkLight,
|
|
5916
6800
|
aqua: RedsiftColorPresentationAquaLight,
|
|
@@ -5922,8 +6806,12 @@ const nameToHex = color => {
|
|
|
5922
6806
|
blue: RedsiftColorPresentationBlueLight,
|
|
5923
6807
|
grey: RedsiftColorPresentationGreyLight,
|
|
5924
6808
|
white: RedsiftColorNeutralWhite,
|
|
6809
|
+
'x-light-grey': RedsiftColorNeutralXLightGrey,
|
|
6810
|
+
'light-grey': RedsiftColorNeutralLightGrey,
|
|
6811
|
+
'mid-grey': RedsiftColorNeutralMidGrey,
|
|
6812
|
+
'dark-grey': RedsiftColorNeutralDarkGrey,
|
|
6813
|
+
'x-dark-grey': RedsiftColorNeutralXDarkGrey,
|
|
5925
6814
|
black: RedsiftColorNeutralBlack,
|
|
5926
|
-
'no-data': RedsiftColorNeutralMidgrey,
|
|
5927
6815
|
error: RedsiftColorPresentationRedLighter,
|
|
5928
6816
|
warning: RedsiftColorPresentationOrangeLighter,
|
|
5929
6817
|
success: RedsiftColorPresentationGreenLighter,
|
|
@@ -5969,13 +6857,14 @@ const StyledPill = styled.div`
|
|
|
5969
6857
|
let {
|
|
5970
6858
|
$color,
|
|
5971
6859
|
$hoverColor,
|
|
5972
|
-
$size
|
|
6860
|
+
$size,
|
|
6861
|
+
$theme
|
|
5973
6862
|
} = _ref2;
|
|
5974
6863
|
return css`
|
|
5975
6864
|
${$color === 'black' ? 'background-color: var(--redsift-color-neutral-black);' : $color === 'white' ? css`
|
|
5976
6865
|
background-color: var(--redsift-color-neutral-white);
|
|
5977
6866
|
border: 1px solid #d6d6d6;
|
|
5978
|
-
` : $color === 'no-data' ? 'background-color: var(--redsift-color-neutral-
|
|
6867
|
+
` : $color === 'no-data' ? 'background-color: var(--redsift-color-neutral-mid-grey);' : $color === 'error' ? 'background-color: var(--redsift-color-presentation-red-lighter);' : $color === 'warning' ? 'background-color: var(--redsift-color-presentation-orange-lighter);' : $color === 'success' ? 'background-color: var(--redsift-color-presentation-green-lighter);' : $color === 'error-dark' ? 'background-color: var(--redsift-color-presentation-red-default);' : $color === 'warning-dark' ? 'background-color: var(--redsift-color-presentation-orange-default);' : $color === 'success-dark' ? 'background-color: var(--redsift-color-presentation-green-default);' : Object.keys(PresentationColorPalette).includes($color) ? `background-color: var(--redsift-color-presentation-${$color}-light);` : `background-color: ${$color};`}
|
|
5979
6868
|
|
|
5980
6869
|
&,
|
|
5981
6870
|
.redsift-icon {
|
|
@@ -5988,12 +6877,13 @@ const StyledPill = styled.div`
|
|
|
5988
6877
|
border: none;
|
|
5989
6878
|
border-radius: 0 2px 2px 0;
|
|
5990
6879
|
margin: -2px -8px -2px 2px;
|
|
5991
|
-
border-left: 1px solid
|
|
6880
|
+
border-left: 1px solid
|
|
6881
|
+
${$color === 'white' ? '#d6d6d6' : css`var(--redsift-color-neutral-${$theme === Theme.light ? 'white' : 'x-dark-grey'})`};
|
|
5992
6882
|
font-size: ${$size === PillSize.large ? css`15px` : css`14px`};
|
|
5993
6883
|
}
|
|
5994
6884
|
|
|
5995
6885
|
button:hover {
|
|
5996
|
-
${$color === 'black' ? 'background-color: var(--redsift-color-neutral-
|
|
6886
|
+
${$color === 'black' ? 'background-color: var(--redsift-color-neutral-x-dark-grey);' : $color === 'white' ? 'background-color: var(--redsift-color-neutral-x-light-grey);' : $color === 'no-data' ? 'background-color: var(--redsift-color-neutral-x-dark-grey);' : $color === 'error' ? 'background-color: var(--redsift-color-presentation-red-light);' : $color === 'warning' ? 'background-color: var(--redsift-color-presentation-orange-light);' : $color === 'success' ? 'background-color: var(--redsift-color-presentation-green-light);' : $color === 'error-dark' ? 'background-color: var(--redsift-color-presentation-red-dark);' : $color === 'warning-dark' ? 'background-color: var(--redsift-color-presentation-orange-dark);' : $color === 'success-dark' ? 'background-color: var(--redsift-color-presentation-green-dark);' : Object.keys(PresentationColorPalette).includes($color) ? `background-color: var(--redsift-color-presentation-${$color}-default);` : ''}
|
|
5997
6887
|
background-color: ${$hoverColor};
|
|
5998
6888
|
}
|
|
5999
6889
|
`;
|
|
@@ -6033,7 +6923,7 @@ const StyledPill = styled.div`
|
|
|
6033
6923
|
}
|
|
6034
6924
|
`;
|
|
6035
6925
|
|
|
6036
|
-
const _excluded$h = ["autoBreak", "children", "className", "color", "hoverColor", "rightButton", "size"];
|
|
6926
|
+
const _excluded$h = ["autoBreak", "children", "className", "color", "hoverColor", "rightButton", "size", "theme"];
|
|
6037
6927
|
const COMPONENT_NAME$i = 'Pill';
|
|
6038
6928
|
const CLASSNAME$i = 'redsift-pill';
|
|
6039
6929
|
const DEFAULT_PROPS$i = {
|
|
@@ -6053,21 +6943,24 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6053
6943
|
color,
|
|
6054
6944
|
hoverColor,
|
|
6055
6945
|
rightButton,
|
|
6056
|
-
size
|
|
6946
|
+
size,
|
|
6947
|
+
theme: propsTheme
|
|
6057
6948
|
} = props,
|
|
6058
6949
|
forwardedProps = _objectWithoutProperties(props, _excluded$h);
|
|
6950
|
+
const theme = useTheme(propsTheme);
|
|
6059
6951
|
return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
|
|
6060
6952
|
$autoBreak: autoBreak,
|
|
6061
6953
|
$color: color,
|
|
6062
6954
|
$hoverColor: hoverColor,
|
|
6063
6955
|
$size: size,
|
|
6956
|
+
$theme: theme,
|
|
6064
6957
|
className: classNames(Pill.className, className),
|
|
6065
6958
|
ref: ref
|
|
6066
6959
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
6067
6960
|
className: `${Pill.className}-content`
|
|
6068
6961
|
}, children), rightButton ? /*#__PURE__*/React__default.createElement("button", _extends$1({
|
|
6069
6962
|
"aria-label": "Clear",
|
|
6070
|
-
color: "
|
|
6963
|
+
color: "grey"
|
|
6071
6964
|
}, rightButton, {
|
|
6072
6965
|
className: "right clear"
|
|
6073
6966
|
}), /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -9761,12 +10654,19 @@ const TooltipPlacement = {
|
|
|
9761
10654
|
*/
|
|
9762
10655
|
const StyledTooltipContent = styled.div`
|
|
9763
10656
|
${baseContainer}
|
|
10657
|
+
${_ref => {
|
|
10658
|
+
let {
|
|
10659
|
+
$theme
|
|
10660
|
+
} = _ref;
|
|
10661
|
+
return css`
|
|
10662
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
10663
|
+
background-color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'black' : 'white'});
|
|
10664
|
+
`;
|
|
10665
|
+
}}
|
|
9764
10666
|
|
|
9765
10667
|
align-items: center;
|
|
9766
|
-
background-color: var(--redsift-color-neutral-white);
|
|
9767
10668
|
border-radius: 4px;
|
|
9768
10669
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
|
|
9769
|
-
color: var(--redsift-color-neutral-black);
|
|
9770
10670
|
display: flex;
|
|
9771
10671
|
filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.12));
|
|
9772
10672
|
font-family: var(--redsift-typography-tooltip-font-family);
|
|
@@ -9781,14 +10681,45 @@ const StyledTooltipContent = styled.div`
|
|
|
9781
10681
|
position: absolute;
|
|
9782
10682
|
width: 0;
|
|
9783
10683
|
height: 0;
|
|
9784
|
-
border-color:
|
|
10684
|
+
border-color: ${_ref2 => {
|
|
10685
|
+
let {
|
|
10686
|
+
$theme
|
|
10687
|
+
} = _ref2;
|
|
10688
|
+
return $theme === Theme.dark ? css`var(--redsift-color-neutral-black)` : css`var(--redsift-color-neutral-white)`;
|
|
10689
|
+
}};
|
|
9785
10690
|
border-style: solid;
|
|
9786
10691
|
}
|
|
9787
10692
|
|
|
9788
|
-
${
|
|
10693
|
+
${_ref3 => {
|
|
9789
10694
|
let {
|
|
9790
10695
|
$placement
|
|
9791
|
-
} =
|
|
10696
|
+
} = _ref3;
|
|
10697
|
+
switch ($placement) {
|
|
10698
|
+
case TooltipPlacement['right-start']:
|
|
10699
|
+
return css`
|
|
10700
|
+
border-bottom-left-radius: 0;
|
|
10701
|
+
`;
|
|
10702
|
+
case TooltipPlacement['right-end']:
|
|
10703
|
+
return css`
|
|
10704
|
+
border-top-left-radius: 0;
|
|
10705
|
+
`;
|
|
10706
|
+
case TooltipPlacement['left-start']:
|
|
10707
|
+
return css`
|
|
10708
|
+
border-bottom-right-radius: 0;
|
|
10709
|
+
`;
|
|
10710
|
+
case TooltipPlacement['left-end']:
|
|
10711
|
+
return css`
|
|
10712
|
+
border-top-right-radius: 0;
|
|
10713
|
+
`;
|
|
10714
|
+
default:
|
|
10715
|
+
return css``;
|
|
10716
|
+
}
|
|
10717
|
+
}}
|
|
10718
|
+
|
|
10719
|
+
${_ref4 => {
|
|
10720
|
+
let {
|
|
10721
|
+
$placement
|
|
10722
|
+
} = _ref4;
|
|
9792
10723
|
switch ($placement) {
|
|
9793
10724
|
case TooltipPlacement.left:
|
|
9794
10725
|
case TooltipPlacement['left-end']:
|
|
@@ -9850,7 +10781,8 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9850
10781
|
const {
|
|
9851
10782
|
children,
|
|
9852
10783
|
className,
|
|
9853
|
-
style
|
|
10784
|
+
style,
|
|
10785
|
+
theme: propsTheme
|
|
9854
10786
|
} = props;
|
|
9855
10787
|
const {
|
|
9856
10788
|
getFloatingProps,
|
|
@@ -9867,6 +10799,7 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9867
10799
|
} = {}
|
|
9868
10800
|
}
|
|
9869
10801
|
} = useTooltipContext();
|
|
10802
|
+
const theme = useTheme ? useTheme(propsTheme) : undefined;
|
|
9870
10803
|
const popoverRef = useMergeRefs([refs.setFloating, ref]);
|
|
9871
10804
|
const {
|
|
9872
10805
|
arrowRef
|
|
@@ -9882,6 +10815,7 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9882
10815
|
}, isOpen && /*#__PURE__*/React__default.createElement(StyledTooltipContent, _extends$1({
|
|
9883
10816
|
className: classNames(TooltipContent.className, className),
|
|
9884
10817
|
ref: popoverRef,
|
|
10818
|
+
$theme: theme,
|
|
9885
10819
|
style: _objectSpread2({
|
|
9886
10820
|
position: strategy,
|
|
9887
10821
|
top: y !== null && y !== void 0 ? y : 0,
|
|
@@ -10021,20 +10955,27 @@ const BaseTooltip = props => {
|
|
|
10021
10955
|
isOpen,
|
|
10022
10956
|
onOpen,
|
|
10023
10957
|
placement,
|
|
10024
|
-
tooltipId
|
|
10958
|
+
tooltipId,
|
|
10959
|
+
theme: propsTheme
|
|
10025
10960
|
} = props;
|
|
10961
|
+
const theme = useTheme ? useTheme(propsTheme) : undefined;
|
|
10026
10962
|
const tooltip = useTooltip({
|
|
10027
10963
|
defaultOpen,
|
|
10028
10964
|
delay,
|
|
10029
10965
|
placement,
|
|
10030
10966
|
isOpen,
|
|
10031
10967
|
onOpen,
|
|
10032
|
-
tooltipId
|
|
10968
|
+
tooltipId,
|
|
10969
|
+
theme
|
|
10033
10970
|
});
|
|
10034
10971
|
const [[trigger], [content]] = partitionComponents(React__default.Children.toArray(children), [isComponent('TooltipTrigger'), isComponent('TooltipContent')]);
|
|
10035
|
-
return /*#__PURE__*/React__default.createElement(
|
|
10972
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
10973
|
+
value: {
|
|
10974
|
+
theme
|
|
10975
|
+
}
|
|
10976
|
+
}, /*#__PURE__*/React__default.createElement(TooltipContext.Provider, {
|
|
10036
10977
|
value: tooltip
|
|
10037
|
-
}, trigger, content);
|
|
10978
|
+
}, trigger && isComponent('TooltipTrigger')(trigger) ? trigger : null, content && isComponent('TooltipContent')(content) ? content : null));
|
|
10038
10979
|
};
|
|
10039
10980
|
BaseTooltip.className = CLASSNAME$e;
|
|
10040
10981
|
BaseTooltip.defaultProps = DEFAULT_PROPS$e;
|
|
@@ -10052,7 +10993,7 @@ const useTooltipContext = () => {
|
|
|
10052
10993
|
return context;
|
|
10053
10994
|
};
|
|
10054
10995
|
|
|
10055
|
-
const _excluded$f = ["areAllCollapsed", "bannerVariant", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
|
|
10996
|
+
const _excluded$f = ["areAllCollapsed", "bannerVariant", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield", "theme"];
|
|
10056
10997
|
const COMPONENT_NAME$d = 'DetailedCard';
|
|
10057
10998
|
const CLASSNAME$d = 'redsift-detailed-card';
|
|
10058
10999
|
const DEFAULT_PROPS$d = {
|
|
@@ -10093,9 +11034,11 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10093
11034
|
isCollapsible: propsIsCollapsible,
|
|
10094
11035
|
isLoading,
|
|
10095
11036
|
onCollapseAll,
|
|
10096
|
-
shield
|
|
11037
|
+
shield,
|
|
11038
|
+
theme: propsTheme
|
|
10097
11039
|
} = props,
|
|
10098
11040
|
forwardedProps = _objectWithoutProperties(props, _excluded$f);
|
|
11041
|
+
const theme = useTheme(propsTheme);
|
|
10099
11042
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
|
|
10100
11043
|
const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
|
|
10101
11044
|
const [allCollapsed, setAllCollapsed] = useState({
|
|
@@ -10117,11 +11060,17 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10117
11060
|
}
|
|
10118
11061
|
}, [onCollapseAll]);
|
|
10119
11062
|
const [[header], content] = partitionComponents(React__default.Children.toArray(children), [isComponent('DetailedCardHeader')]);
|
|
10120
|
-
return /*#__PURE__*/React__default.createElement(
|
|
11063
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
11064
|
+
value: {
|
|
11065
|
+
theme: Theme.light
|
|
11066
|
+
}
|
|
11067
|
+
}, /*#__PURE__*/React__default.createElement(StyledDetailedCard, _extends$1({}, forwardedProps, {
|
|
10121
11068
|
className: classNames(BaseDetailedCard.className, className),
|
|
10122
11069
|
ref: ref,
|
|
10123
|
-
$color: color
|
|
11070
|
+
$color: color,
|
|
11071
|
+
$theme: theme
|
|
10124
11072
|
}), color ? isLoading ? /*#__PURE__*/React__default.createElement(Skeleton, {
|
|
11073
|
+
theme: theme,
|
|
10125
11074
|
height: bannerVariant === 'condensed' ? '8px' : '80px',
|
|
10126
11075
|
width: "calc(100% + 32px)",
|
|
10127
11076
|
margin: "-16px -16px 16px -16px"
|
|
@@ -10148,7 +11097,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10148
11097
|
icon: icon,
|
|
10149
11098
|
color: "white",
|
|
10150
11099
|
size: "xlarge"
|
|
10151
|
-
}) : null) : null, header ? /*#__PURE__*/React__default.createElement("div", {
|
|
11100
|
+
}) : null) : null, header && isComponent('DetailedCardHeader')(header) ? /*#__PURE__*/React__default.createElement("div", {
|
|
10152
11101
|
className: `${BaseDetailedCard.className}__header`
|
|
10153
11102
|
}, header) : null, isCollapsible ? /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
10154
11103
|
justifyContent: "flex-end",
|
|
@@ -10161,7 +11110,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10161
11110
|
style: {
|
|
10162
11111
|
transform: 'rotate(-90deg)'
|
|
10163
11112
|
},
|
|
10164
|
-
color: "
|
|
11113
|
+
color: "grey"
|
|
10165
11114
|
})), /*#__PURE__*/React__default.createElement(Tooltip.Content, null, stringFormatter.format('collapse-all'))), /*#__PURE__*/React__default.createElement(Tooltip, null, /*#__PURE__*/React__default.createElement(Tooltip.Trigger, null, /*#__PURE__*/React__default.createElement(IconButton, {
|
|
10166
11115
|
"aria-label": stringFormatter.format('expand-all'),
|
|
10167
11116
|
"aria-describedby": undefined,
|
|
@@ -10170,16 +11119,17 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10170
11119
|
style: {
|
|
10171
11120
|
transform: 'rotate(180deg)'
|
|
10172
11121
|
},
|
|
10173
|
-
color: "
|
|
11122
|
+
color: "grey"
|
|
10174
11123
|
})), /*#__PURE__*/React__default.createElement(Tooltip.Content, null, stringFormatter.format('expand-all')))) : null, React__default.Children.map(content, child => {
|
|
10175
11124
|
if (isComponent(DetailedCardSection)(child)) {
|
|
10176
11125
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
11126
|
+
theme,
|
|
10177
11127
|
isCollapsed: allCollapsed.state,
|
|
10178
11128
|
key: Math.random()
|
|
10179
11129
|
});
|
|
10180
11130
|
}
|
|
10181
11131
|
return child;
|
|
10182
|
-
}));
|
|
11132
|
+
})));
|
|
10183
11133
|
});
|
|
10184
11134
|
BaseDetailedCard.className = CLASSNAME$d;
|
|
10185
11135
|
BaseDetailedCard.defaultProps = DEFAULT_PROPS$d;
|
|
@@ -10950,7 +11900,7 @@ const StyledGrid = styled.div`
|
|
|
10950
11900
|
::before {
|
|
10951
11901
|
content: '';
|
|
10952
11902
|
position: absolute;
|
|
10953
|
-
background-color: var(--redsift-color-neutral-
|
|
11903
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
10954
11904
|
inline-size: 1px;
|
|
10955
11905
|
block-size: 100%;
|
|
10956
11906
|
inset-inline-start: calc(${Math.max(1, $divider.colGap / 2)}px * -1);
|
|
@@ -10959,7 +11909,7 @@ const StyledGrid = styled.div`
|
|
|
10959
11909
|
::after {
|
|
10960
11910
|
content: '';
|
|
10961
11911
|
position: absolute;
|
|
10962
|
-
background-color: var(--redsift-color-neutral-
|
|
11912
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
10963
11913
|
inline-size: 200vw;
|
|
10964
11914
|
block-size: 1px;
|
|
10965
11915
|
inset-inline-start: -100vw;
|
|
@@ -11004,7 +11954,7 @@ GridItem.className = CLASSNAME$c;
|
|
|
11004
11954
|
GridItem.defaultProps = DEFAULT_PROPS$c;
|
|
11005
11955
|
GridItem.displayName = COMPONENT_NAME$c;
|
|
11006
11956
|
|
|
11007
|
-
const _excluded$d = ["children", "className", "divider", "gap"];
|
|
11957
|
+
const _excluded$d = ["children", "className", "divider", "gap", "theme"];
|
|
11008
11958
|
const COMPONENT_NAME$b = 'Grid';
|
|
11009
11959
|
const CLASSNAME$b = 'redsift-grid';
|
|
11010
11960
|
const DEFAULT_PROPS$b = {};
|
|
@@ -11017,15 +11967,22 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11017
11967
|
children,
|
|
11018
11968
|
className,
|
|
11019
11969
|
divider,
|
|
11020
|
-
gap
|
|
11970
|
+
gap,
|
|
11971
|
+
theme: propsTheme
|
|
11021
11972
|
} = props,
|
|
11022
11973
|
forwardedProps = _objectWithoutProperties(props, _excluded$d);
|
|
11023
|
-
|
|
11974
|
+
const theme = useTheme(propsTheme);
|
|
11975
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
11976
|
+
value: {
|
|
11977
|
+
theme
|
|
11978
|
+
}
|
|
11979
|
+
}, /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
|
|
11024
11980
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
11025
11981
|
className: classNames(BaseGrid.className, className),
|
|
11026
11982
|
ref: ref,
|
|
11027
|
-
$divider: divider
|
|
11028
|
-
|
|
11983
|
+
$divider: divider,
|
|
11984
|
+
$theme: theme
|
|
11985
|
+
}), children));
|
|
11029
11986
|
});
|
|
11030
11987
|
BaseGrid.className = CLASSNAME$b;
|
|
11031
11988
|
BaseGrid.defaultProps = DEFAULT_PROPS$b;
|
|
@@ -11057,10 +12014,11 @@ const StyledItem = styled.div`
|
|
|
11057
12014
|
$isSelected,
|
|
11058
12015
|
$isDisabled,
|
|
11059
12016
|
$isHovered,
|
|
11060
|
-
$isFocused
|
|
12017
|
+
$isFocused,
|
|
12018
|
+
$theme
|
|
11061
12019
|
} = _ref;
|
|
11062
12020
|
return css`
|
|
11063
|
-
background-color: ${($isActive || $isSelected) && ($isHovered || $isFocused) ?
|
|
12021
|
+
background-color: ${($isActive || $isSelected) && ($isHovered || $isFocused) ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isActive ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isHovered ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l2' : 'd1'})` : $isFocused ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l2' : 'd1'})` : $isSelected && !$isDisabled ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isSelected && $isDisabled ? 'var(--redsift-color-neutral-light-grey)' : $isDisabled ? 'none' : 'none'};
|
|
11064
12022
|
`;
|
|
11065
12023
|
}}
|
|
11066
12024
|
|
|
@@ -11072,11 +12030,12 @@ const StyledItem = styled.div`
|
|
|
11072
12030
|
let {
|
|
11073
12031
|
$isActive,
|
|
11074
12032
|
$isSelected,
|
|
11075
|
-
$isDisabled
|
|
12033
|
+
$isDisabled,
|
|
12034
|
+
$theme
|
|
11076
12035
|
} = _ref2;
|
|
11077
12036
|
return css`
|
|
11078
12037
|
cursor: ${$isDisabled ? 'default' : 'pointer'};
|
|
11079
|
-
background-color: ${$isActive ?
|
|
12038
|
+
background-color: ${$isActive ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isSelected && !$isDisabled ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isDisabled ? 'none' : `var(--redsift-color-primary-${$theme === Theme.light ? 'l2' : 'd1'})`};
|
|
11080
12039
|
`;
|
|
11081
12040
|
}};
|
|
11082
12041
|
}
|
|
@@ -11087,10 +12046,11 @@ const StyledItem = styled.div`
|
|
|
11087
12046
|
${_ref3 => {
|
|
11088
12047
|
let {
|
|
11089
12048
|
$isHovered,
|
|
11090
|
-
$isDisabled
|
|
12049
|
+
$isDisabled,
|
|
12050
|
+
$theme
|
|
11091
12051
|
} = _ref3;
|
|
11092
12052
|
return css`
|
|
11093
|
-
background-color: ${$isHovered ?
|
|
12053
|
+
background-color: ${$isHovered ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isDisabled ? 'none' : `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})`};
|
|
11094
12054
|
`;
|
|
11095
12055
|
}};
|
|
11096
12056
|
}
|
|
@@ -11252,8 +12212,8 @@ function useMenuItem(props) {
|
|
|
11252
12212
|
};
|
|
11253
12213
|
}
|
|
11254
12214
|
|
|
11255
|
-
const _excluded$c = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "value"],
|
|
11256
|
-
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "onClick"];
|
|
12215
|
+
const _excluded$c = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "theme", "value"],
|
|
12216
|
+
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "theme", "onClick"];
|
|
11257
12217
|
const COMPONENT_NAME$a = 'Item';
|
|
11258
12218
|
const CLASSNAME$a = 'redsift-item';
|
|
11259
12219
|
const DEFAULT_PROPS$a = {};
|
|
@@ -11267,6 +12227,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11267
12227
|
isDisabled: propsIsDisabled,
|
|
11268
12228
|
isHovered,
|
|
11269
12229
|
isSelected: propsIsSelected,
|
|
12230
|
+
theme: propsTheme,
|
|
11270
12231
|
value
|
|
11271
12232
|
} = props,
|
|
11272
12233
|
forwardedProps = _objectWithoutProperties(props, _excluded$c);
|
|
@@ -11287,6 +12248,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11287
12248
|
isDisabled: propsIsDisabled,
|
|
11288
12249
|
propsIsSelected: propsIsSelected !== null && propsIsSelected !== void 0 ? propsIsSelected : defaultSelected
|
|
11289
12250
|
});
|
|
12251
|
+
const theme = useTheme(propsTheme);
|
|
11290
12252
|
return /*#__PURE__*/React__default.createElement(StyledItem, _extends$1({
|
|
11291
12253
|
role: "option"
|
|
11292
12254
|
}, forwardedProps, {
|
|
@@ -11296,6 +12258,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11296
12258
|
$isFocused: isFocused,
|
|
11297
12259
|
$isHovered: isHovered,
|
|
11298
12260
|
$isSelected: isSelected,
|
|
12261
|
+
$theme: theme,
|
|
11299
12262
|
"aria-selected": isSelected,
|
|
11300
12263
|
className: classNames(Item.className, className),
|
|
11301
12264
|
onClick: handleClick,
|
|
@@ -11312,6 +12275,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11312
12275
|
isActive,
|
|
11313
12276
|
isDisabled: propsIsDisabled,
|
|
11314
12277
|
isHovered,
|
|
12278
|
+
theme: propsTheme,
|
|
11315
12279
|
onClick
|
|
11316
12280
|
} = props,
|
|
11317
12281
|
forwardedProps = _objectWithoutProperties(props, _excluded2);
|
|
@@ -11331,6 +12295,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11331
12295
|
isDisabled: propsIsDisabled,
|
|
11332
12296
|
onClick: onClick
|
|
11333
12297
|
});
|
|
12298
|
+
const theme = useTheme(propsTheme);
|
|
11334
12299
|
return /*#__PURE__*/React__default.createElement(StyledItem, _extends$1({
|
|
11335
12300
|
role: "option"
|
|
11336
12301
|
}, forwardedProps, {
|
|
@@ -11340,6 +12305,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11340
12305
|
$isFocused: isFocused,
|
|
11341
12306
|
$isHovered: isHovered,
|
|
11342
12307
|
$isSelected: false,
|
|
12308
|
+
$theme: theme,
|
|
11343
12309
|
className: classNames(Item.className, className),
|
|
11344
12310
|
onClick: handleClick,
|
|
11345
12311
|
ref: divRef,
|
|
@@ -11420,25 +12386,25 @@ const StyledLink = styled.a`
|
|
|
11420
12386
|
$isDisabled
|
|
11421
12387
|
} = _ref;
|
|
11422
12388
|
return !$isDisabled ? css`
|
|
11423
|
-
color: var(--redsift-color-
|
|
12389
|
+
color: var(--redsift-color-primary-n);
|
|
11424
12390
|
text-decoration: underline;
|
|
11425
|
-
text-decoration-color:
|
|
12391
|
+
text-decoration-color: transparent;
|
|
11426
12392
|
text-underline-offset: 2px;
|
|
11427
12393
|
|
|
11428
12394
|
&:hover,
|
|
11429
12395
|
&:focus-visible {
|
|
11430
12396
|
cursor: pointer !important;
|
|
11431
|
-
text-decoration-color: var(--redsift-color-
|
|
12397
|
+
text-decoration-color: var(--redsift-color-primary-n);
|
|
11432
12398
|
}
|
|
11433
12399
|
` : '';
|
|
11434
12400
|
}}
|
|
11435
12401
|
|
|
11436
12402
|
&:focus-visible {
|
|
11437
|
-
outline: 2px solid var(--redsift-color-
|
|
12403
|
+
outline: 2px solid var(--redsift-color-primary-n);
|
|
11438
12404
|
}
|
|
11439
12405
|
`;
|
|
11440
12406
|
|
|
11441
|
-
const _excluded$b = ["as", "children", "className", "href", "isDisabled"];
|
|
12407
|
+
const _excluded$b = ["as", "children", "className", "href", "isDisabled", "theme"];
|
|
11442
12408
|
const COMPONENT_NAME$9 = 'Link';
|
|
11443
12409
|
const CLASSNAME$9 = 'redsift-link';
|
|
11444
12410
|
const DEFAULT_PROPS$9 = {};
|
|
@@ -11457,9 +12423,11 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11457
12423
|
children,
|
|
11458
12424
|
className,
|
|
11459
12425
|
href,
|
|
11460
|
-
isDisabled
|
|
12426
|
+
isDisabled,
|
|
12427
|
+
theme: propsTheme
|
|
11461
12428
|
} = props,
|
|
11462
12429
|
forwardedProps = _objectWithoutProperties(props, _excluded$b);
|
|
12430
|
+
const theme = useTheme(propsTheme);
|
|
11463
12431
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11464
12432
|
as: as,
|
|
11465
12433
|
"aria-disabled": isDisabled,
|
|
@@ -11467,6 +12435,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11467
12435
|
tabIndex: !isDisabled ? 0 : undefined
|
|
11468
12436
|
}, forwardedProps, {
|
|
11469
12437
|
$isDisabled: isDisabled,
|
|
12438
|
+
$theme: theme,
|
|
11470
12439
|
className: classNames(Link.className, className),
|
|
11471
12440
|
href: !isDisabled ? href : undefined,
|
|
11472
12441
|
ref: ref
|
|
@@ -11476,7 +12445,7 @@ Link.className = CLASSNAME$9;
|
|
|
11476
12445
|
Link.defaultProps = DEFAULT_PROPS$9;
|
|
11477
12446
|
Link.displayName = COMPONENT_NAME$9;
|
|
11478
12447
|
|
|
11479
|
-
const _excluded$a = ["children", "className", "disabled", "isDisabled"];
|
|
12448
|
+
const _excluded$a = ["children", "className", "disabled", "isDisabled", "theme"];
|
|
11480
12449
|
const COMPONENT_NAME$8 = 'LinkButton';
|
|
11481
12450
|
const CLASSNAME$8 = 'redsift-link-button';
|
|
11482
12451
|
const DEFAULT_PROPS$8 = {};
|
|
@@ -11494,14 +12463,17 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11494
12463
|
children,
|
|
11495
12464
|
className,
|
|
11496
12465
|
disabled,
|
|
11497
|
-
isDisabled: propsIsDisabled
|
|
12466
|
+
isDisabled: propsIsDisabled,
|
|
12467
|
+
theme: propsTheme
|
|
11498
12468
|
} = props,
|
|
11499
12469
|
forwardedProps = _objectWithoutProperties(props, _excluded$a);
|
|
11500
12470
|
const isDisabled = propsIsDisabled || disabled;
|
|
12471
|
+
const theme = useTheme(propsTheme);
|
|
11501
12472
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11502
12473
|
as: "button"
|
|
11503
12474
|
}, forwardedProps, {
|
|
11504
12475
|
$isDisabled: isDisabled || disabled,
|
|
12476
|
+
$theme: theme,
|
|
11505
12477
|
"aria-disabled": isDisabled || disabled,
|
|
11506
12478
|
className: classNames(LinkButton.className, className),
|
|
11507
12479
|
disabled: isDisabled || disabled
|
|
@@ -11605,7 +12577,8 @@ const RovingTabindexListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11605
12577
|
/**
|
|
11606
12578
|
* Component style.
|
|
11607
12579
|
*/
|
|
11608
|
-
const StyledListbox = styled
|
|
12580
|
+
const StyledListbox = styled.div`
|
|
12581
|
+
${baseContainer}
|
|
11609
12582
|
outline: none;
|
|
11610
12583
|
|
|
11611
12584
|
${_ref => {
|
|
@@ -11623,15 +12596,15 @@ const StyledListbox = styled(Flexbox)`
|
|
|
11623
12596
|
|
|
11624
12597
|
color: var(--redsift-color-neutral-black);
|
|
11625
12598
|
${$isDisabled ? `
|
|
11626
|
-
color: var(--redsift-color-neutral-
|
|
12599
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
11627
12600
|
` : ''}
|
|
11628
12601
|
${$isInvalid ? `
|
|
11629
|
-
color: var(--redsift-color-
|
|
12602
|
+
color: var(--redsift-color-red-n);
|
|
11630
12603
|
` : ''}
|
|
11631
12604
|
}
|
|
11632
12605
|
|
|
11633
12606
|
.redsift-listbox-list {
|
|
11634
|
-
border: 1px solid var(--redsift-color-neutral-
|
|
12607
|
+
border: 1px solid var(--redsift-color-neutral-mid-grey);
|
|
11635
12608
|
padding: 4px;
|
|
11636
12609
|
min-width: 200px;
|
|
11637
12610
|
}
|
|
@@ -11786,7 +12759,7 @@ const StyledNumber = styled(StyledText)`
|
|
|
11786
12759
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
11787
12760
|
`;
|
|
11788
12761
|
|
|
11789
|
-
const _excluded$6 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "fontWeight", "lineHeight", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "value", "variant"];
|
|
12762
|
+
const _excluded$6 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "fontWeight", "lineHeight", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "theme", "value", "variant"];
|
|
11790
12763
|
const COMPONENT_NAME$6 = 'Number';
|
|
11791
12764
|
const CLASSNAME$6 = 'redsift-number';
|
|
11792
12765
|
const DEFAULT_PROPS$6 = {
|
|
@@ -11836,6 +12809,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11836
12809
|
unit,
|
|
11837
12810
|
unitDisplay,
|
|
11838
12811
|
useGrouping,
|
|
12812
|
+
theme: propsTheme,
|
|
11839
12813
|
value,
|
|
11840
12814
|
variant
|
|
11841
12815
|
} = props,
|
|
@@ -11873,6 +12847,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11873
12847
|
unitDisplay,
|
|
11874
12848
|
useGrouping
|
|
11875
12849
|
}));
|
|
12850
|
+
const theme = useTheme(propsTheme);
|
|
11876
12851
|
return /*#__PURE__*/React__default.createElement(StyledNumber, _extends$1({
|
|
11877
12852
|
as: as
|
|
11878
12853
|
}, forwardedProps, {
|
|
@@ -11884,6 +12859,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11884
12859
|
$fontSize: fontSize,
|
|
11885
12860
|
$fontWeight: fontWeight,
|
|
11886
12861
|
$noWrap: noWrap,
|
|
12862
|
+
$theme: theme,
|
|
11887
12863
|
$variant: variant
|
|
11888
12864
|
}), formatter.format(value));
|
|
11889
12865
|
});
|
|
@@ -11895,7 +12871,7 @@ Number$1.displayName = COMPONENT_NAME$6;
|
|
|
11895
12871
|
* Component style.
|
|
11896
12872
|
*/
|
|
11897
12873
|
const StyledProgressBar = styled.progress`
|
|
11898
|
-
|
|
12874
|
+
${_ref => {
|
|
11899
12875
|
let {
|
|
11900
12876
|
backgroundColor,
|
|
11901
12877
|
height,
|
|
@@ -11903,29 +12879,29 @@ const StyledProgressBar = styled.progress`
|
|
|
11903
12879
|
width
|
|
11904
12880
|
} = _ref;
|
|
11905
12881
|
return css`
|
|
12882
|
+
&[value] {
|
|
12883
|
+
// Target only state with a value
|
|
12884
|
+
-webkit-appearance: none;
|
|
12885
|
+
appearance: none;
|
|
12886
|
+
height: ${height || '8px'};
|
|
12887
|
+
width: ${width || '100%'};
|
|
12888
|
+
color: var(--redsift-color-presentation-red-default);
|
|
11906
12889
|
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
width: ${width || '100%'};
|
|
11912
|
-
color: var(--redsift-color-presentation-red-default);
|
|
11913
|
-
|
|
11914
|
-
&::-webkit-progress-bar {
|
|
11915
|
-
background-color: ${backgroundColor || 'var(--redsift-color-neutral-xlightgrey)'};
|
|
11916
|
-
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
11917
|
-
}
|
|
12890
|
+
&::-webkit-progress-bar {
|
|
12891
|
+
background-color: ${backgroundColor || 'var(--redsift-color-neutral-x-light-grey)'};
|
|
12892
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
12893
|
+
}
|
|
11918
12894
|
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
12895
|
+
&::-webkit-progress-value {
|
|
12896
|
+
background-color: ${progressColor || 'var(--redsift-color-primary-n)'};
|
|
12897
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
12898
|
+
}
|
|
12899
|
+
}
|
|
12900
|
+
`;
|
|
11925
12901
|
}}
|
|
11926
12902
|
`;
|
|
11927
12903
|
|
|
11928
|
-
const _excluded$5 = ["className", "value"];
|
|
12904
|
+
const _excluded$5 = ["className", "theme", "value"];
|
|
11929
12905
|
const COMPONENT_NAME$5 = 'ProgressBar';
|
|
11930
12906
|
const CLASSNAME$5 = 'redsift-progress-bar';
|
|
11931
12907
|
const DEFAULT_PROPS$5 = {};
|
|
@@ -11936,15 +12912,18 @@ const DEFAULT_PROPS$5 = {};
|
|
|
11936
12912
|
const ProgressBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11937
12913
|
const {
|
|
11938
12914
|
className,
|
|
12915
|
+
theme: propsTheme,
|
|
11939
12916
|
value
|
|
11940
12917
|
} = props,
|
|
11941
12918
|
forwardedProps = _objectWithoutProperties(props, _excluded$5);
|
|
12919
|
+
const theme = useTheme(propsTheme);
|
|
11942
12920
|
return /*#__PURE__*/React__default.createElement(StyledProgressBar, _extends$1({}, forwardedProps, {
|
|
11943
12921
|
className: classNames(ProgressBar.className, className),
|
|
11944
12922
|
ref: ref,
|
|
11945
12923
|
variant: "determinate",
|
|
11946
12924
|
max: "100",
|
|
11947
|
-
value: value || 0
|
|
12925
|
+
value: value || 0,
|
|
12926
|
+
theme: theme
|
|
11948
12927
|
}));
|
|
11949
12928
|
});
|
|
11950
12929
|
ProgressBar.className = CLASSNAME$5;
|
|
@@ -12002,22 +12981,19 @@ const StyledRadioGroup = styled.div`
|
|
|
12002
12981
|
font-size: var(--redsift-typography-body-font-size);
|
|
12003
12982
|
line-height: var(--redsift-typography-body-line-height);
|
|
12004
12983
|
|
|
12005
|
-
color: var(--redsift-color-neutral-black);
|
|
12006
12984
|
${_ref2 => {
|
|
12007
12985
|
let {
|
|
12008
|
-
$isDisabled
|
|
12986
|
+
$isDisabled,
|
|
12987
|
+
$isInvalid,
|
|
12988
|
+
$theme
|
|
12009
12989
|
} = _ref2;
|
|
12010
|
-
return $isDisabled ? `
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
}
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
} = _ref3;
|
|
12018
|
-
return $isInvalid ? `
|
|
12019
|
-
color: var(--redsift-color-notifications-error-primary);
|
|
12020
|
-
` : '';
|
|
12990
|
+
return $isDisabled ? css`
|
|
12991
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
12992
|
+
` : $isInvalid ? css`
|
|
12993
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
12994
|
+
` : css`
|
|
12995
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
12996
|
+
`;
|
|
12021
12997
|
}}
|
|
12022
12998
|
}
|
|
12023
12999
|
|
|
@@ -12027,31 +13003,28 @@ const StyledRadioGroup = styled.div`
|
|
|
12027
13003
|
font-size: var(--redsift-typography-helper-font-size);
|
|
12028
13004
|
line-height: var(--redsift-typography-helper-line-height);
|
|
12029
13005
|
|
|
12030
|
-
|
|
12031
|
-
${_ref4 => {
|
|
12032
|
-
let {
|
|
12033
|
-
$isDisabled
|
|
12034
|
-
} = _ref4;
|
|
12035
|
-
return $isDisabled ? `
|
|
12036
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
12037
|
-
` : '';
|
|
12038
|
-
}}
|
|
12039
|
-
${_ref5 => {
|
|
13006
|
+
${_ref3 => {
|
|
12040
13007
|
let {
|
|
12041
|
-
$
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
13008
|
+
$isDisabled,
|
|
13009
|
+
$isInvalid,
|
|
13010
|
+
$theme
|
|
13011
|
+
} = _ref3;
|
|
13012
|
+
return $isDisabled ? css`
|
|
13013
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
13014
|
+
` : $isInvalid ? css`
|
|
13015
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
13016
|
+
` : css`
|
|
13017
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
13018
|
+
`;
|
|
12046
13019
|
}}
|
|
12047
13020
|
}
|
|
12048
13021
|
`;
|
|
12049
13022
|
|
|
12050
|
-
const _excluded$4 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
13023
|
+
const _excluded$4 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
12051
13024
|
const COMPONENT_NAME$4 = 'RadioGroup';
|
|
12052
13025
|
const CLASSNAME$4 = 'redsift-radio-group';
|
|
12053
13026
|
const DEFAULT_PROPS$4 = {
|
|
12054
|
-
color:
|
|
13027
|
+
color: ColorPalette.primary,
|
|
12055
13028
|
orientation: RadioGroupOrientation.vertical
|
|
12056
13029
|
};
|
|
12057
13030
|
|
|
@@ -12072,9 +13045,11 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12072
13045
|
label,
|
|
12073
13046
|
onChange,
|
|
12074
13047
|
orientation,
|
|
13048
|
+
theme: propsTheme,
|
|
12075
13049
|
value
|
|
12076
13050
|
} = props,
|
|
12077
13051
|
forwardedProps = _objectWithoutProperties(props, _excluded$4);
|
|
13052
|
+
const theme = useTheme(propsTheme);
|
|
12078
13053
|
const [selectedValue, setValue] = useState(value || defaultValue || '');
|
|
12079
13054
|
useEffect(() => {
|
|
12080
13055
|
if (value) {
|
|
@@ -12096,11 +13071,16 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12096
13071
|
}
|
|
12097
13072
|
}
|
|
12098
13073
|
};
|
|
12099
|
-
return /*#__PURE__*/React__default.createElement(
|
|
13074
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
13075
|
+
value: {
|
|
13076
|
+
theme
|
|
13077
|
+
}
|
|
13078
|
+
}, /*#__PURE__*/React__default.createElement(StyledRadioGroup, _extends$1({}, forwardedProps, {
|
|
12100
13079
|
$isDisabled: isDisabled,
|
|
12101
13080
|
$isInvalid: isInvalid || isRequired && selectedValue.length === 0,
|
|
12102
13081
|
$isReadOnly: isReadOnly,
|
|
12103
13082
|
$orientation: orientation,
|
|
13083
|
+
$theme: theme,
|
|
12104
13084
|
"aria-disabled": isDisabled,
|
|
12105
13085
|
className: classNames(RadioGroup.className, className),
|
|
12106
13086
|
ref: ref,
|
|
@@ -12113,7 +13093,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12113
13093
|
value: state
|
|
12114
13094
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
12115
13095
|
className: `${RadioGroup.className}-description`
|
|
12116
|
-
}, description));
|
|
13096
|
+
}, description)));
|
|
12117
13097
|
});
|
|
12118
13098
|
RadioGroup.className = CLASSNAME$4;
|
|
12119
13099
|
RadioGroup.defaultProps = DEFAULT_PROPS$4;
|
|
@@ -12147,14 +13127,15 @@ const StyledRadio = styled.label`
|
|
|
12147
13127
|
${_ref => {
|
|
12148
13128
|
let {
|
|
12149
13129
|
$isDisabled,
|
|
12150
|
-
$isInvalid
|
|
13130
|
+
$isInvalid,
|
|
13131
|
+
$theme
|
|
12151
13132
|
} = _ref;
|
|
12152
13133
|
return $isDisabled ? css`
|
|
12153
|
-
color: var(--redsift-color-
|
|
13134
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
12154
13135
|
` : $isInvalid ? css`
|
|
12155
|
-
color: var(--redsift-color-
|
|
13136
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
12156
13137
|
` : css`
|
|
12157
|
-
color: var(--redsift-color-
|
|
13138
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
12158
13139
|
`;
|
|
12159
13140
|
}}
|
|
12160
13141
|
|
|
@@ -12181,19 +13162,20 @@ const StyledRadio = styled.label`
|
|
|
12181
13162
|
$isColored,
|
|
12182
13163
|
$isDisabled,
|
|
12183
13164
|
$isInvalid,
|
|
12184
|
-
$isFocusVisible
|
|
13165
|
+
$isFocusVisible,
|
|
13166
|
+
$theme
|
|
12185
13167
|
} = _ref2;
|
|
12186
13168
|
return css`
|
|
12187
13169
|
${$isDisabled ? css`
|
|
12188
|
-
color: var(--redsift-color-
|
|
13170
|
+
color: var(--redsift-color-${$theme}-components-radio-fill-disabled);
|
|
12189
13171
|
` : $isInvalid ? css`
|
|
12190
|
-
color: var(--redsift-color-
|
|
13172
|
+
color: var(--redsift-color-${$theme}-components-radio-fill-invalid);
|
|
12191
13173
|
` : css`
|
|
12192
|
-
color: ${$isColored ?
|
|
13174
|
+
color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored)`};
|
|
12193
13175
|
`}
|
|
12194
13176
|
|
|
12195
13177
|
${$isFocusVisible && !$isDisabled ? css`
|
|
12196
|
-
background-color: ${$isColored ?
|
|
13178
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default-hover)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored-hover)`};
|
|
12197
13179
|
border-radius: 16px;
|
|
12198
13180
|
` : ''}
|
|
12199
13181
|
`;
|
|
@@ -12207,11 +13189,17 @@ const StyledRadio = styled.label`
|
|
|
12207
13189
|
${_ref3 => {
|
|
12208
13190
|
let {
|
|
12209
13191
|
$isColored,
|
|
12210
|
-
$isDisabled
|
|
13192
|
+
$isDisabled,
|
|
13193
|
+
$isInvalid,
|
|
13194
|
+
$theme
|
|
12211
13195
|
} = _ref3;
|
|
12212
13196
|
return !$isDisabled ? css`
|
|
12213
13197
|
.redsift-icon {
|
|
12214
|
-
|
|
13198
|
+
${$isInvalid ? css`
|
|
13199
|
+
background-color: var(--redsift-color-${$theme}-components-radio-fill-invalid-hover);
|
|
13200
|
+
` : css`
|
|
13201
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default-hover)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored-hover)`};
|
|
13202
|
+
`}
|
|
12215
13203
|
border-radius: 16px;
|
|
12216
13204
|
}
|
|
12217
13205
|
` : '';
|
|
@@ -12219,7 +13207,7 @@ const StyledRadio = styled.label`
|
|
|
12219
13207
|
}
|
|
12220
13208
|
`;
|
|
12221
13209
|
|
|
12222
|
-
const _excluded$3 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
13210
|
+
const _excluded$3 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "theme", "value"];
|
|
12223
13211
|
const COMPONENT_NAME$3 = 'Radio';
|
|
12224
13212
|
const CLASSNAME$3 = 'redsift-radio';
|
|
12225
13213
|
const DEFAULT_PROPS$3 = {
|
|
@@ -12251,9 +13239,11 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12251
13239
|
isSelected: propsIsSelected,
|
|
12252
13240
|
name,
|
|
12253
13241
|
onChange,
|
|
13242
|
+
theme: propsTheme,
|
|
12254
13243
|
value
|
|
12255
13244
|
} = props,
|
|
12256
13245
|
forwardedProps = _objectWithoutProperties(props, _excluded$3);
|
|
13246
|
+
const theme = useTheme(propsTheme);
|
|
12257
13247
|
const {
|
|
12258
13248
|
isFocusVisible,
|
|
12259
13249
|
focusProps
|
|
@@ -12272,7 +13262,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12272
13262
|
setSelected(groupState.value === value);
|
|
12273
13263
|
}
|
|
12274
13264
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
12275
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
13265
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Radio');
|
|
12276
13266
|
if (groupState) {
|
|
12277
13267
|
if (propsIsSelected != null) {
|
|
12278
13268
|
console.warn('isSelected is unsupported on individual <Radio> elements within a <RadioGroup> unless the <Radio> is controlled. Please apply this prop to the group instead.');
|
|
@@ -12305,6 +13295,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12305
13295
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
12306
13296
|
$isRequired: isRequired,
|
|
12307
13297
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
13298
|
+
$theme: theme,
|
|
12308
13299
|
className: classNames(Radio.className, className),
|
|
12309
13300
|
ref: ref
|
|
12310
13301
|
}), isSelected || isControlled && propsIsSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -12366,14 +13357,15 @@ const StyledSwitch = styled.label`
|
|
|
12366
13357
|
${_ref => {
|
|
12367
13358
|
let {
|
|
12368
13359
|
$isDisabled,
|
|
12369
|
-
$isInvalid
|
|
13360
|
+
$isInvalid,
|
|
13361
|
+
$theme
|
|
12370
13362
|
} = _ref;
|
|
12371
13363
|
return $isDisabled ? css`
|
|
12372
|
-
color: var(--redsift-color-
|
|
13364
|
+
color: var(--redsift-color-${$theme}-components-switch-text-disabled);
|
|
12373
13365
|
` : $isInvalid ? css`
|
|
12374
|
-
color: var(--redsift-color-
|
|
13366
|
+
color: var(--redsift-color-${$theme}-components-switch-text-invalid);
|
|
12375
13367
|
` : css`
|
|
12376
|
-
color: var(--redsift-color-
|
|
13368
|
+
color: var(--redsift-color-${$theme}-components-switch-text-default);
|
|
12377
13369
|
`;
|
|
12378
13370
|
}}
|
|
12379
13371
|
|
|
@@ -12392,7 +13384,26 @@ const StyledSwitch = styled.label`
|
|
|
12392
13384
|
}
|
|
12393
13385
|
|
|
12394
13386
|
.redsift-switch-slide__inner {
|
|
12395
|
-
|
|
13387
|
+
${_ref2 => {
|
|
13388
|
+
let {
|
|
13389
|
+
$isColored,
|
|
13390
|
+
$isDisabled,
|
|
13391
|
+
$isInvalid,
|
|
13392
|
+
$isSelected,
|
|
13393
|
+
$theme
|
|
13394
|
+
} = _ref2;
|
|
13395
|
+
return $isDisabled ? css`
|
|
13396
|
+
background-color: var(
|
|
13397
|
+
--redsift-color-${$theme}-components-switch-background-disabled${$isSelected ? '-active' : ''}
|
|
13398
|
+
);
|
|
13399
|
+
` : $isInvalid ? css`
|
|
13400
|
+
background-color: var(
|
|
13401
|
+
--redsift-color-${$theme}-components-switch-background-invalid${$isSelected ? '-active' : ''}
|
|
13402
|
+
);
|
|
13403
|
+
` : css`
|
|
13404
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-switch-background-default${$isSelected ? '-active' : ''})` : `var(--redsift-color-${$theme}-components-switch-background-uncolored${$isSelected ? '-active' : ''})`};
|
|
13405
|
+
`;
|
|
13406
|
+
}}
|
|
12396
13407
|
border-radius: 20px;
|
|
12397
13408
|
height: 24px;
|
|
12398
13409
|
position: absolute;
|
|
@@ -12404,10 +13415,10 @@ const StyledSwitch = styled.label`
|
|
|
12404
13415
|
.redsift-switch-slide__knob-wrapper {
|
|
12405
13416
|
border-radius: 50%;
|
|
12406
13417
|
height: 20px;
|
|
12407
|
-
margin-inline-start: ${
|
|
13418
|
+
margin-inline-start: ${_ref3 => {
|
|
12408
13419
|
let {
|
|
12409
13420
|
$isSelected
|
|
12410
|
-
} =
|
|
13421
|
+
} = _ref3;
|
|
12411
13422
|
return !$isSelected ? '2px' : '24px';
|
|
12412
13423
|
}};
|
|
12413
13424
|
position: absolute;
|
|
@@ -12416,23 +13427,27 @@ const StyledSwitch = styled.label`
|
|
|
12416
13427
|
}
|
|
12417
13428
|
|
|
12418
13429
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12419
|
-
${
|
|
13430
|
+
${_ref4 => {
|
|
12420
13431
|
let {
|
|
12421
|
-
$
|
|
12422
|
-
$isInvalid
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
13432
|
+
$isDisabled,
|
|
13433
|
+
$isInvalid,
|
|
13434
|
+
$theme
|
|
13435
|
+
} = _ref4;
|
|
13436
|
+
return $isDisabled ? css`
|
|
13437
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-disabled-hover);
|
|
13438
|
+
` : $isInvalid ? css`
|
|
13439
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-invalid-hover);
|
|
13440
|
+
` : css`
|
|
13441
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-default-hover);
|
|
13442
|
+
`;
|
|
12429
13443
|
}}
|
|
13444
|
+
|
|
12430
13445
|
border-radius: 50%;
|
|
12431
13446
|
height: 32px;
|
|
12432
|
-
margin-inline-start: ${
|
|
13447
|
+
margin-inline-start: ${_ref5 => {
|
|
12433
13448
|
let {
|
|
12434
13449
|
$isSelected
|
|
12435
|
-
} =
|
|
13450
|
+
} = _ref5;
|
|
12436
13451
|
return !$isSelected ? '-6px' : '-6px';
|
|
12437
13452
|
}};
|
|
12438
13453
|
opacity: 0;
|
|
@@ -12442,7 +13457,20 @@ const StyledSwitch = styled.label`
|
|
|
12442
13457
|
}
|
|
12443
13458
|
|
|
12444
13459
|
.redsift-switch-slide-knob-wrapper__knob {
|
|
12445
|
-
|
|
13460
|
+
${_ref6 => {
|
|
13461
|
+
let {
|
|
13462
|
+
$isDisabled,
|
|
13463
|
+
$isInvalid,
|
|
13464
|
+
$theme
|
|
13465
|
+
} = _ref6;
|
|
13466
|
+
return $isDisabled ? css`
|
|
13467
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-disabled);
|
|
13468
|
+
` : $isInvalid ? css`
|
|
13469
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-invalid);
|
|
13470
|
+
` : css`
|
|
13471
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-default);
|
|
13472
|
+
`;
|
|
13473
|
+
}}
|
|
12446
13474
|
border-radius: 50%;
|
|
12447
13475
|
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12);
|
|
12448
13476
|
height: 20px;
|
|
@@ -12452,39 +13480,15 @@ const StyledSwitch = styled.label`
|
|
|
12452
13480
|
z-index: 4;
|
|
12453
13481
|
}
|
|
12454
13482
|
|
|
12455
|
-
.redsift-switch-slide__inner {
|
|
12456
|
-
${_ref5 => {
|
|
12457
|
-
let {
|
|
12458
|
-
$isColored,
|
|
12459
|
-
$isDisabled,
|
|
12460
|
-
$isInvalid,
|
|
12461
|
-
$isSelected
|
|
12462
|
-
} = _ref5;
|
|
12463
|
-
return css`
|
|
12464
|
-
${$isDisabled ? css`
|
|
12465
|
-
background-color: var(--redsift-color-neutral-lightgrey);
|
|
12466
|
-
` : $isSelected ? css`
|
|
12467
|
-
background-color: var(
|
|
12468
|
-
--redsift-color-${$isInvalid ? 'notifications-error-primary' : $isColored ? 'ctas-primary-primary' : 'notifications-no-data-button-active'}
|
|
12469
|
-
);
|
|
12470
|
-
` : css`
|
|
12471
|
-
background-color: var(
|
|
12472
|
-
--redsift-color-${$isInvalid ? 'notifications-error-hover' : $isColored ? 'ctas-primary-hover' : 'notifications-no-data-button-hover'}
|
|
12473
|
-
);
|
|
12474
|
-
`}
|
|
12475
|
-
`;
|
|
12476
|
-
}}
|
|
12477
|
-
}
|
|
12478
|
-
|
|
12479
13483
|
&:hover,
|
|
12480
13484
|
&:focus-visible {
|
|
12481
13485
|
outline: none;
|
|
12482
13486
|
cursor: pointer;
|
|
12483
13487
|
|
|
12484
|
-
${
|
|
13488
|
+
${_ref7 => {
|
|
12485
13489
|
let {
|
|
12486
13490
|
$isDisabled
|
|
12487
|
-
} =
|
|
13491
|
+
} = _ref7;
|
|
12488
13492
|
return !$isDisabled ? css`
|
|
12489
13493
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12490
13494
|
opacity: 0.5;
|
|
@@ -12493,11 +13497,11 @@ const StyledSwitch = styled.label`
|
|
|
12493
13497
|
}}
|
|
12494
13498
|
}
|
|
12495
13499
|
|
|
12496
|
-
${
|
|
13500
|
+
${_ref8 => {
|
|
12497
13501
|
let {
|
|
12498
13502
|
$isDisabled,
|
|
12499
13503
|
$isFocusVisible
|
|
12500
|
-
} =
|
|
13504
|
+
} = _ref8;
|
|
12501
13505
|
return $isFocusVisible && !$isDisabled ? css`
|
|
12502
13506
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12503
13507
|
opacity: 0.5;
|
|
@@ -12506,7 +13510,7 @@ const StyledSwitch = styled.label`
|
|
|
12506
13510
|
}}
|
|
12507
13511
|
`;
|
|
12508
13512
|
|
|
12509
|
-
const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
13513
|
+
const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "theme", "value"];
|
|
12510
13514
|
const COMPONENT_NAME$2 = 'Switch';
|
|
12511
13515
|
const CLASSNAME$2 = 'redsift-switch';
|
|
12512
13516
|
const DEFAULT_PROPS$2 = {
|
|
@@ -12538,9 +13542,11 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12538
13542
|
isSelected: propsIsSelected,
|
|
12539
13543
|
name,
|
|
12540
13544
|
onChange,
|
|
13545
|
+
theme: propsTheme,
|
|
12541
13546
|
value
|
|
12542
13547
|
} = props,
|
|
12543
13548
|
forwardedProps = _objectWithoutProperties(props, _excluded$2);
|
|
13549
|
+
const theme = useTheme(propsTheme);
|
|
12544
13550
|
const {
|
|
12545
13551
|
isFocusVisible,
|
|
12546
13552
|
focusProps
|
|
@@ -12559,7 +13565,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12559
13565
|
setSelected(groupState.value.includes(value));
|
|
12560
13566
|
}
|
|
12561
13567
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
12562
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
13568
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Switch');
|
|
12563
13569
|
if (groupState) {
|
|
12564
13570
|
if (propsIsSelected != null) {
|
|
12565
13571
|
console.warn('isSelected is unsupported on individual <Switch> elements within a <SwitchGroup> unless the <Switch> is controlled. Please apply this prop to the group instead.');
|
|
@@ -12596,6 +13602,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12596
13602
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
12597
13603
|
$isRequired: isRequired,
|
|
12598
13604
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
13605
|
+
$theme: theme,
|
|
12599
13606
|
className: classNames(Switch.className, className),
|
|
12600
13607
|
ref: ref
|
|
12601
13608
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -12682,22 +13689,19 @@ const StyledSwitchGroup = styled.div`
|
|
|
12682
13689
|
font-size: var(--redsift-typography-body-font-size);
|
|
12683
13690
|
line-height: var(--redsift-typography-body-line-height);
|
|
12684
13691
|
|
|
12685
|
-
color: var(--redsift-color-neutral-black);
|
|
12686
13692
|
${_ref2 => {
|
|
12687
13693
|
let {
|
|
12688
|
-
$isDisabled
|
|
13694
|
+
$isDisabled,
|
|
13695
|
+
$isInvalid,
|
|
13696
|
+
$theme
|
|
12689
13697
|
} = _ref2;
|
|
12690
|
-
return $isDisabled ? `
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
}
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
} = _ref3;
|
|
12698
|
-
return $isInvalid ? `
|
|
12699
|
-
color: var(--redsift-color-notifications-error-primary);
|
|
12700
|
-
` : '';
|
|
13698
|
+
return $isDisabled ? css`
|
|
13699
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
13700
|
+
` : $isInvalid ? css`
|
|
13701
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
13702
|
+
` : css`
|
|
13703
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
13704
|
+
`;
|
|
12701
13705
|
}}
|
|
12702
13706
|
}
|
|
12703
13707
|
|
|
@@ -12707,31 +13711,28 @@ const StyledSwitchGroup = styled.div`
|
|
|
12707
13711
|
font-size: var(--redsift-typography-helper-font-size);
|
|
12708
13712
|
line-height: var(--redsift-typography-helper-line-height);
|
|
12709
13713
|
|
|
12710
|
-
|
|
12711
|
-
${_ref4 => {
|
|
12712
|
-
let {
|
|
12713
|
-
$isDisabled
|
|
12714
|
-
} = _ref4;
|
|
12715
|
-
return $isDisabled ? `
|
|
12716
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
12717
|
-
` : '';
|
|
12718
|
-
}}
|
|
12719
|
-
${_ref5 => {
|
|
13714
|
+
${_ref3 => {
|
|
12720
13715
|
let {
|
|
12721
|
-
$
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
13716
|
+
$isDisabled,
|
|
13717
|
+
$isInvalid,
|
|
13718
|
+
$theme
|
|
13719
|
+
} = _ref3;
|
|
13720
|
+
return $isDisabled ? css`
|
|
13721
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
13722
|
+
` : $isInvalid ? css`
|
|
13723
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
13724
|
+
` : css`
|
|
13725
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
13726
|
+
`;
|
|
12726
13727
|
}}
|
|
12727
13728
|
}
|
|
12728
13729
|
`;
|
|
12729
13730
|
|
|
12730
|
-
const _excluded$1 = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
13731
|
+
const _excluded$1 = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
12731
13732
|
const COMPONENT_NAME$1 = 'SwitchGroup';
|
|
12732
13733
|
const CLASSNAME$1 = 'redsift-switch-group';
|
|
12733
13734
|
const DEFAULT_PROPS$1 = {
|
|
12734
|
-
color:
|
|
13735
|
+
color: ColorPalette.primary,
|
|
12735
13736
|
orientation: SwitchGroupOrientation.vertical
|
|
12736
13737
|
};
|
|
12737
13738
|
|
|
@@ -12752,9 +13753,11 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12752
13753
|
label,
|
|
12753
13754
|
onChange,
|
|
12754
13755
|
orientation,
|
|
13756
|
+
theme: propsTheme,
|
|
12755
13757
|
value
|
|
12756
13758
|
} = props,
|
|
12757
13759
|
forwardedProps = _objectWithoutProperties(props, _excluded$1);
|
|
13760
|
+
const theme = useTheme(propsTheme);
|
|
12758
13761
|
const [selectedValues, setValue] = useState(value || defaultValues || []);
|
|
12759
13762
|
useEffect(() => {
|
|
12760
13763
|
if (value) {
|
|
@@ -12788,11 +13791,16 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12788
13791
|
}
|
|
12789
13792
|
}
|
|
12790
13793
|
};
|
|
12791
|
-
return /*#__PURE__*/React__default.createElement(
|
|
13794
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
13795
|
+
value: {
|
|
13796
|
+
theme
|
|
13797
|
+
}
|
|
13798
|
+
}, /*#__PURE__*/React__default.createElement(StyledSwitchGroup, _extends$1({}, forwardedProps, {
|
|
12792
13799
|
$isDisabled: isDisabled,
|
|
12793
13800
|
$isInvalid: isInvalid || isRequired && selectedValues.length === 0,
|
|
12794
13801
|
$isReadOnly: isReadOnly,
|
|
12795
13802
|
$orientation: orientation,
|
|
13803
|
+
$theme: theme,
|
|
12796
13804
|
"aria-disabled": isDisabled,
|
|
12797
13805
|
className: classNames(SwitchGroup.className, className),
|
|
12798
13806
|
ref: ref,
|
|
@@ -12805,7 +13813,7 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12805
13813
|
value: state
|
|
12806
13814
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
12807
13815
|
className: `${SwitchGroup.className}-description`
|
|
12808
|
-
}, description));
|
|
13816
|
+
}, description)));
|
|
12809
13817
|
});
|
|
12810
13818
|
SwitchGroup.className = CLASSNAME$1;
|
|
12811
13819
|
SwitchGroup.defaultProps = DEFAULT_PROPS$1;
|
|
@@ -12848,6 +13856,7 @@ const StyledTextField = styled.div`
|
|
|
12848
13856
|
$isDisabled,
|
|
12849
13857
|
$isInvalid,
|
|
12850
13858
|
$isColored,
|
|
13859
|
+
$theme,
|
|
12851
13860
|
$variant
|
|
12852
13861
|
} = _ref;
|
|
12853
13862
|
return css`
|
|
@@ -12881,13 +13890,13 @@ const StyledTextField = styled.div`
|
|
|
12881
13890
|
`}
|
|
12882
13891
|
|
|
12883
13892
|
${$isDisabled ? css`
|
|
12884
|
-
color: var(--redsift-color-
|
|
13893
|
+
color: var(--redsift-color-neutral-light-grey);
|
|
12885
13894
|
` : $isInvalid ? css`
|
|
12886
13895
|
color: var(--redsift-color-notifications-error-primary);
|
|
12887
13896
|
` : $isFocused ? css`
|
|
12888
|
-
color: ${$isColored ? 'var(--redsift-color-
|
|
13897
|
+
color: ${$isColored ? 'var(--redsift-color-primary-n)' : 'var(--redsift-color-notifications-question-primary)'};
|
|
12889
13898
|
` : css`
|
|
12890
|
-
color: var(--redsift-color-neutral-
|
|
13899
|
+
color: var(--redsift-color-neutral-${$theme === Theme.light ? 'x-dark-grey' : 'light-grey'});
|
|
12891
13900
|
`}
|
|
12892
13901
|
}
|
|
12893
13902
|
|
|
@@ -12896,7 +13905,7 @@ const StyledTextField = styled.div`
|
|
|
12896
13905
|
box-sizing: border-box;
|
|
12897
13906
|
cursor: text;
|
|
12898
13907
|
display: inline-flex;
|
|
12899
|
-
height: 42px;
|
|
13908
|
+
min-height: 42px;
|
|
12900
13909
|
position: relative;
|
|
12901
13910
|
}
|
|
12902
13911
|
|
|
@@ -12933,14 +13942,14 @@ const StyledTextField = styled.div`
|
|
|
12933
13942
|
width: auto;
|
|
12934
13943
|
|
|
12935
13944
|
${$isDisabled ? css`
|
|
12936
|
-
color: var(--redsift-color-
|
|
13945
|
+
color: var(--redsift-color-neutral-light-grey);
|
|
12937
13946
|
` : css`
|
|
12938
|
-
color: var(--redsift-color-neutral-
|
|
13947
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
12939
13948
|
`}
|
|
12940
13949
|
}
|
|
12941
13950
|
|
|
12942
13951
|
.redsift-text-field-input-wrapper__input::placeholder {
|
|
12943
|
-
color: var(--redsift-color-neutral-
|
|
13952
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
12944
13953
|
}
|
|
12945
13954
|
|
|
12946
13955
|
.redsift-text-field-input-wrapper__input:focus {
|
|
@@ -12969,13 +13978,13 @@ const StyledTextField = styled.div`
|
|
|
12969
13978
|
`}
|
|
12970
13979
|
|
|
12971
13980
|
${$isDisabled ? css`
|
|
12972
|
-
border-color: var(--redsift-color-
|
|
13981
|
+
border-color: var(--redsift-color-neutral-light-grey);
|
|
12973
13982
|
` : $isInvalid ? css`
|
|
12974
13983
|
border-color: var(--redsift-color-notifications-error-primary);
|
|
12975
13984
|
` : $isFocused ? css`
|
|
12976
|
-
border-color: ${$isColored ? 'var(--redsift-color-
|
|
13985
|
+
border-color: ${$isColored ? 'var(--redsift-color-primary-n)' : 'var(--redsift-color-notifications-question-primary)'};
|
|
12977
13986
|
` : css`
|
|
12978
|
-
border-color: var(--redsift-color-neutral-
|
|
13987
|
+
border-color: var(--redsift-color-neutral-mid-grey);
|
|
12979
13988
|
`}
|
|
12980
13989
|
}
|
|
12981
13990
|
|
|
@@ -13040,7 +14049,7 @@ const StyledTextField = styled.div`
|
|
|
13040
14049
|
// Material Design Icons v7.2.96
|
|
13041
14050
|
var mdiClose = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z";
|
|
13042
14051
|
|
|
13043
|
-
const _excluded = ["aria-label", "aria-labelledby", "autoFocus", "className", "defaultValue", "hasClearButton", "after", "internal", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "leftIcon", "name", "onBlur", "onChange", "onClear", "onFocus", "pills", "placeholder", "type", "value", "variant"];
|
|
14052
|
+
const _excluded = ["aria-label", "aria-labelledby", "autoFocus", "className", "defaultValue", "hasClearButton", "after", "internal", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "leftIcon", "name", "onBlur", "onChange", "onClear", "onFocus", "pills", "placeholder", "theme", "type", "value", "variant"];
|
|
13044
14053
|
const COMPONENT_NAME = 'TextField';
|
|
13045
14054
|
const CLASSNAME = 'redsift-text-field';
|
|
13046
14055
|
const DEFAULT_PROPS = {
|
|
@@ -13079,11 +14088,13 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13079
14088
|
onFocus: onFocusProps,
|
|
13080
14089
|
pills,
|
|
13081
14090
|
placeholder,
|
|
14091
|
+
theme: propsTheme,
|
|
13082
14092
|
type,
|
|
13083
14093
|
value: propsValue,
|
|
13084
14094
|
variant
|
|
13085
14095
|
} = props,
|
|
13086
14096
|
forwardedProps = _objectWithoutProperties(props, _excluded);
|
|
14097
|
+
const theme = useTheme(propsTheme);
|
|
13087
14098
|
const {
|
|
13088
14099
|
isFocusVisible,
|
|
13089
14100
|
isFocused,
|
|
@@ -13102,7 +14113,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13102
14113
|
});
|
|
13103
14114
|
const [value, setValue] = useState(defaultValue);
|
|
13104
14115
|
const isControlled = propsValue !== null && propsValue !== undefined;
|
|
13105
|
-
warnIfNoAccessibleLabelFound(props, [label]);
|
|
14116
|
+
warnIfNoAccessibleLabelFound(props, [label], 'TextField');
|
|
13106
14117
|
const handleChange = useCallback(event => {
|
|
13107
14118
|
if (isDisabled || isReadOnly) {
|
|
13108
14119
|
return;
|
|
@@ -13137,6 +14148,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13137
14148
|
$isInvalid: isInvalid || isRequired && !(isControlled ? propsValue : value),
|
|
13138
14149
|
$isRequired: isRequired,
|
|
13139
14150
|
$isFocused: isFocused,
|
|
14151
|
+
$theme: theme,
|
|
13140
14152
|
$variant: variant,
|
|
13141
14153
|
className: classNames(TextField.className, className),
|
|
13142
14154
|
ref: ref
|
|
@@ -13152,6 +14164,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13152
14164
|
})) : null, /*#__PURE__*/React__default.createElement("div", {
|
|
13153
14165
|
className: `${TextField.className}__pills`
|
|
13154
14166
|
}, pills === null || pills === void 0 ? void 0 : pills.map(pill => /*#__PURE__*/React__default.createElement(Pill, {
|
|
14167
|
+
theme: theme,
|
|
13155
14168
|
key: pill.value,
|
|
13156
14169
|
color: "blue",
|
|
13157
14170
|
size: "small"
|
|
@@ -13183,8 +14196,9 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13183
14196
|
className: `${TextField.className}-input-wrapper__toolbar`,
|
|
13184
14197
|
gap: "8px"
|
|
13185
14198
|
}, hasClearButton ? /*#__PURE__*/React__default.createElement(IconButton, _extends$1({
|
|
14199
|
+
theme: theme,
|
|
13186
14200
|
"aria-label": "Clear",
|
|
13187
|
-
color: "
|
|
14201
|
+
color: "grey",
|
|
13188
14202
|
isDisabled: isDisabled,
|
|
13189
14203
|
icon: mdiClose
|
|
13190
14204
|
}, hasClearButton !== true && hasClearButton, {
|
|
@@ -13192,7 +14206,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13192
14206
|
className: "right clear"
|
|
13193
14207
|
})) : null, typeof internal === 'function' ? internal(isControlled ? propsValue : value, isDisabled, isInvalid || isRequired && !(isControlled ? propsValue : value), isRequired) : internal, (hasClearButton || internal) && after ? /*#__PURE__*/React__default.createElement("span", {
|
|
13194
14208
|
style: {
|
|
13195
|
-
borderLeft: '1px solid var(--redsift-color-neutral-
|
|
14209
|
+
borderLeft: '1px solid var(--redsift-color-neutral-mid-grey)'
|
|
13196
14210
|
}
|
|
13197
14211
|
}) : null, typeof after === 'function' ? after(isControlled ? propsValue : value, isDisabled, isInvalid || isRequired && !(isControlled ? propsValue : value), isRequired) : after) : null, /*#__PURE__*/React__default.createElement("fieldset", {
|
|
13198
14212
|
"aria-hidden": "true",
|
|
@@ -13205,5 +14219,5 @@ TextField.className = CLASSNAME;
|
|
|
13205
14219
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
13206
14220
|
TextField.displayName = COMPONENT_NAME;
|
|
13207
14221
|
|
|
13208
|
-
export { ActiveDescendantListbox, Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, AppSidePanelVariant, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, ButtonGroupVariant, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ConditionalWrapper, CtasColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, EventKey, FOCUS_WITHING_GROUP_INITIAL_STATE, FlexDirection, FlexWrap, Flexbox, FocusWithinGroup, FocusWithinGroupActionType, FocusWithinGroupContext, FocusWithinGroupReducer, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, Item, JustifyContent, JustifyItems, JustifySelf, LISTBOX_INITIAL_STATE, Link, LinkButton, Listbox, ListboxActionType, ListboxContext, ListboxReducer, ListboxVariant, Navigation, NeutralColorPalette, NotificationsColorPalette, Number$1 as Number, Pill, PillSize, PresentationColorPalette, Product, ProductColorPalette, ProductLogo, ProductName, ProgressBar, Radio, RadioGroup, RadioGroupOrientation, 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, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarVariant, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextField, TextFieldVariant, TextVariant, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, focusRing, getCanvasFont, getContainerProps, getCssStyle, getMaxTextWidth, getTextWidth, isComponent, nextId, partitionComponents, resetId, setPrefix, sizeToDimension$1 as sizeToDimension, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useId$1 as useId, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
14222
|
+
export { ActiveDescendantListbox, Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, AppSidePanelVariant, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonGroup, ButtonGroupVariant, ButtonLink, ButtonVariant, ButtonsColorPalette, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, EventKey, FOCUS_WITHING_GROUP_INITIAL_STATE, FlexDirection, FlexWrap, Flexbox, FocusWithinGroup, FocusWithinGroupActionType, FocusWithinGroupContext, FocusWithinGroupReducer, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, Item, JustifyContent, JustifyItems, JustifySelf, LISTBOX_INITIAL_STATE, Link, LinkButton, Listbox, ListboxActionType, ListboxContext, ListboxReducer, ListboxVariant, Navigation, NeutralColorPalette, NotificationsColorPalette, Number$1 as Number, Pill, PillSize, PresentationColorPalette, PrimaryButtonsColorPalette, PrimaryColorPalette, Product, ProductColorPalette, ProductLogo, ProductName, ProgressBar, Radio, RadioGroup, RadioGroupOrientation, RedsiftBorderRadius, RedsiftColorBlueD1, RedsiftColorBlueD2, RedsiftColorBlueD3, RedsiftColorBlueD4, RedsiftColorBlueL1, RedsiftColorBlueL2, RedsiftColorBlueL3, RedsiftColorBlueL4, RedsiftColorBlueN, RedsiftColorBordersBorderDefault, RedsiftColorBordersBorderDisabled, RedsiftColorBordersBorderDivider, RedsiftColorBordersBorderError, RedsiftColorBordersBorderPrimary, RedsiftColorBordersBorderSecondary, RedsiftColorBordersBorderSuccess, RedsiftColorDarkComponentsAiAiBorder, RedsiftColorDarkComponentsAiAiIcon, RedsiftColorDarkComponentsAlertErrorBackground, RedsiftColorDarkComponentsAlertErrorIcon, RedsiftColorDarkComponentsAlertInfoBackground, RedsiftColorDarkComponentsAlertInfoIcon, RedsiftColorDarkComponentsAlertSuccessBackground, RedsiftColorDarkComponentsAlertSuccessIcon, RedsiftColorDarkComponentsAlertText, RedsiftColorDarkComponentsAlertWarningBackground, RedsiftColorDarkComponentsAlertWarningIcon, RedsiftColorDarkComponentsAppBarBackground, RedsiftColorDarkComponentsAppBarBorder, RedsiftColorDarkComponentsAppBarBreadcrumbDefault, RedsiftColorDarkComponentsAppBarBreadcrumbDown, RedsiftColorDarkComponentsAppBarBreadcrumbHover, RedsiftColorDarkComponentsAppBarIconBackgroundActive, RedsiftColorDarkComponentsAppBarIconBackgroundActiveDown, RedsiftColorDarkComponentsAppBarIconBackgroundActiveHover, RedsiftColorDarkComponentsAppBarIconBackgroundDown, RedsiftColorDarkComponentsAppBarIconBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonErrorTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonGreyTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonInfoTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonPrimaryTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonSecondaryTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonSuccessTextHover, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundActive, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningBackgroundHover, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextActive, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextDefault, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextDisabled, RedsiftColorDarkComponentsButtonsPrimaryButtonWarningTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonErrorTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonGreyTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonInfoTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonPrimaryTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonSecondaryTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonSuccessTextHover, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundActive, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningBackgroundHover, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextActive, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextDefault, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextDisabled, RedsiftColorDarkComponentsButtonsSecondaryButtonWarningTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonErrorTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonGreyTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonInfoTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonPrimaryTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonSecondaryTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonSuccessTextHover, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundActive, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningBackgroundHover, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextActive, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextDefault, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextDisabled, RedsiftColorDarkComponentsButtonsUnstyledButtonWarningTextHover, RedsiftColorDarkComponentsCheckboxFillDefault, RedsiftColorDarkComponentsCheckboxFillDefaultHover, RedsiftColorDarkComponentsCheckboxFillDisabled, RedsiftColorDarkComponentsCheckboxFillInvalid, RedsiftColorDarkComponentsCheckboxFillInvalidHover, RedsiftColorDarkComponentsCheckboxFillUncolored, RedsiftColorDarkComponentsCheckboxFillUncoloredHover, RedsiftColorDarkComponentsCheckboxTextDefault, RedsiftColorDarkComponentsCheckboxTextDisabled, RedsiftColorDarkComponentsCheckboxTextInvalid, RedsiftColorDarkComponentsDropdownsAndMenusClickBackground, RedsiftColorDarkComponentsDropdownsAndMenusClickText, RedsiftColorDarkComponentsDropdownsAndMenusDefaultBackground, RedsiftColorDarkComponentsDropdownsAndMenusDefaultText, RedsiftColorDarkComponentsDropdownsAndMenusDividers, RedsiftColorDarkComponentsDropdownsAndMenusHoverBackground, RedsiftColorDarkComponentsDropdownsAndMenusHoverText, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveBackground, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveClickBackground, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveClickText, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveHoverBackground, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveHoverText, RedsiftColorDarkComponentsDropdownsAndMenusToggleActiveText, RedsiftColorDarkComponentsIconsDefault, RedsiftColorDarkComponentsModalBackground, RedsiftColorDarkComponentsPageBackground, RedsiftColorDarkComponentsProductLogosIconGrey, RedsiftColorDarkComponentsProductLogosIconRed, RedsiftColorDarkComponentsProductLogosTextGrey, RedsiftColorDarkComponentsProductLogosTextRed, RedsiftColorDarkComponentsProductLogosTextWhite, RedsiftColorDarkComponentsRadioFillDefault, RedsiftColorDarkComponentsRadioFillDefaultHover, RedsiftColorDarkComponentsRadioFillDisabled, RedsiftColorDarkComponentsRadioFillInvalid, RedsiftColorDarkComponentsRadioFillInvalidHover, RedsiftColorDarkComponentsRadioFillUncolored, RedsiftColorDarkComponentsRadioFillUncoloredHover, RedsiftColorDarkComponentsRadioTextDefault, RedsiftColorDarkComponentsRadioTextDisabled, RedsiftColorDarkComponentsRadioTextInvalid, RedsiftColorDarkComponentsRedSiftLogoDiamondBottomLeft, RedsiftColorDarkComponentsRedSiftLogoDiamondBottomRight, RedsiftColorDarkComponentsRedSiftLogoDiamondDark, RedsiftColorDarkComponentsRedSiftLogoDiamondLight, RedsiftColorDarkComponentsRedSiftLogoDiamondMid, RedsiftColorDarkComponentsRedSiftLogoDiamondTopRight, RedsiftColorDarkComponentsRedSiftLogoIconBackground, RedsiftColorDarkComponentsRedSiftLogoIconR, RedsiftColorDarkComponentsRedSiftLogoTextGrey, RedsiftColorDarkComponentsRedSiftLogoTextRed, RedsiftColorDarkComponentsRedSiftLogoTextWhite, RedsiftColorDarkComponentsSideNavigationBackground, RedsiftColorDarkComponentsSideNavigationCurrentMarker, RedsiftColorDarkComponentsSideNavigationMenuItemActive, RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundActive, RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundHover, RedsiftColorDarkComponentsSideNavigationMenuItemBackgroundSecondary, RedsiftColorDarkComponentsSideNavigationMenuItemTextDisabled, RedsiftColorDarkComponentsSideNavigationMenuItemTextHover, RedsiftColorDarkComponentsSideNavigationMenuItemTextResting, RedsiftColorDarkComponentsSideNavigationRightLine, RedsiftColorDarkComponentsSideNavigationScrollbarHover, RedsiftColorDarkComponentsSideNavigationScrollbarResting, RedsiftColorDarkComponentsSpinnerSpinner, RedsiftColorDarkComponentsSwitchBackgroundDefault, RedsiftColorDarkComponentsSwitchBackgroundDefaultActive, RedsiftColorDarkComponentsSwitchBackgroundDisabled, RedsiftColorDarkComponentsSwitchBackgroundDisabledActive, RedsiftColorDarkComponentsSwitchBackgroundInvalid, RedsiftColorDarkComponentsSwitchBackgroundInvalidActive, RedsiftColorDarkComponentsSwitchBackgroundUncolored, RedsiftColorDarkComponentsSwitchBackgroundUncoloredActive, RedsiftColorDarkComponentsSwitchDotDefault, RedsiftColorDarkComponentsSwitchDotDefaultHover, RedsiftColorDarkComponentsSwitchDotDisabled, RedsiftColorDarkComponentsSwitchDotInvalid, RedsiftColorDarkComponentsSwitchDotInvalidHover, RedsiftColorDarkComponentsSwitchDotUncolored, RedsiftColorDarkComponentsSwitchDotUncoloredHover, RedsiftColorDarkComponentsSwitchTextDefault, RedsiftColorDarkComponentsSwitchTextDisabled, RedsiftColorDarkComponentsSwitchTextInvalid, RedsiftColorDarkComponentsTabsLine, RedsiftColorDarkComponentsTextPrimary, RedsiftColorDarkComponentsTextSecondary, RedsiftColorDarkComponentsTooltipBackground, RedsiftColorDarkComponentsTooltipText, RedsiftColorGreenD1, RedsiftColorGreenD2, RedsiftColorGreenD3, RedsiftColorGreenD4, RedsiftColorGreenL1, RedsiftColorGreenL2, RedsiftColorGreenL3, RedsiftColorGreenL4, RedsiftColorGreenN, RedsiftColorGreyD1, RedsiftColorGreyD2, RedsiftColorGreyD3, RedsiftColorGreyD4, RedsiftColorGreyD5, RedsiftColorGreyL1, RedsiftColorGreyL2, RedsiftColorGreyL3, RedsiftColorGreyL4, RedsiftColorGreyL5, RedsiftColorGreyN, RedsiftColorLightComponentsAiAiBorder, RedsiftColorLightComponentsAiAiIcon, RedsiftColorLightComponentsAlertErrorBackground, RedsiftColorLightComponentsAlertErrorIcon, RedsiftColorLightComponentsAlertInfoBackground, RedsiftColorLightComponentsAlertInfoIcon, RedsiftColorLightComponentsAlertSuccessBackground, RedsiftColorLightComponentsAlertSuccessIcon, RedsiftColorLightComponentsAlertText, RedsiftColorLightComponentsAlertWarningBackground, RedsiftColorLightComponentsAlertWarningIcon, RedsiftColorLightComponentsAppBarBackground, RedsiftColorLightComponentsAppBarBorder, RedsiftColorLightComponentsAppBarBreadcrumbDefault, RedsiftColorLightComponentsAppBarBreadcrumbDown, RedsiftColorLightComponentsAppBarBreadcrumbHover, RedsiftColorLightComponentsAppBarIconBackgroundActive, RedsiftColorLightComponentsAppBarIconBackgroundActiveDown, RedsiftColorLightComponentsAppBarIconBackgroundActiveHover, RedsiftColorLightComponentsAppBarIconBackgroundDown, RedsiftColorLightComponentsAppBarIconBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonErrorBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonErrorTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonGreyBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonGreyTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonInfoBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonInfoTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonPrimaryTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonSecondaryTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonSuccessTextHover, RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundActive, RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundDefault, RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonWarningBackgroundHover, RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextActive, RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextDefault, RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextDisabled, RedsiftColorLightComponentsButtonsPrimaryButtonWarningTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonErrorBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonErrorTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonGreyBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonGreyTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonInfoBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonInfoTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonPrimaryTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonSecondaryTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonSuccessTextHover, RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundActive, RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundDefault, RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonWarningBackgroundHover, RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextActive, RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextDefault, RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextDisabled, RedsiftColorLightComponentsButtonsSecondaryButtonWarningTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonErrorBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonErrorTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonGreyBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonGreyTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonInfoBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonInfoTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonPrimaryTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonSecondaryTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonSuccessTextHover, RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundActive, RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundDefault, RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonWarningBackgroundHover, RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextActive, RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextDefault, RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextDisabled, RedsiftColorLightComponentsButtonsUnstyledButtonWarningTextHover, RedsiftColorLightComponentsCheckboxFillDefault, RedsiftColorLightComponentsCheckboxFillDefaultHover, RedsiftColorLightComponentsCheckboxFillDisabled, RedsiftColorLightComponentsCheckboxFillInvalid, RedsiftColorLightComponentsCheckboxFillInvalidHover, RedsiftColorLightComponentsCheckboxFillUncolored, RedsiftColorLightComponentsCheckboxFillUncoloredHover, RedsiftColorLightComponentsCheckboxTextDefault, RedsiftColorLightComponentsCheckboxTextDisabled, RedsiftColorLightComponentsCheckboxTextInvalid, RedsiftColorLightComponentsDropdownsAndMenusClickBackground, RedsiftColorLightComponentsDropdownsAndMenusClickText, RedsiftColorLightComponentsDropdownsAndMenusDefaultBackground, RedsiftColorLightComponentsDropdownsAndMenusDefaultText, RedsiftColorLightComponentsDropdownsAndMenusDividers, RedsiftColorLightComponentsDropdownsAndMenusHoverBackground, RedsiftColorLightComponentsDropdownsAndMenusHoverText, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveBackground, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveClickBackground, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveClickText, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveHoverBackground, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveHoverText, RedsiftColorLightComponentsDropdownsAndMenusToggleActiveText, RedsiftColorLightComponentsIconsDefault, RedsiftColorLightComponentsModalBackground, RedsiftColorLightComponentsPageBackground, RedsiftColorLightComponentsProductLogosIconGrey, RedsiftColorLightComponentsProductLogosIconRed, RedsiftColorLightComponentsProductLogosTextGrey, RedsiftColorLightComponentsProductLogosTextRed, RedsiftColorLightComponentsProductLogosTextWhite, RedsiftColorLightComponentsRadioFillDefault, RedsiftColorLightComponentsRadioFillDefaultHover, RedsiftColorLightComponentsRadioFillDisabled, RedsiftColorLightComponentsRadioFillInvalid, RedsiftColorLightComponentsRadioFillInvalidHover, RedsiftColorLightComponentsRadioFillUncolored, RedsiftColorLightComponentsRadioFillUncoloredHover, RedsiftColorLightComponentsRadioTextDefault, RedsiftColorLightComponentsRadioTextDisabled, RedsiftColorLightComponentsRadioTextInvalid, RedsiftColorLightComponentsRedSiftLogoDiamondBottomLeft, RedsiftColorLightComponentsRedSiftLogoDiamondBottomRight, RedsiftColorLightComponentsRedSiftLogoDiamondDark, RedsiftColorLightComponentsRedSiftLogoDiamondLight, RedsiftColorLightComponentsRedSiftLogoDiamondMid, RedsiftColorLightComponentsRedSiftLogoDiamondTopRight, RedsiftColorLightComponentsRedSiftLogoIconBackground, RedsiftColorLightComponentsRedSiftLogoIconR, RedsiftColorLightComponentsRedSiftLogoTextGrey, RedsiftColorLightComponentsRedSiftLogoTextRed, RedsiftColorLightComponentsRedSiftLogoTextWhite, RedsiftColorLightComponentsSideNavigationBackground, RedsiftColorLightComponentsSideNavigationCurrentMarker, RedsiftColorLightComponentsSideNavigationMenuItemActive, RedsiftColorLightComponentsSideNavigationMenuItemBackgroundActive, RedsiftColorLightComponentsSideNavigationMenuItemBackgroundHover, RedsiftColorLightComponentsSideNavigationMenuItemBackgroundSecondary, RedsiftColorLightComponentsSideNavigationMenuItemTextDisabled, RedsiftColorLightComponentsSideNavigationMenuItemTextHover, RedsiftColorLightComponentsSideNavigationMenuItemTextResting, RedsiftColorLightComponentsSideNavigationRightLine, RedsiftColorLightComponentsSideNavigationScrollbarHover, RedsiftColorLightComponentsSideNavigationScrollbarResting, RedsiftColorLightComponentsSpinnerSpinner, RedsiftColorLightComponentsSwitchBackgroundDefault, RedsiftColorLightComponentsSwitchBackgroundDefaultActive, RedsiftColorLightComponentsSwitchBackgroundDisabled, RedsiftColorLightComponentsSwitchBackgroundDisabledActive, RedsiftColorLightComponentsSwitchBackgroundInvalid, RedsiftColorLightComponentsSwitchBackgroundInvalidActive, RedsiftColorLightComponentsSwitchBackgroundUncolored, RedsiftColorLightComponentsSwitchBackgroundUncoloredActive, RedsiftColorLightComponentsSwitchDotDefault, RedsiftColorLightComponentsSwitchDotDefaultHover, RedsiftColorLightComponentsSwitchDotDisabled, RedsiftColorLightComponentsSwitchDotInvalid, RedsiftColorLightComponentsSwitchDotInvalidHover, RedsiftColorLightComponentsSwitchDotUncolored, RedsiftColorLightComponentsSwitchDotUncoloredHover, RedsiftColorLightComponentsSwitchTextDefault, RedsiftColorLightComponentsSwitchTextDisabled, RedsiftColorLightComponentsSwitchTextInvalid, RedsiftColorLightComponentsTabsLine, RedsiftColorLightComponentsTextPrimary, RedsiftColorLightComponentsTextSecondary, RedsiftColorLightComponentsTooltipBackground, RedsiftColorLightComponentsTooltipText, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkGrey, RedsiftColorNeutralLightGrey, RedsiftColorNeutralMidGrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXDarkGrey, RedsiftColorNeutralXLightGrey, RedsiftColorNotificationsErrorActive, RedsiftColorNotificationsErrorHover, RedsiftColorNotificationsErrorPrimary, RedsiftColorNotificationsInfoActive, RedsiftColorNotificationsInfoHover, RedsiftColorNotificationsInfoPrimary, RedsiftColorNotificationsNoDataActive, RedsiftColorNotificationsNoDataHover, RedsiftColorNotificationsNoDataPrimary, RedsiftColorNotificationsPrimaryActive, RedsiftColorNotificationsPrimaryHover, RedsiftColorNotificationsPrimaryPrimary, RedsiftColorNotificationsQuestionActive, RedsiftColorNotificationsQuestionHover, RedsiftColorNotificationsQuestionPrimary, RedsiftColorNotificationsSecondaryActive, RedsiftColorNotificationsSecondaryHover, RedsiftColorNotificationsSecondaryPrimary, RedsiftColorNotificationsSuccessActive, RedsiftColorNotificationsSuccessHover, RedsiftColorNotificationsSuccessPrimary, RedsiftColorNotificationsWarningActive, 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, RedsiftColorPrimaryD1, RedsiftColorPrimaryD2, RedsiftColorPrimaryD3, RedsiftColorPrimaryD4, RedsiftColorPrimaryL1, RedsiftColorPrimaryL2, RedsiftColorPrimaryL3, RedsiftColorPrimaryL4, RedsiftColorPrimaryN, RedsiftColorProductAsm, RedsiftColorProductBrandTrust, RedsiftColorProductCertificates, RedsiftColorProductHardenize, RedsiftColorProductOnDmarc, RedsiftColorProductOnInbox, RedsiftColorProductRadar, RedsiftColorProductVendorSecure, RedsiftColorRedD1, RedsiftColorRedD2, RedsiftColorRedD3, RedsiftColorRedD4, RedsiftColorRedL1, RedsiftColorRedL2, RedsiftColorRedL3, RedsiftColorRedL4, RedsiftColorRedN, RedsiftColorSecondaryD1, RedsiftColorSecondaryD2, RedsiftColorSecondaryD3, RedsiftColorSecondaryD4, RedsiftColorSecondaryL1, RedsiftColorSecondaryL2, RedsiftColorSecondaryL3, RedsiftColorSecondaryL4, RedsiftColorSecondaryN, RedsiftColorTealD1, RedsiftColorTealD2, RedsiftColorTealD3, RedsiftColorTealD4, RedsiftColorTealL1, RedsiftColorTealL2, RedsiftColorTealL3, RedsiftColorTealL4, RedsiftColorTealN, RedsiftColorTextPrimary, RedsiftColorTextSecondary, RedsiftColorYellowD1, RedsiftColorYellowD2, RedsiftColorYellowD3, RedsiftColorYellowD4, RedsiftColorYellowL1, RedsiftColorYellowL2, RedsiftColorYellowL3, RedsiftColorYellowL4, RedsiftColorYellowN, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, 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, SecondaryColorPalette, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuBarVariant, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextField, TextFieldVariant, TextVariant, Theme, ThemeContext, ThemeProvider, baseContainer, baseFlexbox, baseGrid, baseInternalSpacing, baseLayout, basePositioning, baseSizing, baseSpacing, baseStyling, filterComponents, focusRing, getCanvasFont, getContainerProps, getCssStyle, getMaxTextWidth, getTextWidth, isComponent, nextId, partitionComponents, resetId, setPrefix, sizeToDimension$1 as sizeToDimension, srOnly, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useId$1 as useId, useSideNavigationMenuBar, useTheme, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
13209
14223
|
//# sourceMappingURL=index.js.map
|