@redsift/design-system 9.6.0-muiv5 → 10.0.0-muiv5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +2 -2
- package/index.d.ts +861 -106
- package/index.js +1671 -663
- 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-${$theme}-color-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-${$theme}-color-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-${$theme}-color-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-${$theme}-color-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-${$theme}-color-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-${$theme}-color-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,23 @@ 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: var(--redsift-color-text-primary);
|
|
3213
3941
|
`;
|
|
3214
3942
|
|
|
3215
|
-
const _excluded$E = ["children", "className", "locale", "product"];
|
|
3943
|
+
const _excluded$E = ["children", "className", "locale", "product", "theme"];
|
|
3216
3944
|
const COMPONENT_NAME$E = 'AppContainer';
|
|
3217
3945
|
const CLASSNAME$E = 'redsift-app-container';
|
|
3218
3946
|
const DEFAULT_PROPS$E = {};
|
|
@@ -3225,9 +3953,11 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3225
3953
|
children,
|
|
3226
3954
|
className,
|
|
3227
3955
|
locale,
|
|
3228
|
-
product
|
|
3956
|
+
product,
|
|
3957
|
+
theme: propsTheme
|
|
3229
3958
|
} = props,
|
|
3230
3959
|
forwardedProps = _objectWithoutProperties(props, _excluded$E);
|
|
3960
|
+
const theme = useTheme(propsTheme);
|
|
3231
3961
|
const [sidePanelVariant, setSidePanelVariant] = useState(AppSidePanelVariant.standard);
|
|
3232
3962
|
const [breadcrumbs, setBreadcrumbs] = useState();
|
|
3233
3963
|
const state = {
|
|
@@ -3247,20 +3977,25 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3247
3977
|
};
|
|
3248
3978
|
return /*#__PURE__*/React__default.createElement(StyledAppContainer, _extends$1({}, forwardedProps, {
|
|
3249
3979
|
id: "redsift-app-container",
|
|
3980
|
+
$theme: theme,
|
|
3250
3981
|
$product: product,
|
|
3251
3982
|
className: classNames(AppContainer.className, className),
|
|
3252
3983
|
ref: ref
|
|
3253
3984
|
}), /*#__PURE__*/React__default.createElement(AppContainerContext.Provider, {
|
|
3254
3985
|
value: state
|
|
3986
|
+
}, /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
3987
|
+
value: {
|
|
3988
|
+
theme
|
|
3989
|
+
}
|
|
3255
3990
|
}, /*#__PURE__*/React__default.createElement(I18nProvider, {
|
|
3256
3991
|
locale: locale
|
|
3257
|
-
}, children)));
|
|
3992
|
+
}, children))));
|
|
3258
3993
|
});
|
|
3259
3994
|
AppContainer.className = CLASSNAME$E;
|
|
3260
3995
|
AppContainer.defaultProps = DEFAULT_PROPS$E;
|
|
3261
3996
|
AppContainer.displayName = COMPONENT_NAME$E;
|
|
3262
3997
|
|
|
3263
|
-
const _excluded$D = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex"];
|
|
3998
|
+
const _excluded$D = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "theme"];
|
|
3264
3999
|
const COMPONENT_NAME$D = 'SideNavigationMenu';
|
|
3265
4000
|
const CLASSNAME$D = 'redsift-side-navigation-menu';
|
|
3266
4001
|
const DEFAULT_PROPS$D = {};
|
|
@@ -3284,14 +4019,16 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3284
4019
|
isExpanded: propsIsExpanded,
|
|
3285
4020
|
menuProps = {},
|
|
3286
4021
|
menuRef = useRef(),
|
|
3287
|
-
tabIndex
|
|
4022
|
+
tabIndex,
|
|
4023
|
+
theme: propsTheme
|
|
3288
4024
|
} = props,
|
|
3289
4025
|
forwardedProps = _objectWithoutProperties(props, _excluded$D);
|
|
3290
4026
|
const [_id] = useId$1();
|
|
3291
4027
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
3292
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4028
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'SideNavigationMenu');
|
|
3293
4029
|
const appContainerState = useContext(AppContainerContext);
|
|
3294
4030
|
const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
|
|
4031
|
+
const theme = useTheme(propsTheme);
|
|
3295
4032
|
const [isFirstChild, setIsFirstChild] = useState(false);
|
|
3296
4033
|
const currentPosition = useRef(-1);
|
|
3297
4034
|
const {
|
|
@@ -3536,11 +4273,16 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3536
4273
|
}
|
|
3537
4274
|
};
|
|
3538
4275
|
const sideNavigationVariant = sideNavigationMenuBarContext === null || sideNavigationMenuBarContext === void 0 ? void 0 : sideNavigationMenuBarContext.sideNavigationMenuBarVariant;
|
|
3539
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4276
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4277
|
+
value: {
|
|
4278
|
+
theme
|
|
4279
|
+
}
|
|
4280
|
+
}, /*#__PURE__*/React__default.createElement(StyledSideNavigationMenu, _extends$1({}, forwardedProps, {
|
|
3540
4281
|
$isDisabled: isDisabled,
|
|
3541
4282
|
$isExpanded: isExpanded,
|
|
3542
|
-
$variant: sideNavigationVariant,
|
|
3543
4283
|
$numberOfChildren: renderedMenuItems.length,
|
|
4284
|
+
$theme: theme,
|
|
4285
|
+
$variant: sideNavigationVariant,
|
|
3544
4286
|
className: classNames(SideNavigationMenu.className, className),
|
|
3545
4287
|
id: id,
|
|
3546
4288
|
ref: ref,
|
|
@@ -3553,6 +4295,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3553
4295
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
3554
4296
|
className: `${SideNavigationMenu.className}__current-indicator-container`
|
|
3555
4297
|
}, currentPosition.current !== -1 ? /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuItemIndicator, {
|
|
4298
|
+
$theme: theme,
|
|
3556
4299
|
style: {
|
|
3557
4300
|
position: 'relative',
|
|
3558
4301
|
top: isExpanded ? `${38 + currentPosition.current * 38}px` : 0,
|
|
@@ -3588,7 +4331,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3588
4331
|
"aria-orientation": "vertical",
|
|
3589
4332
|
ref: menuRef,
|
|
3590
4333
|
role: "menu"
|
|
3591
|
-
}, menuItemListEventHandler), renderedMenuItems)))));
|
|
4334
|
+
}, menuItemListEventHandler), renderedMenuItems))))));
|
|
3592
4335
|
});
|
|
3593
4336
|
SideNavigationMenu.className = CLASSNAME$D;
|
|
3594
4337
|
SideNavigationMenu.defaultProps = DEFAULT_PROPS$D;
|
|
@@ -3598,23 +4341,28 @@ SideNavigationMenu.displayName = COMPONENT_NAME$D;
|
|
|
3598
4341
|
* Component style.
|
|
3599
4342
|
*/
|
|
3600
4343
|
const StyledSideNavigationMenuBar = styled.nav`
|
|
3601
|
-
background-color:
|
|
4344
|
+
background-color: ${_ref => {
|
|
4345
|
+
let {
|
|
4346
|
+
$theme
|
|
4347
|
+
} = _ref;
|
|
4348
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-background)`;
|
|
4349
|
+
}};
|
|
3602
4350
|
box-sizing: content-box;
|
|
3603
4351
|
overflow-x: hidden;
|
|
3604
4352
|
overflow-y: auto;
|
|
3605
4353
|
scrollbar-gutter: stable;
|
|
3606
4354
|
transition: width 300ms ease-out;
|
|
3607
|
-
width: ${
|
|
4355
|
+
width: ${_ref2 => {
|
|
3608
4356
|
let {
|
|
3609
4357
|
$variant
|
|
3610
|
-
} =
|
|
4358
|
+
} = _ref2;
|
|
3611
4359
|
return $variant === SideNavigationMenuBarVariant.shrinked ? '64px' : '250px';
|
|
3612
4360
|
}};
|
|
3613
4361
|
|
|
3614
|
-
${
|
|
4362
|
+
${_ref3 => {
|
|
3615
4363
|
let {
|
|
3616
4364
|
$marginTop = 0
|
|
3617
|
-
} =
|
|
4365
|
+
} = _ref3;
|
|
3618
4366
|
return $marginTop ? css`
|
|
3619
4367
|
height: calc(100% - ${$marginTop}px);
|
|
3620
4368
|
` : '';
|
|
@@ -3626,7 +4374,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3626
4374
|
padding: unset;
|
|
3627
4375
|
}
|
|
3628
4376
|
|
|
3629
|
-
scrollbar-color:
|
|
4377
|
+
scrollbar-color: ${_ref4 => {
|
|
4378
|
+
let {
|
|
4379
|
+
$theme
|
|
4380
|
+
} = _ref4;
|
|
4381
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting) transparent`;
|
|
4382
|
+
}};
|
|
3630
4383
|
scrollbar-width: thin;
|
|
3631
4384
|
|
|
3632
4385
|
&::-webkit-scrollbar {
|
|
@@ -3636,7 +4389,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3636
4389
|
|
|
3637
4390
|
&::-webkit-scrollbar-thumb {
|
|
3638
4391
|
background-clip: padding-box;
|
|
3639
|
-
background-color:
|
|
4392
|
+
background-color: ${_ref5 => {
|
|
4393
|
+
let {
|
|
4394
|
+
$theme
|
|
4395
|
+
} = _ref5;
|
|
4396
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting)`;
|
|
4397
|
+
}};
|
|
3640
4398
|
border-radius: 0px;
|
|
3641
4399
|
border-left: 2px solid transparent;
|
|
3642
4400
|
border-right: 2px solid transparent;
|
|
@@ -3649,7 +4407,12 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3649
4407
|
&::-webkit-scrollbar-thumb:horizontal,
|
|
3650
4408
|
&::-webkit-scrollbar-thumb:vertical {
|
|
3651
4409
|
&:hover {
|
|
3652
|
-
background-color:
|
|
4410
|
+
background-color: ${_ref6 => {
|
|
4411
|
+
let {
|
|
4412
|
+
$theme
|
|
4413
|
+
} = _ref6;
|
|
4414
|
+
return `var(--redsift-color-${$theme}-components-side-navigation-scrollbar-hover)`;
|
|
4415
|
+
}};
|
|
3653
4416
|
}
|
|
3654
4417
|
}
|
|
3655
4418
|
|
|
@@ -3658,7 +4421,7 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3658
4421
|
}
|
|
3659
4422
|
`;
|
|
3660
4423
|
|
|
3661
|
-
const _excluded$C = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "variant"];
|
|
4424
|
+
const _excluded$C = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "theme", "variant"];
|
|
3662
4425
|
const COMPONENT_NAME$C = 'SideNavigationMenuBar';
|
|
3663
4426
|
const CLASSNAME$C = 'redsift-side-navigation-menu-bar';
|
|
3664
4427
|
const DEFAULT_PROPS$C = {
|
|
@@ -3690,11 +4453,13 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3690
4453
|
isDisabled,
|
|
3691
4454
|
menubarProps = {},
|
|
3692
4455
|
menubarRef = useRef(),
|
|
4456
|
+
theme: propsTheme,
|
|
3693
4457
|
variant: propsVariant
|
|
3694
4458
|
} = props,
|
|
3695
4459
|
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
3696
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4460
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'SideNavigationMenuBar');
|
|
3697
4461
|
const appContainerState = useContext(AppContainerContext);
|
|
4462
|
+
const theme = useTheme(propsTheme);
|
|
3698
4463
|
const {
|
|
3699
4464
|
top
|
|
3700
4465
|
} = useBoundingClientRect(navRef, [children]);
|
|
@@ -3831,9 +4596,14 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3831
4596
|
currentNode === null || currentNode === void 0 ? void 0 : currentNode.focus();
|
|
3832
4597
|
}
|
|
3833
4598
|
}, [currentIndex, previousIndex, menuItems]);
|
|
3834
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4599
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4600
|
+
value: {
|
|
4601
|
+
theme
|
|
4602
|
+
}
|
|
4603
|
+
}, /*#__PURE__*/React__default.createElement(StyledSideNavigationMenuBar, _extends$1({}, forwardedProps, {
|
|
3835
4604
|
$isDisabled: isDisabled,
|
|
3836
4605
|
$marginTop: top,
|
|
4606
|
+
$theme: theme,
|
|
3837
4607
|
$variant: variant,
|
|
3838
4608
|
"aria-label": ariaLabel,
|
|
3839
4609
|
"aria-labelledby": ariaLabelledby,
|
|
@@ -3848,7 +4618,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3848
4618
|
onKeyDown: keyDown,
|
|
3849
4619
|
ref: menubarRef,
|
|
3850
4620
|
role: "menubar"
|
|
3851
|
-
}), navItems)));
|
|
4621
|
+
}), navItems))));
|
|
3852
4622
|
});
|
|
3853
4623
|
SideNavigationMenuBar.className = CLASSNAME$C;
|
|
3854
4624
|
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$C;
|
|
@@ -3954,11 +4724,11 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3954
4724
|
} = _ref;
|
|
3955
4725
|
return css`
|
|
3956
4726
|
${$isDisabled ? `
|
|
3957
|
-
color: var(--redsift-color-neutral-
|
|
4727
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
3958
4728
|
` : $isCurrent ? `
|
|
3959
|
-
color: var(--redsift-color-
|
|
4729
|
+
color: var(--redsift-color-primary-n);
|
|
3960
4730
|
` : `
|
|
3961
|
-
color: var(--redsift-color-
|
|
4731
|
+
color: var(--redsift-redsift-color-text-primary);
|
|
3962
4732
|
`}
|
|
3963
4733
|
|
|
3964
4734
|
${!$isDisabled && !$isCurrent && css`
|
|
@@ -3973,11 +4743,11 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3973
4743
|
}}
|
|
3974
4744
|
|
|
3975
4745
|
&:focus-visible {
|
|
3976
|
-
outline: 2px solid var(--redsift-color-
|
|
4746
|
+
outline: 2px solid var(--redsift-redsift-color-text-primary);
|
|
3977
4747
|
}
|
|
3978
4748
|
`;
|
|
3979
4749
|
|
|
3980
|
-
const _excluded$A = ["as", "children", "className", "href", "isCurrent", "isDisabled"];
|
|
4750
|
+
const _excluded$A = ["as", "children", "className", "href", "isCurrent", "isDisabled", "theme"];
|
|
3981
4751
|
const COMPONENT_NAME$B = 'BreadcrumbItem';
|
|
3982
4752
|
const CLASSNAME$B = 'redsift-breadcrumb-item';
|
|
3983
4753
|
const DEFAULT_PROPS$B = {};
|
|
@@ -3992,10 +4762,12 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3992
4762
|
className,
|
|
3993
4763
|
href,
|
|
3994
4764
|
isCurrent,
|
|
3995
|
-
isDisabled
|
|
4765
|
+
isDisabled,
|
|
4766
|
+
theme: propsTheme
|
|
3996
4767
|
} = props,
|
|
3997
4768
|
forwardedProps = _objectWithoutProperties(props, _excluded$A);
|
|
3998
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
4769
|
+
warnIfNoAccessibleLabelFound(props, [children], 'BreadcrumbItem');
|
|
4770
|
+
const theme = useTheme(propsTheme);
|
|
3999
4771
|
return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
|
|
4000
4772
|
as: as || 'a',
|
|
4001
4773
|
role: "link",
|
|
@@ -4003,6 +4775,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4003
4775
|
}, forwardedProps, {
|
|
4004
4776
|
$isCurrent: isCurrent,
|
|
4005
4777
|
$isDisabled: isDisabled,
|
|
4778
|
+
$theme: theme,
|
|
4006
4779
|
"aria-current": isCurrent ? 'page' : undefined,
|
|
4007
4780
|
"aria-disabled": isDisabled || isCurrent,
|
|
4008
4781
|
className: classNames(BreadcrumbItem.className, className),
|
|
@@ -4038,15 +4811,15 @@ const StyledBreadcrumbs = styled.nav`
|
|
|
4038
4811
|
$isDisabled
|
|
4039
4812
|
} = _ref;
|
|
4040
4813
|
return $isDisabled ? css`
|
|
4041
|
-
color: var(--redsift-color-neutral-
|
|
4814
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
4042
4815
|
` : css`
|
|
4043
|
-
color: var(--redsift-color-
|
|
4816
|
+
color: var(--redsift-color-text-primary);
|
|
4044
4817
|
`;
|
|
4045
4818
|
}}
|
|
4046
4819
|
}
|
|
4047
4820
|
`;
|
|
4048
4821
|
|
|
4049
|
-
const _excluded$z = ["children", "className", "isDisabled"];
|
|
4822
|
+
const _excluded$z = ["children", "className", "isDisabled", "theme"];
|
|
4050
4823
|
const COMPONENT_NAME$A = 'Breadcrumbs';
|
|
4051
4824
|
const CLASSNAME$A = 'redsift-breadcrumbs';
|
|
4052
4825
|
const DEFAULT_PROPS$A = {};
|
|
@@ -4058,10 +4831,12 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4058
4831
|
const {
|
|
4059
4832
|
children,
|
|
4060
4833
|
className,
|
|
4061
|
-
isDisabled
|
|
4834
|
+
isDisabled,
|
|
4835
|
+
theme: propsTheme
|
|
4062
4836
|
} = props,
|
|
4063
4837
|
forwardedProps = _objectWithoutProperties(props, _excluded$z);
|
|
4064
|
-
warnIfNoAccessibleLabelFound(props);
|
|
4838
|
+
warnIfNoAccessibleLabelFound(props, undefined, 'Breadcrumbs');
|
|
4839
|
+
const theme = useTheme(propsTheme);
|
|
4065
4840
|
const childArray = filterComponents([Breadcrumbs.Item])(children);
|
|
4066
4841
|
const breadcrumbItems = childArray.map((child, index) => {
|
|
4067
4842
|
var _child$key;
|
|
@@ -4077,11 +4852,16 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4077
4852
|
className: `${BaseBreadcrumbs.className}__separator`
|
|
4078
4853
|
}, '/') : null);
|
|
4079
4854
|
});
|
|
4080
|
-
return /*#__PURE__*/React__default.createElement(
|
|
4855
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
4856
|
+
value: {
|
|
4857
|
+
theme
|
|
4858
|
+
}
|
|
4859
|
+
}, /*#__PURE__*/React__default.createElement(StyledBreadcrumbs, _extends$1({}, forwardedProps, {
|
|
4081
4860
|
$isDisabled: isDisabled,
|
|
4861
|
+
$theme: theme,
|
|
4082
4862
|
className: classNames(BaseBreadcrumbs.className, className),
|
|
4083
4863
|
ref: ref
|
|
4084
|
-
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
|
|
4864
|
+
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems)));
|
|
4085
4865
|
});
|
|
4086
4866
|
BaseBreadcrumbs.className = CLASSNAME$A;
|
|
4087
4867
|
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$A;
|
|
@@ -4090,7 +4870,7 @@ const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
|
|
|
4090
4870
|
Item: BreadcrumbItem
|
|
4091
4871
|
});
|
|
4092
4872
|
|
|
4093
|
-
const _excluded$y = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "title"];
|
|
4873
|
+
const _excluded$y = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "theme", "title"];
|
|
4094
4874
|
const COMPONENT_NAME$z = 'AppBar';
|
|
4095
4875
|
const CLASSNAME$z = 'redsift-app-bar';
|
|
4096
4876
|
const DEFAULT_PROPS$z = {};
|
|
@@ -4107,6 +4887,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4107
4887
|
iconButtonProps,
|
|
4108
4888
|
iconButtonRef,
|
|
4109
4889
|
fallbackTitle,
|
|
4890
|
+
theme: propsTheme,
|
|
4110
4891
|
title: propsTitle
|
|
4111
4892
|
} = props,
|
|
4112
4893
|
forwardedProps = _objectWithoutProperties(props, _excluded$y);
|
|
@@ -4120,11 +4901,13 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4120
4901
|
isLoaded
|
|
4121
4902
|
} = useIsLoaded();
|
|
4122
4903
|
const appContainerState = useContext(AppContainerContext);
|
|
4904
|
+
const theme = useTheme(propsTheme);
|
|
4123
4905
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$4);
|
|
4124
4906
|
return /*#__PURE__*/React__default.createElement(StyledAppBar, _extends$1({}, forwardedProps, {
|
|
4125
4907
|
$hasBorder: scroll,
|
|
4126
4908
|
$isLoaded: isLoaded,
|
|
4127
4909
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
4910
|
+
$theme: theme,
|
|
4128
4911
|
className: classNames(AppBar.className, className),
|
|
4129
4912
|
ref: ref
|
|
4130
4913
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -4142,7 +4925,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4142
4925
|
icon: mdiMenuOpen,
|
|
4143
4926
|
onClick: appContainerState.collapseSidePanel,
|
|
4144
4927
|
ref: iconButtonRef,
|
|
4145
|
-
color:
|
|
4928
|
+
color: theme === Theme.dark ? 'light' : 'dark'
|
|
4146
4929
|
}))) : null, propsTitle && typeof propsTitle !== 'string' ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, propsTitle) : typeof propsTitle === 'string' ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
4147
4930
|
as: "h1"
|
|
4148
4931
|
}, propsTitle) : breadcrumbs ? /*#__PURE__*/React__default.createElement(Breadcrumbs, {
|
|
@@ -4202,7 +4985,7 @@ const StyledAppContent = styled.main`
|
|
|
4202
4985
|
}}
|
|
4203
4986
|
`;
|
|
4204
4987
|
|
|
4205
|
-
const _excluded$x = ["children", "className"];
|
|
4988
|
+
const _excluded$x = ["children", "className", "theme"];
|
|
4206
4989
|
const COMPONENT_NAME$y = 'AppContent';
|
|
4207
4990
|
const CLASSNAME$y = 'redsift-app-content';
|
|
4208
4991
|
const DEFAULT_PROPS$y = {};
|
|
@@ -4213,16 +4996,19 @@ const DEFAULT_PROPS$y = {};
|
|
|
4213
4996
|
const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
4214
4997
|
const {
|
|
4215
4998
|
children,
|
|
4216
|
-
className
|
|
4999
|
+
className,
|
|
5000
|
+
theme: propsTheme
|
|
4217
5001
|
} = props,
|
|
4218
5002
|
forwardedProps = _objectWithoutProperties(props, _excluded$x);
|
|
4219
5003
|
const {
|
|
4220
5004
|
isLoaded
|
|
4221
5005
|
} = useIsLoaded();
|
|
4222
5006
|
const appContainerState = useContext(AppContainerContext);
|
|
5007
|
+
const theme = useTheme(propsTheme);
|
|
4223
5008
|
return /*#__PURE__*/React__default.createElement(StyledAppContent, _extends$1({}, forwardedProps, {
|
|
4224
5009
|
$isLoaded: isLoaded,
|
|
4225
5010
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
5011
|
+
$theme: theme,
|
|
4226
5012
|
className: classNames(AppContent.className, className),
|
|
4227
5013
|
ref: ref
|
|
4228
5014
|
}), children);
|
|
@@ -4265,7 +5051,8 @@ const StyledButtonGroup = styled.div`
|
|
|
4265
5051
|
${_ref2 => {
|
|
4266
5052
|
let {
|
|
4267
5053
|
$color,
|
|
4268
|
-
$variant
|
|
5054
|
+
$variant,
|
|
5055
|
+
$theme
|
|
4269
5056
|
} = _ref2;
|
|
4270
5057
|
return css`
|
|
4271
5058
|
${$variant === ButtonGroupVariant.secondary ? css`
|
|
@@ -4294,7 +5081,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4294
5081
|
border-top-right-radius: 0;
|
|
4295
5082
|
border-bottom-right-radius: 0;
|
|
4296
5083
|
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4297
|
-
border-color: ${`var(
|
|
5084
|
+
border-color: ${`var(
|
|
5085
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-default
|
|
5086
|
+
)`};
|
|
4298
5087
|
}
|
|
4299
5088
|
|
|
4300
5089
|
.middle-button {
|
|
@@ -4303,7 +5092,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4303
5092
|
border-top-right-radius: 0;
|
|
4304
5093
|
border-bottom-right-radius: 0;
|
|
4305
5094
|
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4306
|
-
border-color: ${`var(
|
|
5095
|
+
border-color: ${`var(
|
|
5096
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-text-default
|
|
5097
|
+
)`};
|
|
4307
5098
|
}
|
|
4308
5099
|
|
|
4309
5100
|
.last-button {
|
|
@@ -4315,7 +5106,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4315
5106
|
border-top-right-radius: 0;
|
|
4316
5107
|
border-bottom-right-radius: 0;
|
|
4317
5108
|
border-right: 1px solid #bdbdbd;
|
|
4318
|
-
border-color: ${`var(
|
|
5109
|
+
border-color: ${`var(
|
|
5110
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-hover
|
|
5111
|
+
)`};
|
|
4319
5112
|
}
|
|
4320
5113
|
|
|
4321
5114
|
.middle-button {
|
|
@@ -4324,7 +5117,9 @@ const StyledButtonGroup = styled.div`
|
|
|
4324
5117
|
border-top-right-radius: 0;
|
|
4325
5118
|
border-bottom-right-radius: 0;
|
|
4326
5119
|
border-right: 1px solid #bdbdbd;
|
|
4327
|
-
border-color: ${`var(
|
|
5120
|
+
border-color: ${`var(
|
|
5121
|
+
--redsift-color-${$theme}-components-buttons-${$variant}-button-${$color}-background-hover
|
|
5122
|
+
)`};
|
|
4328
5123
|
}
|
|
4329
5124
|
|
|
4330
5125
|
.last-button {
|
|
@@ -4336,10 +5131,11 @@ const StyledButtonGroup = styled.div`
|
|
|
4336
5131
|
}};
|
|
4337
5132
|
`;
|
|
4338
5133
|
|
|
4339
|
-
const _excluded$w = ["children", "className", "color", "variant"];
|
|
5134
|
+
const _excluded$w = ["children", "className", "color", "theme", "variant"];
|
|
4340
5135
|
const COMPONENT_NAME$x = 'ButtonGroup';
|
|
4341
5136
|
const CLASSNAME$x = 'redsift-button-group';
|
|
4342
5137
|
const DEFAULT_PROPS$x = {
|
|
5138
|
+
color: 'primary',
|
|
4343
5139
|
variant: 'primary'
|
|
4344
5140
|
};
|
|
4345
5141
|
|
|
@@ -4351,9 +5147,11 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4351
5147
|
children,
|
|
4352
5148
|
className,
|
|
4353
5149
|
color,
|
|
5150
|
+
theme: propsTheme,
|
|
4354
5151
|
variant
|
|
4355
5152
|
} = props,
|
|
4356
5153
|
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
5154
|
+
const theme = useTheme(propsTheme);
|
|
4357
5155
|
|
|
4358
5156
|
/**
|
|
4359
5157
|
* Create an array containing only valid children being either Button, IconButton, ButtonLink or MenuButton.
|
|
@@ -4365,6 +5163,7 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4365
5163
|
var _child$key;
|
|
4366
5164
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4367
5165
|
color,
|
|
5166
|
+
theme,
|
|
4368
5167
|
variant,
|
|
4369
5168
|
key: (_child$key = child.key) !== null && _child$key !== void 0 ? _child$key : index,
|
|
4370
5169
|
triggerClassName: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
@@ -4372,6 +5171,7 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4372
5171
|
}
|
|
4373
5172
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4374
5173
|
color,
|
|
5174
|
+
theme,
|
|
4375
5175
|
variant,
|
|
4376
5176
|
key: (_key = child.key) !== null && _key !== void 0 ? _key : index,
|
|
4377
5177
|
className: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
@@ -4381,18 +5181,19 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4381
5181
|
className: classNames(ButtonGroup.className, className),
|
|
4382
5182
|
ref: ref,
|
|
4383
5183
|
$color: color,
|
|
4384
|
-
$variant: variant
|
|
5184
|
+
$variant: variant,
|
|
5185
|
+
$theme: theme
|
|
4385
5186
|
}), buttons);
|
|
4386
5187
|
});
|
|
4387
5188
|
ButtonGroup.className = CLASSNAME$x;
|
|
4388
5189
|
ButtonGroup.defaultProps = DEFAULT_PROPS$x;
|
|
4389
5190
|
ButtonGroup.displayName = COMPONENT_NAME$x;
|
|
4390
5191
|
|
|
4391
|
-
const _excluded$v = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
|
|
5192
|
+
const _excluded$v = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "theme", "variant"];
|
|
4392
5193
|
const COMPONENT_NAME$w = 'ButtonLink';
|
|
4393
5194
|
const CLASSNAME$w = 'redsift-button-link';
|
|
4394
5195
|
const DEFAULT_PROPS$w = {
|
|
4395
|
-
color:
|
|
5196
|
+
color: ButtonsColorPalette.primary,
|
|
4396
5197
|
height: 'fit-content',
|
|
4397
5198
|
variant: ButtonVariant.primary
|
|
4398
5199
|
};
|
|
@@ -4416,9 +5217,11 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4416
5217
|
leftIcon,
|
|
4417
5218
|
rightIcon,
|
|
4418
5219
|
target,
|
|
5220
|
+
theme: propsTheme,
|
|
4419
5221
|
variant
|
|
4420
5222
|
} = props,
|
|
4421
5223
|
forwardedProps = _objectWithoutProperties(props, _excluded$v);
|
|
5224
|
+
const theme = useTheme(propsTheme);
|
|
4422
5225
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
|
|
4423
5226
|
as: as || 'a',
|
|
4424
5227
|
role: "link",
|
|
@@ -4427,6 +5230,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4427
5230
|
$color: color,
|
|
4428
5231
|
$isActive: isActive,
|
|
4429
5232
|
$isDisabled: isDisabled,
|
|
5233
|
+
$theme: theme,
|
|
4430
5234
|
$variant: variant,
|
|
4431
5235
|
className: classNames(ButtonLink.className, className),
|
|
4432
5236
|
href: !isDisabled ? href : undefined,
|
|
@@ -4471,6 +5275,15 @@ var intlMessages$2 = {
|
|
|
4471
5275
|
const StyledCard = styled.div`
|
|
4472
5276
|
${baseStyling}
|
|
4473
5277
|
|
|
5278
|
+
${_ref => {
|
|
5279
|
+
let {
|
|
5280
|
+
$theme
|
|
5281
|
+
} = _ref;
|
|
5282
|
+
return css`
|
|
5283
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
5284
|
+
`;
|
|
5285
|
+
}}
|
|
5286
|
+
|
|
4474
5287
|
display: flex;
|
|
4475
5288
|
flex-direction: column;
|
|
4476
5289
|
|
|
@@ -4492,22 +5305,22 @@ const StyledCard = styled.div`
|
|
|
4492
5305
|
}
|
|
4493
5306
|
|
|
4494
5307
|
.redsift-card__content {
|
|
4495
|
-
visibility: ${
|
|
5308
|
+
visibility: ${_ref2 => {
|
|
4496
5309
|
let {
|
|
4497
5310
|
$isCollapsed
|
|
4498
|
-
} =
|
|
5311
|
+
} = _ref2;
|
|
4499
5312
|
return !$isCollapsed ? 'visible' : 'hidden';
|
|
4500
5313
|
}};
|
|
4501
|
-
overflow: ${
|
|
5314
|
+
overflow: ${_ref3 => {
|
|
4502
5315
|
let {
|
|
4503
5316
|
$isCollapsed
|
|
4504
|
-
} =
|
|
5317
|
+
} = _ref3;
|
|
4505
5318
|
return !$isCollapsed ? 'visible' : 'hidden';
|
|
4506
5319
|
}};
|
|
4507
|
-
height: ${
|
|
5320
|
+
height: ${_ref4 => {
|
|
4508
5321
|
let {
|
|
4509
5322
|
$isCollapsed
|
|
4510
|
-
} =
|
|
5323
|
+
} = _ref4;
|
|
4511
5324
|
return !$isCollapsed ? 'auto' : '0px';
|
|
4512
5325
|
}};
|
|
4513
5326
|
}
|
|
@@ -4523,8 +5336,6 @@ const StyledCardHeader = styled.div`
|
|
|
4523
5336
|
${baseStyling}
|
|
4524
5337
|
${baseFlexbox}
|
|
4525
5338
|
|
|
4526
|
-
color: var(--redsift-color-neutral-black);
|
|
4527
|
-
|
|
4528
5339
|
.redsift-card-header__header {
|
|
4529
5340
|
align-items: center;
|
|
4530
5341
|
display: flex;
|
|
@@ -4580,7 +5391,12 @@ const StyledSkeleton = styled.div`
|
|
|
4580
5391
|
${baseInternalSpacing}
|
|
4581
5392
|
|
|
4582
5393
|
display: block;
|
|
4583
|
-
background-color:
|
|
5394
|
+
background-color: ${_ref => {
|
|
5395
|
+
let {
|
|
5396
|
+
$theme
|
|
5397
|
+
} = _ref;
|
|
5398
|
+
return $theme === Theme.light ? css`rgba(0, 0, 0, 0.16)` : css`rgba(255, 255, 255, 0.16)`;
|
|
5399
|
+
}};
|
|
4584
5400
|
border-radius: 4px;
|
|
4585
5401
|
position: relative;
|
|
4586
5402
|
overflow: hidden;
|
|
@@ -4589,7 +5405,17 @@ const StyledSkeleton = styled.div`
|
|
|
4589
5405
|
&::after {
|
|
4590
5406
|
-webkit-animation: ${wave} 1.6s linear 0.5s infinite;
|
|
4591
5407
|
animation: ${wave} 1.6s linear 0.5s infinite;
|
|
4592
|
-
background: linear-gradient(
|
|
5408
|
+
background: linear-gradient(
|
|
5409
|
+
90deg,
|
|
5410
|
+
transparent,
|
|
5411
|
+
${_ref2 => {
|
|
5412
|
+
let {
|
|
5413
|
+
$theme
|
|
5414
|
+
} = _ref2;
|
|
5415
|
+
return $theme === Theme.light ? css`rgba(0, 0, 0, 0.04)` : css`rgba(255, 255, 255, 0.04)`;
|
|
5416
|
+
}},
|
|
5417
|
+
transparent
|
|
5418
|
+
);
|
|
4593
5419
|
background-clip: content-box;
|
|
4594
5420
|
content: '';
|
|
4595
5421
|
position: absolute;
|
|
@@ -4625,7 +5451,7 @@ const StyledSkeletonCircle = styled(StyledSkeleton)`
|
|
|
4625
5451
|
}}
|
|
4626
5452
|
`;
|
|
4627
5453
|
|
|
4628
|
-
const _excluded$u = ["children", "className", "isLoaded"];
|
|
5454
|
+
const _excluded$u = ["children", "className", "isLoaded", "theme"];
|
|
4629
5455
|
const COMPONENT_NAME$v = 'SkeletonCircle';
|
|
4630
5456
|
const CLASSNAME$v = 'redsift-skeleton-circle';
|
|
4631
5457
|
const DEFAULT_PROPS$v = {};
|
|
@@ -4637,13 +5463,16 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4637
5463
|
const {
|
|
4638
5464
|
children,
|
|
4639
5465
|
className,
|
|
4640
|
-
isLoaded
|
|
5466
|
+
isLoaded,
|
|
5467
|
+
theme: propsTheme
|
|
4641
5468
|
} = props,
|
|
4642
5469
|
forwardedProps = _objectWithoutProperties(props, _excluded$u);
|
|
5470
|
+
const theme = useTheme(propsTheme);
|
|
4643
5471
|
if (isLoaded) {
|
|
4644
5472
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4645
5473
|
}
|
|
4646
5474
|
return /*#__PURE__*/React__default.createElement(StyledSkeletonCircle, _extends$1({}, forwardedProps, {
|
|
5475
|
+
$theme: theme,
|
|
4647
5476
|
className: classNames(SkeletonCircle.className, className),
|
|
4648
5477
|
ref: ref
|
|
4649
5478
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
@@ -4704,7 +5533,7 @@ const StyledSkeletonText = styled(StyledSkeleton)`
|
|
|
4704
5533
|
}}}
|
|
4705
5534
|
`;
|
|
4706
5535
|
|
|
4707
|
-
const _excluded$t = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
|
|
5536
|
+
const _excluded$t = ["children", "className", "fontSize", "isLoaded", "lineHeight", "theme", "variant"];
|
|
4708
5537
|
const COMPONENT_NAME$u = 'SkeletonText';
|
|
4709
5538
|
const CLASSNAME$u = 'redsift-skeleton-text';
|
|
4710
5539
|
const DEFAULT_PROPS$u = {
|
|
@@ -4721,9 +5550,11 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4721
5550
|
fontSize,
|
|
4722
5551
|
isLoaded,
|
|
4723
5552
|
lineHeight,
|
|
5553
|
+
theme: propsTheme,
|
|
4724
5554
|
variant
|
|
4725
5555
|
} = props,
|
|
4726
5556
|
forwardedProps = _objectWithoutProperties(props, _excluded$t);
|
|
5557
|
+
const theme = useTheme(propsTheme);
|
|
4727
5558
|
if (isLoaded) {
|
|
4728
5559
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4729
5560
|
}
|
|
@@ -4732,6 +5563,7 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4732
5563
|
ref: ref,
|
|
4733
5564
|
$fontSize: fontSize,
|
|
4734
5565
|
$lineHeight: lineHeight,
|
|
5566
|
+
$theme: theme,
|
|
4735
5567
|
$variant: variant
|
|
4736
5568
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
4737
5569
|
});
|
|
@@ -4739,7 +5571,7 @@ SkeletonText.className = CLASSNAME$u;
|
|
|
4739
5571
|
SkeletonText.defaultProps = DEFAULT_PROPS$u;
|
|
4740
5572
|
SkeletonText.displayName = COMPONENT_NAME$u;
|
|
4741
5573
|
|
|
4742
|
-
const _excluded$s = ["children", "className", "isLoaded"];
|
|
5574
|
+
const _excluded$s = ["children", "className", "isLoaded", "theme"];
|
|
4743
5575
|
const COMPONENT_NAME$t = 'Skeleton';
|
|
4744
5576
|
const CLASSNAME$t = 'redsift-skeleton';
|
|
4745
5577
|
const DEFAULT_PROPS$t = {};
|
|
@@ -4751,13 +5583,16 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4751
5583
|
const {
|
|
4752
5584
|
children,
|
|
4753
5585
|
className,
|
|
4754
|
-
isLoaded
|
|
5586
|
+
isLoaded,
|
|
5587
|
+
theme: propsTheme
|
|
4755
5588
|
} = props,
|
|
4756
5589
|
forwardedProps = _objectWithoutProperties(props, _excluded$s);
|
|
5590
|
+
const theme = useTheme(propsTheme);
|
|
4757
5591
|
if (isLoaded) {
|
|
4758
5592
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4759
5593
|
}
|
|
4760
5594
|
return /*#__PURE__*/React__default.createElement(StyledSkeleton, _extends$1({}, forwardedProps, {
|
|
5595
|
+
$theme: theme,
|
|
4761
5596
|
className: classNames(BaseSkeleton.className, className),
|
|
4762
5597
|
ref: ref
|
|
4763
5598
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
@@ -4824,7 +5659,6 @@ CardHeader.displayName = COMPONENT_NAME$s;
|
|
|
4824
5659
|
const StyledCardBody = styled.div`
|
|
4825
5660
|
${baseContainer}
|
|
4826
5661
|
|
|
4827
|
-
color: var(--redsift-color-neutral-darkgrey);
|
|
4828
5662
|
font-family: var(--redsift-typography-body-font-family);
|
|
4829
5663
|
font-size: var(--redsift-typography-body-font-size);
|
|
4830
5664
|
font-weight: var(--redsift-typography-body-font-weight);
|
|
@@ -4891,7 +5725,7 @@ CardActions.className = CLASSNAME$q;
|
|
|
4891
5725
|
CardActions.defaultProps = DEFAULT_PROPS$q;
|
|
4892
5726
|
CardActions.displayName = COMPONENT_NAME$q;
|
|
4893
5727
|
|
|
4894
|
-
const _excluded$o = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
|
|
5728
|
+
const _excluded$o = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse", "theme"];
|
|
4895
5729
|
const COMPONENT_NAME$p = 'Card';
|
|
4896
5730
|
const CLASSNAME$p = 'redsift-card';
|
|
4897
5731
|
const DEFAULT_PROPS$p = {};
|
|
@@ -4906,9 +5740,11 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4906
5740
|
defaultCollapsed,
|
|
4907
5741
|
isCollapsed: propsIsCollapsed,
|
|
4908
5742
|
isCollapsible,
|
|
4909
|
-
onCollapse
|
|
5743
|
+
onCollapse,
|
|
5744
|
+
theme: propsTheme
|
|
4910
5745
|
} = props,
|
|
4911
5746
|
forwardedProps = _objectWithoutProperties(props, _excluded$o);
|
|
5747
|
+
const theme = useTheme(propsTheme);
|
|
4912
5748
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
|
|
4913
5749
|
const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
|
|
4914
5750
|
useEffect(() => {
|
|
@@ -4923,21 +5759,27 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4923
5759
|
}
|
|
4924
5760
|
}, [onCollapse]);
|
|
4925
5761
|
const [[header], [body], [actions]] = partitionComponents(React__default.Children.toArray(children), [isComponent('CardHeader'), isComponent('CardBody'), isComponent('CardActions')]);
|
|
4926
|
-
return /*#__PURE__*/React__default.createElement(
|
|
5762
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
5763
|
+
value: {
|
|
5764
|
+
theme
|
|
5765
|
+
}
|
|
5766
|
+
}, /*#__PURE__*/React__default.createElement(StyledCard, _extends$1({}, forwardedProps, {
|
|
4927
5767
|
className: classNames(BaseCard.className, className),
|
|
4928
5768
|
ref: ref,
|
|
4929
|
-
$isCollapsed: isCollapsed
|
|
5769
|
+
$isCollapsed: isCollapsed,
|
|
5770
|
+
$theme: theme
|
|
4930
5771
|
}), header || isCollapsible ? /*#__PURE__*/React__default.createElement("div", {
|
|
4931
5772
|
className: `${BaseCard.className}__header`
|
|
4932
|
-
}, header ? header : null, isCollapsible ? /*#__PURE__*/React__default.createElement(IconButton, {
|
|
5773
|
+
}, header && isComponent('CardHeader')(header) ? header : null, isCollapsible ? /*#__PURE__*/React__default.createElement(IconButton, {
|
|
5774
|
+
theme: theme,
|
|
4933
5775
|
"aria-label": stringFormatter.format(isCollapsed ? 'expand' : 'collapse'),
|
|
4934
5776
|
className: `${BaseCard.className}-header__icon-button`,
|
|
4935
|
-
color: "
|
|
5777
|
+
color: "grey",
|
|
4936
5778
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
4937
5779
|
onClick: () => handleCollapse(!isCollapsed)
|
|
4938
5780
|
}) : null) : null, body || actions ? /*#__PURE__*/React__default.createElement("div", {
|
|
4939
5781
|
className: `${BaseCard.className}__content`
|
|
4940
|
-
}, body, actions) : null);
|
|
5782
|
+
}, body && isComponent('CardBody')(body) ? body : null, actions && isComponent('CardActions')(actions) ? actions : null) : null));
|
|
4941
5783
|
});
|
|
4942
5784
|
BaseCard.className = CLASSNAME$p;
|
|
4943
5785
|
BaseCard.defaultProps = DEFAULT_PROPS$p;
|
|
@@ -4999,22 +5841,19 @@ const StyledCheckboxGroup = styled.div`
|
|
|
4999
5841
|
font-size: var(--redsift-typography-body-font-size);
|
|
5000
5842
|
line-height: var(--redsift-typography-body-line-height);
|
|
5001
5843
|
|
|
5002
|
-
|
|
5003
|
-
${_ref2 => {
|
|
5004
|
-
let {
|
|
5005
|
-
$isDisabled
|
|
5006
|
-
} = _ref2;
|
|
5007
|
-
return $isDisabled ? `
|
|
5008
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
5009
|
-
` : '';
|
|
5010
|
-
}}
|
|
5011
|
-
${_ref3 => {
|
|
5844
|
+
${_ref2 => {
|
|
5012
5845
|
let {
|
|
5013
|
-
$
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5846
|
+
$isDisabled,
|
|
5847
|
+
$isInvalid,
|
|
5848
|
+
$theme
|
|
5849
|
+
} = _ref2;
|
|
5850
|
+
return $isDisabled ? css`
|
|
5851
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5852
|
+
` : $isInvalid ? css`
|
|
5853
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5854
|
+
` : css`
|
|
5855
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5856
|
+
`;
|
|
5018
5857
|
}}
|
|
5019
5858
|
}
|
|
5020
5859
|
|
|
@@ -5024,31 +5863,28 @@ const StyledCheckboxGroup = styled.div`
|
|
|
5024
5863
|
font-size: var(--redsift-typography-helper-font-size);
|
|
5025
5864
|
line-height: var(--redsift-typography-helper-line-height);
|
|
5026
5865
|
|
|
5027
|
-
|
|
5028
|
-
${_ref4 => {
|
|
5029
|
-
let {
|
|
5030
|
-
$isDisabled
|
|
5031
|
-
} = _ref4;
|
|
5032
|
-
return $isDisabled ? `
|
|
5033
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
5034
|
-
` : '';
|
|
5035
|
-
}}
|
|
5036
|
-
${_ref5 => {
|
|
5866
|
+
${_ref3 => {
|
|
5037
5867
|
let {
|
|
5038
|
-
$
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5868
|
+
$isDisabled,
|
|
5869
|
+
$isInvalid,
|
|
5870
|
+
$theme
|
|
5871
|
+
} = _ref3;
|
|
5872
|
+
return $isDisabled ? css`
|
|
5873
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5874
|
+
` : $isInvalid ? css`
|
|
5875
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5876
|
+
` : css`
|
|
5877
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5878
|
+
`;
|
|
5043
5879
|
}}
|
|
5044
5880
|
}
|
|
5045
5881
|
`;
|
|
5046
5882
|
|
|
5047
|
-
const _excluded$n = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
5883
|
+
const _excluded$n = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
5048
5884
|
const COMPONENT_NAME$o = 'CheckboxGroup';
|
|
5049
5885
|
const CLASSNAME$o = 'redsift-checkbox-group';
|
|
5050
5886
|
const DEFAULT_PROPS$o = {
|
|
5051
|
-
color:
|
|
5887
|
+
color: ColorPalette.primary,
|
|
5052
5888
|
orientation: CheckboxGroupOrientation.vertical
|
|
5053
5889
|
};
|
|
5054
5890
|
|
|
@@ -5069,9 +5905,11 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5069
5905
|
label,
|
|
5070
5906
|
onChange,
|
|
5071
5907
|
orientation,
|
|
5908
|
+
theme: propsTheme,
|
|
5072
5909
|
value
|
|
5073
5910
|
} = props,
|
|
5074
5911
|
forwardedProps = _objectWithoutProperties(props, _excluded$n);
|
|
5912
|
+
const theme = useTheme(propsTheme);
|
|
5075
5913
|
const [selectedValues, setValue] = useState(value || defaultValues || []);
|
|
5076
5914
|
useEffect(() => {
|
|
5077
5915
|
if (value) {
|
|
@@ -5105,11 +5943,16 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5105
5943
|
}
|
|
5106
5944
|
}
|
|
5107
5945
|
};
|
|
5108
|
-
return /*#__PURE__*/React__default.createElement(
|
|
5946
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
5947
|
+
value: {
|
|
5948
|
+
theme
|
|
5949
|
+
}
|
|
5950
|
+
}, /*#__PURE__*/React__default.createElement(StyledCheckboxGroup, _extends$1({}, forwardedProps, {
|
|
5109
5951
|
$isDisabled: isDisabled,
|
|
5110
5952
|
$isInvalid: isInvalid || isRequired && selectedValues.length === 0,
|
|
5111
5953
|
$isReadOnly: isReadOnly,
|
|
5112
5954
|
$orientation: orientation,
|
|
5955
|
+
$theme: theme,
|
|
5113
5956
|
"aria-disabled": isDisabled,
|
|
5114
5957
|
className: classNames(CheckboxGroup.className, className),
|
|
5115
5958
|
ref: ref,
|
|
@@ -5122,7 +5965,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5122
5965
|
value: state
|
|
5123
5966
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
5124
5967
|
className: `${CheckboxGroup.className}-description`
|
|
5125
|
-
}, description));
|
|
5968
|
+
}, description)));
|
|
5126
5969
|
});
|
|
5127
5970
|
CheckboxGroup.className = CLASSNAME$o;
|
|
5128
5971
|
CheckboxGroup.defaultProps = DEFAULT_PROPS$o;
|
|
@@ -5156,14 +5999,15 @@ const StyledCheckbox = styled.label`
|
|
|
5156
5999
|
${_ref => {
|
|
5157
6000
|
let {
|
|
5158
6001
|
$isDisabled,
|
|
5159
|
-
$isInvalid
|
|
6002
|
+
$isInvalid,
|
|
6003
|
+
$theme
|
|
5160
6004
|
} = _ref;
|
|
5161
6005
|
return $isDisabled ? css`
|
|
5162
|
-
color: var(--redsift-color-
|
|
6006
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
5163
6007
|
` : $isInvalid ? css`
|
|
5164
|
-
color: var(--redsift-color-
|
|
6008
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
5165
6009
|
` : css`
|
|
5166
|
-
color: var(--redsift-color-
|
|
6010
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
5167
6011
|
`;
|
|
5168
6012
|
}}
|
|
5169
6013
|
|
|
@@ -5191,19 +6035,20 @@ const StyledCheckbox = styled.label`
|
|
|
5191
6035
|
$isColored,
|
|
5192
6036
|
$isDisabled,
|
|
5193
6037
|
$isInvalid,
|
|
5194
|
-
$isFocusVisible
|
|
6038
|
+
$isFocusVisible,
|
|
6039
|
+
$theme
|
|
5195
6040
|
} = _ref2;
|
|
5196
6041
|
return css`
|
|
5197
6042
|
${$isDisabled ? css`
|
|
5198
|
-
color: var(--redsift-color-
|
|
6043
|
+
color: var(--redsift-color-${$theme}-components-checkbox-fill-disabled);
|
|
5199
6044
|
` : $isInvalid ? css`
|
|
5200
|
-
color: var(--redsift-color-
|
|
6045
|
+
color: var(--redsift-color-${$theme}-components-checkbox-fill-invalid);
|
|
5201
6046
|
` : css`
|
|
5202
|
-
color: ${$isColored ?
|
|
6047
|
+
color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored)`};
|
|
5203
6048
|
`}
|
|
5204
6049
|
|
|
5205
6050
|
${$isFocusVisible && !$isDisabled ? css`
|
|
5206
|
-
background-color: ${$isColored ?
|
|
6051
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default-hover)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored-hover)`};
|
|
5207
6052
|
` : ''}
|
|
5208
6053
|
`;
|
|
5209
6054
|
}}
|
|
@@ -5216,11 +6061,17 @@ const StyledCheckbox = styled.label`
|
|
|
5216
6061
|
${_ref3 => {
|
|
5217
6062
|
let {
|
|
5218
6063
|
$isColored,
|
|
5219
|
-
$isDisabled
|
|
6064
|
+
$isDisabled,
|
|
6065
|
+
$isInvalid,
|
|
6066
|
+
$theme
|
|
5220
6067
|
} = _ref3;
|
|
5221
6068
|
return !$isDisabled ? css`
|
|
5222
6069
|
.redsift-icon {
|
|
5223
|
-
|
|
6070
|
+
${$isInvalid ? css`
|
|
6071
|
+
background-color: var(--redsift-color-${$theme}-components-checkbox-fill-invalid-hover);
|
|
6072
|
+
` : css`
|
|
6073
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-checkbox-fill-default-hover)` : `var(--redsift-color-${$theme}-components-checkbox-fill-uncolored-hover)`};
|
|
6074
|
+
`}
|
|
5224
6075
|
border-radius: 4px;
|
|
5225
6076
|
}
|
|
5226
6077
|
` : '';
|
|
@@ -5228,7 +6079,7 @@ const StyledCheckbox = styled.label`
|
|
|
5228
6079
|
}
|
|
5229
6080
|
`;
|
|
5230
6081
|
|
|
5231
|
-
const _excluded$m = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
6082
|
+
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
6083
|
const COMPONENT_NAME$n = 'Checkbox';
|
|
5233
6084
|
const CLASSNAME$n = 'redsift-checkbox';
|
|
5234
6085
|
const DEFAULT_PROPS$n = {
|
|
@@ -5261,9 +6112,11 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5261
6112
|
isSelected: propsIsSelected,
|
|
5262
6113
|
name,
|
|
5263
6114
|
onChange,
|
|
6115
|
+
theme: propsTheme,
|
|
5264
6116
|
value
|
|
5265
6117
|
} = props,
|
|
5266
6118
|
forwardedProps = _objectWithoutProperties(props, _excluded$m);
|
|
6119
|
+
const theme = useTheme(propsTheme);
|
|
5267
6120
|
const {
|
|
5268
6121
|
isFocusVisible,
|
|
5269
6122
|
focusProps
|
|
@@ -5282,7 +6135,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5282
6135
|
setSelected(groupState.value.includes(value));
|
|
5283
6136
|
}
|
|
5284
6137
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
5285
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
6138
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Checkbox');
|
|
5286
6139
|
if (groupState) {
|
|
5287
6140
|
if (propsIsSelected != null) {
|
|
5288
6141
|
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 +6172,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5319
6172
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
5320
6173
|
$isRequired: isRequired,
|
|
5321
6174
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
6175
|
+
$theme: theme,
|
|
5322
6176
|
className: classNames(Checkbox.className, className),
|
|
5323
6177
|
ref: ref
|
|
5324
6178
|
}), isSelected || isControlled && propsIsSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -5409,25 +6263,26 @@ const StyledShield = styled.div`
|
|
|
5409
6263
|
let {
|
|
5410
6264
|
$color,
|
|
5411
6265
|
$isOutlined,
|
|
5412
|
-
$isReversed
|
|
6266
|
+
$isReversed,
|
|
6267
|
+
$theme
|
|
5413
6268
|
} = _ref;
|
|
5414
6269
|
if ($isReversed && $isOutlined) {
|
|
5415
6270
|
return css`
|
|
5416
6271
|
& .shield {
|
|
5417
6272
|
fill: var(--redsift-color-notifications-${$color}-primary);
|
|
5418
|
-
stroke:
|
|
6273
|
+
stroke: var(--redsift-color-${$theme}-components-page-background);
|
|
5419
6274
|
stroke-width: 2;
|
|
5420
6275
|
}
|
|
5421
6276
|
& .icon {
|
|
5422
6277
|
fill-rule: evenodd;
|
|
5423
6278
|
clip-rule: evenodd;
|
|
5424
|
-
fill:
|
|
6279
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5425
6280
|
}
|
|
5426
6281
|
`;
|
|
5427
6282
|
} else if ($isOutlined) {
|
|
5428
6283
|
return css`
|
|
5429
6284
|
& .shield {
|
|
5430
|
-
fill:
|
|
6285
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5431
6286
|
stroke: var(--redsift-color-notifications-${$color}-primary);
|
|
5432
6287
|
stroke-width: 2;
|
|
5433
6288
|
}
|
|
@@ -5440,7 +6295,7 @@ const StyledShield = styled.div`
|
|
|
5440
6295
|
} else if ($isReversed) {
|
|
5441
6296
|
return css`
|
|
5442
6297
|
& .shield {
|
|
5443
|
-
fill:
|
|
6298
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5444
6299
|
}
|
|
5445
6300
|
& .icon {
|
|
5446
6301
|
fill-rule: evenodd;
|
|
@@ -5456,14 +6311,14 @@ const StyledShield = styled.div`
|
|
|
5456
6311
|
& .icon {
|
|
5457
6312
|
fill-rule: evenodd;
|
|
5458
6313
|
clip-rule: evenodd;
|
|
5459
|
-
fill:
|
|
6314
|
+
fill: var(--redsift-color-${$theme}-components-page-background);
|
|
5460
6315
|
}
|
|
5461
6316
|
`;
|
|
5462
6317
|
}
|
|
5463
6318
|
}}
|
|
5464
6319
|
`;
|
|
5465
6320
|
|
|
5466
|
-
const _excluded$l = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
|
|
6321
|
+
const _excluded$l = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "theme", "variant"];
|
|
5467
6322
|
const COMPONENT_NAME$m = 'Shield';
|
|
5468
6323
|
const CLASSNAME$m = 'redsift-shield';
|
|
5469
6324
|
const DEFAULT_PROPS$m = {
|
|
@@ -5550,9 +6405,11 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5550
6405
|
svgProps,
|
|
5551
6406
|
isOutlined,
|
|
5552
6407
|
isReversed,
|
|
6408
|
+
theme: propsTheme,
|
|
5553
6409
|
variant
|
|
5554
6410
|
} = props,
|
|
5555
6411
|
forwardedProps = _objectWithoutProperties(props, _excluded$l);
|
|
6412
|
+
const theme = useTheme(propsTheme);
|
|
5556
6413
|
const {
|
|
5557
6414
|
color,
|
|
5558
6415
|
icon
|
|
@@ -5565,6 +6422,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5565
6422
|
$color: color,
|
|
5566
6423
|
$isOutlined: isOutlined,
|
|
5567
6424
|
$isReversed: isReversed,
|
|
6425
|
+
$theme: theme,
|
|
5568
6426
|
$variant: variant
|
|
5569
6427
|
}), /*#__PURE__*/React__default.createElement("svg", _extends$1({
|
|
5570
6428
|
"aria-hidden": ariaLabel ? ariaHidden ? ariaHidden : undefined : true,
|
|
@@ -5620,14 +6478,14 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
|
|
|
5620
6478
|
return $hideBackground ? css`
|
|
5621
6479
|
background: none;
|
|
5622
6480
|
` : css`
|
|
5623
|
-
background-color: var(--redsift-color-neutral-
|
|
6481
|
+
background-color: var(--redsift-color-neutral-x-light-grey);
|
|
5624
6482
|
margin: 8px -16px;
|
|
5625
6483
|
padding: 8px 16px;
|
|
5626
6484
|
`;
|
|
5627
6485
|
}}
|
|
5628
6486
|
|
|
5629
6487
|
.redsift-detailed-card-collapsible-section-items__caption {
|
|
5630
|
-
color: var(--redsift-color-neutral-
|
|
6488
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5631
6489
|
display: flex;
|
|
5632
6490
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
5633
6491
|
font-size: 12px;
|
|
@@ -5636,7 +6494,7 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
|
|
|
5636
6494
|
line-height: 14px;
|
|
5637
6495
|
margin: 8px 0px;
|
|
5638
6496
|
padding-top: 8px;
|
|
5639
|
-
border-top: 1px solid var(--redsift-color-neutral-
|
|
6497
|
+
border-top: 1px solid var(--redsift-color-neutral-mid-grey);
|
|
5640
6498
|
}
|
|
5641
6499
|
`;
|
|
5642
6500
|
|
|
@@ -5679,10 +6537,12 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5679
6537
|
let {
|
|
5680
6538
|
$color
|
|
5681
6539
|
} = _ref;
|
|
5682
|
-
return $color &&
|
|
5683
|
-
border-bottom: 1px solid var(--redsift-color-${$color}-primary);
|
|
6540
|
+
return $color && Object.keys(NotificationsColorPalette).indexOf($color) !== -1 ? css`
|
|
6541
|
+
border-bottom: 1px solid var(--redsift-color-notifications-${$color}-primary);
|
|
6542
|
+
` : $color && Object.keys(ProductColorPalette).indexOf($color) !== -1 ? css`
|
|
6543
|
+
border-bottom: 1px solid var(--redsift-color-product-${$color});
|
|
5684
6544
|
` : css`
|
|
5685
|
-
border-bottom: 1px solid ${$color || css`var(--redsift-color-neutral-
|
|
6545
|
+
border-bottom: 1px solid ${$color || css`var(--redsift-color-neutral-mid-grey)`};
|
|
5686
6546
|
`;
|
|
5687
6547
|
}}
|
|
5688
6548
|
margin-bottom: 8px;
|
|
@@ -5696,7 +6556,7 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5696
6556
|
}
|
|
5697
6557
|
|
|
5698
6558
|
.redsift-detailed-card-section-header__collapse-button {
|
|
5699
|
-
color: var(--redsift-color-neutral-
|
|
6559
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5700
6560
|
}
|
|
5701
6561
|
|
|
5702
6562
|
.redsift-detailed-card-collapsible-section-items {
|
|
@@ -5795,7 +6655,7 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5795
6655
|
marginLeft: "auto",
|
|
5796
6656
|
"aria-label": stringFormatter.format(isCollapsed ? 'expand' : 'collapse'),
|
|
5797
6657
|
className: `${DetailedCardSection.className}-header__collapse-button`,
|
|
5798
|
-
color: "
|
|
6658
|
+
color: "grey",
|
|
5799
6659
|
icon: isCollapsed ? mdiChevronDown : mdiChevronUp,
|
|
5800
6660
|
onClick: () => {
|
|
5801
6661
|
setIsCollapsed(isCollapsed => !isCollapsed);
|
|
@@ -5812,19 +6672,36 @@ DetailedCardSection.displayName = COMPONENT_NAME$k;
|
|
|
5812
6672
|
const StyledDetailedCard = styled.div`
|
|
5813
6673
|
${baseStyling}
|
|
5814
6674
|
|
|
5815
|
-
|
|
6675
|
+
color: var(--redsift-color-neutral-${_ref => {
|
|
6676
|
+
let {
|
|
6677
|
+
$theme
|
|
6678
|
+
} = _ref;
|
|
6679
|
+
return $theme === Theme.light ? 'x-dark-grey' : 'white';
|
|
6680
|
+
}});
|
|
6681
|
+
background-color: var(--redsift-color-neutral-${_ref2 => {
|
|
6682
|
+
let {
|
|
6683
|
+
$theme
|
|
6684
|
+
} = _ref2;
|
|
6685
|
+
return $theme === Theme.light ? 'white' : 'x-dark-grey';
|
|
6686
|
+
}});
|
|
5816
6687
|
border-radius: 4px;
|
|
5817
|
-
box-shadow: 0px 1px 2px rgba(0, 0, 0,
|
|
6688
|
+
box-shadow: 0px 1px 2px rgba(0, 0, 0, ${_ref3 => {
|
|
6689
|
+
let {
|
|
6690
|
+
$theme
|
|
6691
|
+
} = _ref3;
|
|
6692
|
+
return $theme === Theme.light ? '0.5' : '1';
|
|
6693
|
+
}});
|
|
5818
6694
|
box-sizing: content-box;
|
|
5819
6695
|
padding: 16px;
|
|
5820
6696
|
|
|
5821
6697
|
.redsift-detailed-card__banner {
|
|
5822
|
-
background-color: ${
|
|
6698
|
+
background-color: ${_ref4 => {
|
|
5823
6699
|
let {
|
|
5824
6700
|
$color
|
|
5825
|
-
} =
|
|
6701
|
+
} = _ref4;
|
|
5826
6702
|
return css`var(--redsift-color-notifications-${$color}-primary)`;
|
|
5827
6703
|
}};
|
|
6704
|
+
color: var(--redsift-color-neutral-white);
|
|
5828
6705
|
}
|
|
5829
6706
|
|
|
5830
6707
|
.redsift-detailed-card__collapse-buttons {
|
|
@@ -5839,6 +6716,7 @@ const StyledDetailedCardHeader = styled.div`
|
|
|
5839
6716
|
margin: 8px 0;
|
|
5840
6717
|
|
|
5841
6718
|
.redsift-detailed-card-header__header {
|
|
6719
|
+
color: var(--redsift-color-neutral-x-dark-grey);
|
|
5842
6720
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
5843
6721
|
font-size: 32px;
|
|
5844
6722
|
font-weight: 500;
|
|
@@ -5910,7 +6788,7 @@ const pickTextColorBasedOnBgColorAdvanced = (bgColor, lightColor, darkColor) =>
|
|
|
5910
6788
|
return L > 0.179 ? darkColor : lightColor;
|
|
5911
6789
|
};
|
|
5912
6790
|
const nameToHex = color => {
|
|
5913
|
-
return [...Object.keys(PresentationColorPalette),
|
|
6791
|
+
return [...Object.keys(PresentationColorPalette), ...Object.keys(NeutralColorPalette), 'error', 'warning', 'success', 'error-dark', 'warning-dark', 'success-dark'].includes(color) ? {
|
|
5914
6792
|
green: RedsiftColorPresentationGreenLight,
|
|
5915
6793
|
pink: RedsiftColorPresentationPinkLight,
|
|
5916
6794
|
aqua: RedsiftColorPresentationAquaLight,
|
|
@@ -5922,8 +6800,12 @@ const nameToHex = color => {
|
|
|
5922
6800
|
blue: RedsiftColorPresentationBlueLight,
|
|
5923
6801
|
grey: RedsiftColorPresentationGreyLight,
|
|
5924
6802
|
white: RedsiftColorNeutralWhite,
|
|
6803
|
+
'x-light-grey': RedsiftColorNeutralXLightGrey,
|
|
6804
|
+
'light-grey': RedsiftColorNeutralLightGrey,
|
|
6805
|
+
'mid-grey': RedsiftColorNeutralMidGrey,
|
|
6806
|
+
'dark-grey': RedsiftColorNeutralDarkGrey,
|
|
6807
|
+
'x-dark-grey': RedsiftColorNeutralXDarkGrey,
|
|
5925
6808
|
black: RedsiftColorNeutralBlack,
|
|
5926
|
-
'no-data': RedsiftColorNeutralMidgrey,
|
|
5927
6809
|
error: RedsiftColorPresentationRedLighter,
|
|
5928
6810
|
warning: RedsiftColorPresentationOrangeLighter,
|
|
5929
6811
|
success: RedsiftColorPresentationGreenLighter,
|
|
@@ -5969,13 +6851,14 @@ const StyledPill = styled.div`
|
|
|
5969
6851
|
let {
|
|
5970
6852
|
$color,
|
|
5971
6853
|
$hoverColor,
|
|
5972
|
-
$size
|
|
6854
|
+
$size,
|
|
6855
|
+
$theme
|
|
5973
6856
|
} = _ref2;
|
|
5974
6857
|
return css`
|
|
5975
6858
|
${$color === 'black' ? 'background-color: var(--redsift-color-neutral-black);' : $color === 'white' ? css`
|
|
5976
6859
|
background-color: var(--redsift-color-neutral-white);
|
|
5977
6860
|
border: 1px solid #d6d6d6;
|
|
5978
|
-
` : $color === 'no-data' ? 'background-color: var(--redsift-color-neutral-
|
|
6861
|
+
` : $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
6862
|
|
|
5980
6863
|
&,
|
|
5981
6864
|
.redsift-icon {
|
|
@@ -5988,12 +6871,13 @@ const StyledPill = styled.div`
|
|
|
5988
6871
|
border: none;
|
|
5989
6872
|
border-radius: 0 2px 2px 0;
|
|
5990
6873
|
margin: -2px -8px -2px 2px;
|
|
5991
|
-
border-left: 1px solid
|
|
6874
|
+
border-left: 1px solid
|
|
6875
|
+
${$color === 'white' ? '#d6d6d6' : css`var(--redsift-color-neutral-${$theme === Theme.light ? 'white' : 'x-dark-grey'})`};
|
|
5992
6876
|
font-size: ${$size === PillSize.large ? css`15px` : css`14px`};
|
|
5993
6877
|
}
|
|
5994
6878
|
|
|
5995
6879
|
button:hover {
|
|
5996
|
-
${$color === 'black' ? 'background-color: var(--redsift-color-neutral-
|
|
6880
|
+
${$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
6881
|
background-color: ${$hoverColor};
|
|
5998
6882
|
}
|
|
5999
6883
|
`;
|
|
@@ -6033,7 +6917,7 @@ const StyledPill = styled.div`
|
|
|
6033
6917
|
}
|
|
6034
6918
|
`;
|
|
6035
6919
|
|
|
6036
|
-
const _excluded$h = ["autoBreak", "children", "className", "color", "hoverColor", "rightButton", "size"];
|
|
6920
|
+
const _excluded$h = ["autoBreak", "children", "className", "color", "hoverColor", "rightButton", "size", "theme"];
|
|
6037
6921
|
const COMPONENT_NAME$i = 'Pill';
|
|
6038
6922
|
const CLASSNAME$i = 'redsift-pill';
|
|
6039
6923
|
const DEFAULT_PROPS$i = {
|
|
@@ -6053,21 +6937,24 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6053
6937
|
color,
|
|
6054
6938
|
hoverColor,
|
|
6055
6939
|
rightButton,
|
|
6056
|
-
size
|
|
6940
|
+
size,
|
|
6941
|
+
theme: propsTheme
|
|
6057
6942
|
} = props,
|
|
6058
6943
|
forwardedProps = _objectWithoutProperties(props, _excluded$h);
|
|
6944
|
+
const theme = useTheme(propsTheme);
|
|
6059
6945
|
return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
|
|
6060
6946
|
$autoBreak: autoBreak,
|
|
6061
6947
|
$color: color,
|
|
6062
6948
|
$hoverColor: hoverColor,
|
|
6063
6949
|
$size: size,
|
|
6950
|
+
$theme: theme,
|
|
6064
6951
|
className: classNames(Pill.className, className),
|
|
6065
6952
|
ref: ref
|
|
6066
6953
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
6067
6954
|
className: `${Pill.className}-content`
|
|
6068
6955
|
}, children), rightButton ? /*#__PURE__*/React__default.createElement("button", _extends$1({
|
|
6069
6956
|
"aria-label": "Clear",
|
|
6070
|
-
color: "
|
|
6957
|
+
color: "grey"
|
|
6071
6958
|
}, rightButton, {
|
|
6072
6959
|
className: "right clear"
|
|
6073
6960
|
}), /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -9761,12 +10648,19 @@ const TooltipPlacement = {
|
|
|
9761
10648
|
*/
|
|
9762
10649
|
const StyledTooltipContent = styled.div`
|
|
9763
10650
|
${baseContainer}
|
|
10651
|
+
${_ref => {
|
|
10652
|
+
let {
|
|
10653
|
+
$theme
|
|
10654
|
+
} = _ref;
|
|
10655
|
+
return css`
|
|
10656
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
10657
|
+
background-color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'black' : 'white'});
|
|
10658
|
+
`;
|
|
10659
|
+
}}
|
|
9764
10660
|
|
|
9765
10661
|
align-items: center;
|
|
9766
|
-
background-color: var(--redsift-color-neutral-white);
|
|
9767
10662
|
border-radius: 4px;
|
|
9768
10663
|
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2);
|
|
9769
|
-
color: var(--redsift-color-neutral-black);
|
|
9770
10664
|
display: flex;
|
|
9771
10665
|
filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) drop-shadow(0px 1px 10px rgba(0, 0, 0, 0.12));
|
|
9772
10666
|
font-family: var(--redsift-typography-tooltip-font-family);
|
|
@@ -9781,14 +10675,45 @@ const StyledTooltipContent = styled.div`
|
|
|
9781
10675
|
position: absolute;
|
|
9782
10676
|
width: 0;
|
|
9783
10677
|
height: 0;
|
|
9784
|
-
border-color:
|
|
10678
|
+
border-color: ${_ref2 => {
|
|
10679
|
+
let {
|
|
10680
|
+
$theme
|
|
10681
|
+
} = _ref2;
|
|
10682
|
+
return $theme === Theme.dark ? css`var(--redsift-color-neutral-black)` : css`var(--redsift-color-neutral-white)`;
|
|
10683
|
+
}};
|
|
9785
10684
|
border-style: solid;
|
|
9786
10685
|
}
|
|
9787
10686
|
|
|
9788
|
-
${
|
|
10687
|
+
${_ref3 => {
|
|
9789
10688
|
let {
|
|
9790
10689
|
$placement
|
|
9791
|
-
} =
|
|
10690
|
+
} = _ref3;
|
|
10691
|
+
switch ($placement) {
|
|
10692
|
+
case TooltipPlacement['right-start']:
|
|
10693
|
+
return css`
|
|
10694
|
+
border-bottom-left-radius: 0;
|
|
10695
|
+
`;
|
|
10696
|
+
case TooltipPlacement['right-end']:
|
|
10697
|
+
return css`
|
|
10698
|
+
border-top-left-radius: 0;
|
|
10699
|
+
`;
|
|
10700
|
+
case TooltipPlacement['left-start']:
|
|
10701
|
+
return css`
|
|
10702
|
+
border-bottom-right-radius: 0;
|
|
10703
|
+
`;
|
|
10704
|
+
case TooltipPlacement['left-end']:
|
|
10705
|
+
return css`
|
|
10706
|
+
border-top-right-radius: 0;
|
|
10707
|
+
`;
|
|
10708
|
+
default:
|
|
10709
|
+
return css``;
|
|
10710
|
+
}
|
|
10711
|
+
}}
|
|
10712
|
+
|
|
10713
|
+
${_ref4 => {
|
|
10714
|
+
let {
|
|
10715
|
+
$placement
|
|
10716
|
+
} = _ref4;
|
|
9792
10717
|
switch ($placement) {
|
|
9793
10718
|
case TooltipPlacement.left:
|
|
9794
10719
|
case TooltipPlacement['left-end']:
|
|
@@ -9850,7 +10775,8 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9850
10775
|
const {
|
|
9851
10776
|
children,
|
|
9852
10777
|
className,
|
|
9853
|
-
style
|
|
10778
|
+
style,
|
|
10779
|
+
theme: propsTheme
|
|
9854
10780
|
} = props;
|
|
9855
10781
|
const {
|
|
9856
10782
|
getFloatingProps,
|
|
@@ -9867,6 +10793,7 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9867
10793
|
} = {}
|
|
9868
10794
|
}
|
|
9869
10795
|
} = useTooltipContext();
|
|
10796
|
+
const theme = useTheme ? useTheme(propsTheme) : undefined;
|
|
9870
10797
|
const popoverRef = useMergeRefs([refs.setFloating, ref]);
|
|
9871
10798
|
const {
|
|
9872
10799
|
arrowRef
|
|
@@ -9882,6 +10809,7 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9882
10809
|
}, isOpen && /*#__PURE__*/React__default.createElement(StyledTooltipContent, _extends$1({
|
|
9883
10810
|
className: classNames(TooltipContent.className, className),
|
|
9884
10811
|
ref: popoverRef,
|
|
10812
|
+
$theme: theme,
|
|
9885
10813
|
style: _objectSpread2({
|
|
9886
10814
|
position: strategy,
|
|
9887
10815
|
top: y !== null && y !== void 0 ? y : 0,
|
|
@@ -10021,20 +10949,27 @@ const BaseTooltip = props => {
|
|
|
10021
10949
|
isOpen,
|
|
10022
10950
|
onOpen,
|
|
10023
10951
|
placement,
|
|
10024
|
-
tooltipId
|
|
10952
|
+
tooltipId,
|
|
10953
|
+
theme: propsTheme
|
|
10025
10954
|
} = props;
|
|
10955
|
+
const theme = useTheme ? useTheme(propsTheme) : undefined;
|
|
10026
10956
|
const tooltip = useTooltip({
|
|
10027
10957
|
defaultOpen,
|
|
10028
10958
|
delay,
|
|
10029
10959
|
placement,
|
|
10030
10960
|
isOpen,
|
|
10031
10961
|
onOpen,
|
|
10032
|
-
tooltipId
|
|
10962
|
+
tooltipId,
|
|
10963
|
+
theme
|
|
10033
10964
|
});
|
|
10034
10965
|
const [[trigger], [content]] = partitionComponents(React__default.Children.toArray(children), [isComponent('TooltipTrigger'), isComponent('TooltipContent')]);
|
|
10035
|
-
return /*#__PURE__*/React__default.createElement(
|
|
10966
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
10967
|
+
value: {
|
|
10968
|
+
theme
|
|
10969
|
+
}
|
|
10970
|
+
}, /*#__PURE__*/React__default.createElement(TooltipContext.Provider, {
|
|
10036
10971
|
value: tooltip
|
|
10037
|
-
}, trigger, content);
|
|
10972
|
+
}, trigger && isComponent('TooltipTrigger')(trigger) ? trigger : null, content && isComponent('TooltipContent')(content) ? content : null));
|
|
10038
10973
|
};
|
|
10039
10974
|
BaseTooltip.className = CLASSNAME$e;
|
|
10040
10975
|
BaseTooltip.defaultProps = DEFAULT_PROPS$e;
|
|
@@ -10052,7 +10987,7 @@ const useTooltipContext = () => {
|
|
|
10052
10987
|
return context;
|
|
10053
10988
|
};
|
|
10054
10989
|
|
|
10055
|
-
const _excluded$f = ["areAllCollapsed", "bannerVariant", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
|
|
10990
|
+
const _excluded$f = ["areAllCollapsed", "bannerVariant", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield", "theme"];
|
|
10056
10991
|
const COMPONENT_NAME$d = 'DetailedCard';
|
|
10057
10992
|
const CLASSNAME$d = 'redsift-detailed-card';
|
|
10058
10993
|
const DEFAULT_PROPS$d = {
|
|
@@ -10093,9 +11028,11 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10093
11028
|
isCollapsible: propsIsCollapsible,
|
|
10094
11029
|
isLoading,
|
|
10095
11030
|
onCollapseAll,
|
|
10096
|
-
shield
|
|
11031
|
+
shield,
|
|
11032
|
+
theme: propsTheme
|
|
10097
11033
|
} = props,
|
|
10098
11034
|
forwardedProps = _objectWithoutProperties(props, _excluded$f);
|
|
11035
|
+
const theme = useTheme(propsTheme);
|
|
10099
11036
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
|
|
10100
11037
|
const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
|
|
10101
11038
|
const [allCollapsed, setAllCollapsed] = useState({
|
|
@@ -10117,11 +11054,17 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10117
11054
|
}
|
|
10118
11055
|
}, [onCollapseAll]);
|
|
10119
11056
|
const [[header], content] = partitionComponents(React__default.Children.toArray(children), [isComponent('DetailedCardHeader')]);
|
|
10120
|
-
return /*#__PURE__*/React__default.createElement(
|
|
11057
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
11058
|
+
value: {
|
|
11059
|
+
theme: Theme.light
|
|
11060
|
+
}
|
|
11061
|
+
}, /*#__PURE__*/React__default.createElement(StyledDetailedCard, _extends$1({}, forwardedProps, {
|
|
10121
11062
|
className: classNames(BaseDetailedCard.className, className),
|
|
10122
11063
|
ref: ref,
|
|
10123
|
-
$color: color
|
|
11064
|
+
$color: color,
|
|
11065
|
+
$theme: theme
|
|
10124
11066
|
}), color ? isLoading ? /*#__PURE__*/React__default.createElement(Skeleton, {
|
|
11067
|
+
theme: theme,
|
|
10125
11068
|
height: bannerVariant === 'condensed' ? '8px' : '80px',
|
|
10126
11069
|
width: "calc(100% + 32px)",
|
|
10127
11070
|
margin: "-16px -16px 16px -16px"
|
|
@@ -10148,7 +11091,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10148
11091
|
icon: icon,
|
|
10149
11092
|
color: "white",
|
|
10150
11093
|
size: "xlarge"
|
|
10151
|
-
}) : null) : null, header ? /*#__PURE__*/React__default.createElement("div", {
|
|
11094
|
+
}) : null) : null, header && isComponent('DetailedCardHeader')(header) ? /*#__PURE__*/React__default.createElement("div", {
|
|
10152
11095
|
className: `${BaseDetailedCard.className}__header`
|
|
10153
11096
|
}, header) : null, isCollapsible ? /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
10154
11097
|
justifyContent: "flex-end",
|
|
@@ -10161,7 +11104,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10161
11104
|
style: {
|
|
10162
11105
|
transform: 'rotate(-90deg)'
|
|
10163
11106
|
},
|
|
10164
|
-
color: "
|
|
11107
|
+
color: "grey"
|
|
10165
11108
|
})), /*#__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
11109
|
"aria-label": stringFormatter.format('expand-all'),
|
|
10167
11110
|
"aria-describedby": undefined,
|
|
@@ -10170,16 +11113,17 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10170
11113
|
style: {
|
|
10171
11114
|
transform: 'rotate(180deg)'
|
|
10172
11115
|
},
|
|
10173
|
-
color: "
|
|
11116
|
+
color: "grey"
|
|
10174
11117
|
})), /*#__PURE__*/React__default.createElement(Tooltip.Content, null, stringFormatter.format('expand-all')))) : null, React__default.Children.map(content, child => {
|
|
10175
11118
|
if (isComponent(DetailedCardSection)(child)) {
|
|
10176
11119
|
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
11120
|
+
theme,
|
|
10177
11121
|
isCollapsed: allCollapsed.state,
|
|
10178
11122
|
key: Math.random()
|
|
10179
11123
|
});
|
|
10180
11124
|
}
|
|
10181
11125
|
return child;
|
|
10182
|
-
}));
|
|
11126
|
+
})));
|
|
10183
11127
|
});
|
|
10184
11128
|
BaseDetailedCard.className = CLASSNAME$d;
|
|
10185
11129
|
BaseDetailedCard.defaultProps = DEFAULT_PROPS$d;
|
|
@@ -10950,7 +11894,7 @@ const StyledGrid = styled.div`
|
|
|
10950
11894
|
::before {
|
|
10951
11895
|
content: '';
|
|
10952
11896
|
position: absolute;
|
|
10953
|
-
background-color: var(--redsift-color-neutral-
|
|
11897
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
10954
11898
|
inline-size: 1px;
|
|
10955
11899
|
block-size: 100%;
|
|
10956
11900
|
inset-inline-start: calc(${Math.max(1, $divider.colGap / 2)}px * -1);
|
|
@@ -10959,7 +11903,7 @@ const StyledGrid = styled.div`
|
|
|
10959
11903
|
::after {
|
|
10960
11904
|
content: '';
|
|
10961
11905
|
position: absolute;
|
|
10962
|
-
background-color: var(--redsift-color-neutral-
|
|
11906
|
+
background-color: var(--redsift-color-neutral-light-grey);
|
|
10963
11907
|
inline-size: 200vw;
|
|
10964
11908
|
block-size: 1px;
|
|
10965
11909
|
inset-inline-start: -100vw;
|
|
@@ -11004,7 +11948,7 @@ GridItem.className = CLASSNAME$c;
|
|
|
11004
11948
|
GridItem.defaultProps = DEFAULT_PROPS$c;
|
|
11005
11949
|
GridItem.displayName = COMPONENT_NAME$c;
|
|
11006
11950
|
|
|
11007
|
-
const _excluded$d = ["children", "className", "divider", "gap"];
|
|
11951
|
+
const _excluded$d = ["children", "className", "divider", "gap", "theme"];
|
|
11008
11952
|
const COMPONENT_NAME$b = 'Grid';
|
|
11009
11953
|
const CLASSNAME$b = 'redsift-grid';
|
|
11010
11954
|
const DEFAULT_PROPS$b = {};
|
|
@@ -11017,15 +11961,22 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11017
11961
|
children,
|
|
11018
11962
|
className,
|
|
11019
11963
|
divider,
|
|
11020
|
-
gap
|
|
11964
|
+
gap,
|
|
11965
|
+
theme: propsTheme
|
|
11021
11966
|
} = props,
|
|
11022
11967
|
forwardedProps = _objectWithoutProperties(props, _excluded$d);
|
|
11023
|
-
|
|
11968
|
+
const theme = useTheme(propsTheme);
|
|
11969
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
11970
|
+
value: {
|
|
11971
|
+
theme
|
|
11972
|
+
}
|
|
11973
|
+
}, /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
|
|
11024
11974
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
11025
11975
|
className: classNames(BaseGrid.className, className),
|
|
11026
11976
|
ref: ref,
|
|
11027
|
-
$divider: divider
|
|
11028
|
-
|
|
11977
|
+
$divider: divider,
|
|
11978
|
+
$theme: theme
|
|
11979
|
+
}), children));
|
|
11029
11980
|
});
|
|
11030
11981
|
BaseGrid.className = CLASSNAME$b;
|
|
11031
11982
|
BaseGrid.defaultProps = DEFAULT_PROPS$b;
|
|
@@ -11057,10 +12008,11 @@ const StyledItem = styled.div`
|
|
|
11057
12008
|
$isSelected,
|
|
11058
12009
|
$isDisabled,
|
|
11059
12010
|
$isHovered,
|
|
11060
|
-
$isFocused
|
|
12011
|
+
$isFocused,
|
|
12012
|
+
$theme
|
|
11061
12013
|
} = _ref;
|
|
11062
12014
|
return css`
|
|
11063
|
-
background-color: ${($isActive || $isSelected) && ($isHovered || $isFocused) ?
|
|
12015
|
+
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
12016
|
`;
|
|
11065
12017
|
}}
|
|
11066
12018
|
|
|
@@ -11072,11 +12024,12 @@ const StyledItem = styled.div`
|
|
|
11072
12024
|
let {
|
|
11073
12025
|
$isActive,
|
|
11074
12026
|
$isSelected,
|
|
11075
|
-
$isDisabled
|
|
12027
|
+
$isDisabled,
|
|
12028
|
+
$theme
|
|
11076
12029
|
} = _ref2;
|
|
11077
12030
|
return css`
|
|
11078
12031
|
cursor: ${$isDisabled ? 'default' : 'pointer'};
|
|
11079
|
-
background-color: ${$isActive ?
|
|
12032
|
+
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
12033
|
`;
|
|
11081
12034
|
}};
|
|
11082
12035
|
}
|
|
@@ -11087,10 +12040,11 @@ const StyledItem = styled.div`
|
|
|
11087
12040
|
${_ref3 => {
|
|
11088
12041
|
let {
|
|
11089
12042
|
$isHovered,
|
|
11090
|
-
$isDisabled
|
|
12043
|
+
$isDisabled,
|
|
12044
|
+
$theme
|
|
11091
12045
|
} = _ref3;
|
|
11092
12046
|
return css`
|
|
11093
|
-
background-color: ${$isHovered ?
|
|
12047
|
+
background-color: ${$isHovered ? `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})` : $isDisabled ? 'none' : `var(--redsift-color-primary-${$theme === Theme.light ? 'l1' : 'd2'})`};
|
|
11094
12048
|
`;
|
|
11095
12049
|
}};
|
|
11096
12050
|
}
|
|
@@ -11252,8 +12206,8 @@ function useMenuItem(props) {
|
|
|
11252
12206
|
};
|
|
11253
12207
|
}
|
|
11254
12208
|
|
|
11255
|
-
const _excluded$c = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "value"],
|
|
11256
|
-
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "onClick"];
|
|
12209
|
+
const _excluded$c = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "theme", "value"],
|
|
12210
|
+
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "theme", "onClick"];
|
|
11257
12211
|
const COMPONENT_NAME$a = 'Item';
|
|
11258
12212
|
const CLASSNAME$a = 'redsift-item';
|
|
11259
12213
|
const DEFAULT_PROPS$a = {};
|
|
@@ -11267,6 +12221,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11267
12221
|
isDisabled: propsIsDisabled,
|
|
11268
12222
|
isHovered,
|
|
11269
12223
|
isSelected: propsIsSelected,
|
|
12224
|
+
theme: propsTheme,
|
|
11270
12225
|
value
|
|
11271
12226
|
} = props,
|
|
11272
12227
|
forwardedProps = _objectWithoutProperties(props, _excluded$c);
|
|
@@ -11287,6 +12242,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11287
12242
|
isDisabled: propsIsDisabled,
|
|
11288
12243
|
propsIsSelected: propsIsSelected !== null && propsIsSelected !== void 0 ? propsIsSelected : defaultSelected
|
|
11289
12244
|
});
|
|
12245
|
+
const theme = useTheme(propsTheme);
|
|
11290
12246
|
return /*#__PURE__*/React__default.createElement(StyledItem, _extends$1({
|
|
11291
12247
|
role: "option"
|
|
11292
12248
|
}, forwardedProps, {
|
|
@@ -11296,6 +12252,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11296
12252
|
$isFocused: isFocused,
|
|
11297
12253
|
$isHovered: isHovered,
|
|
11298
12254
|
$isSelected: isSelected,
|
|
12255
|
+
$theme: theme,
|
|
11299
12256
|
"aria-selected": isSelected,
|
|
11300
12257
|
className: classNames(Item.className, className),
|
|
11301
12258
|
onClick: handleClick,
|
|
@@ -11312,6 +12269,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11312
12269
|
isActive,
|
|
11313
12270
|
isDisabled: propsIsDisabled,
|
|
11314
12271
|
isHovered,
|
|
12272
|
+
theme: propsTheme,
|
|
11315
12273
|
onClick
|
|
11316
12274
|
} = props,
|
|
11317
12275
|
forwardedProps = _objectWithoutProperties(props, _excluded2);
|
|
@@ -11331,6 +12289,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11331
12289
|
isDisabled: propsIsDisabled,
|
|
11332
12290
|
onClick: onClick
|
|
11333
12291
|
});
|
|
12292
|
+
const theme = useTheme(propsTheme);
|
|
11334
12293
|
return /*#__PURE__*/React__default.createElement(StyledItem, _extends$1({
|
|
11335
12294
|
role: "option"
|
|
11336
12295
|
}, forwardedProps, {
|
|
@@ -11340,6 +12299,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11340
12299
|
$isFocused: isFocused,
|
|
11341
12300
|
$isHovered: isHovered,
|
|
11342
12301
|
$isSelected: false,
|
|
12302
|
+
$theme: theme,
|
|
11343
12303
|
className: classNames(Item.className, className),
|
|
11344
12304
|
onClick: handleClick,
|
|
11345
12305
|
ref: divRef,
|
|
@@ -11420,25 +12380,25 @@ const StyledLink = styled.a`
|
|
|
11420
12380
|
$isDisabled
|
|
11421
12381
|
} = _ref;
|
|
11422
12382
|
return !$isDisabled ? css`
|
|
11423
|
-
color: var(--redsift-color-
|
|
12383
|
+
color: var(--redsift-color-primary-n);
|
|
11424
12384
|
text-decoration: underline;
|
|
11425
|
-
text-decoration-color:
|
|
12385
|
+
text-decoration-color: transparent;
|
|
11426
12386
|
text-underline-offset: 2px;
|
|
11427
12387
|
|
|
11428
12388
|
&:hover,
|
|
11429
12389
|
&:focus-visible {
|
|
11430
12390
|
cursor: pointer !important;
|
|
11431
|
-
text-decoration-color: var(--redsift-color-
|
|
12391
|
+
text-decoration-color: var(--redsift-color-primary-n);
|
|
11432
12392
|
}
|
|
11433
12393
|
` : '';
|
|
11434
12394
|
}}
|
|
11435
12395
|
|
|
11436
12396
|
&:focus-visible {
|
|
11437
|
-
outline: 2px solid var(--redsift-color-
|
|
12397
|
+
outline: 2px solid var(--redsift-color-primary-n);
|
|
11438
12398
|
}
|
|
11439
12399
|
`;
|
|
11440
12400
|
|
|
11441
|
-
const _excluded$b = ["as", "children", "className", "href", "isDisabled"];
|
|
12401
|
+
const _excluded$b = ["as", "children", "className", "href", "isDisabled", "theme"];
|
|
11442
12402
|
const COMPONENT_NAME$9 = 'Link';
|
|
11443
12403
|
const CLASSNAME$9 = 'redsift-link';
|
|
11444
12404
|
const DEFAULT_PROPS$9 = {};
|
|
@@ -11457,9 +12417,11 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11457
12417
|
children,
|
|
11458
12418
|
className,
|
|
11459
12419
|
href,
|
|
11460
|
-
isDisabled
|
|
12420
|
+
isDisabled,
|
|
12421
|
+
theme: propsTheme
|
|
11461
12422
|
} = props,
|
|
11462
12423
|
forwardedProps = _objectWithoutProperties(props, _excluded$b);
|
|
12424
|
+
const theme = useTheme(propsTheme);
|
|
11463
12425
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11464
12426
|
as: as,
|
|
11465
12427
|
"aria-disabled": isDisabled,
|
|
@@ -11467,6 +12429,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11467
12429
|
tabIndex: !isDisabled ? 0 : undefined
|
|
11468
12430
|
}, forwardedProps, {
|
|
11469
12431
|
$isDisabled: isDisabled,
|
|
12432
|
+
$theme: theme,
|
|
11470
12433
|
className: classNames(Link.className, className),
|
|
11471
12434
|
href: !isDisabled ? href : undefined,
|
|
11472
12435
|
ref: ref
|
|
@@ -11476,7 +12439,7 @@ Link.className = CLASSNAME$9;
|
|
|
11476
12439
|
Link.defaultProps = DEFAULT_PROPS$9;
|
|
11477
12440
|
Link.displayName = COMPONENT_NAME$9;
|
|
11478
12441
|
|
|
11479
|
-
const _excluded$a = ["children", "className", "disabled", "isDisabled"];
|
|
12442
|
+
const _excluded$a = ["children", "className", "disabled", "isDisabled", "theme"];
|
|
11480
12443
|
const COMPONENT_NAME$8 = 'LinkButton';
|
|
11481
12444
|
const CLASSNAME$8 = 'redsift-link-button';
|
|
11482
12445
|
const DEFAULT_PROPS$8 = {};
|
|
@@ -11494,14 +12457,17 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11494
12457
|
children,
|
|
11495
12458
|
className,
|
|
11496
12459
|
disabled,
|
|
11497
|
-
isDisabled: propsIsDisabled
|
|
12460
|
+
isDisabled: propsIsDisabled,
|
|
12461
|
+
theme: propsTheme
|
|
11498
12462
|
} = props,
|
|
11499
12463
|
forwardedProps = _objectWithoutProperties(props, _excluded$a);
|
|
11500
12464
|
const isDisabled = propsIsDisabled || disabled;
|
|
12465
|
+
const theme = useTheme(propsTheme);
|
|
11501
12466
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11502
12467
|
as: "button"
|
|
11503
12468
|
}, forwardedProps, {
|
|
11504
12469
|
$isDisabled: isDisabled || disabled,
|
|
12470
|
+
$theme: theme,
|
|
11505
12471
|
"aria-disabled": isDisabled || disabled,
|
|
11506
12472
|
className: classNames(LinkButton.className, className),
|
|
11507
12473
|
disabled: isDisabled || disabled
|
|
@@ -11605,7 +12571,8 @@ const RovingTabindexListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11605
12571
|
/**
|
|
11606
12572
|
* Component style.
|
|
11607
12573
|
*/
|
|
11608
|
-
const StyledListbox = styled
|
|
12574
|
+
const StyledListbox = styled.div`
|
|
12575
|
+
${baseContainer}
|
|
11609
12576
|
outline: none;
|
|
11610
12577
|
|
|
11611
12578
|
${_ref => {
|
|
@@ -11623,15 +12590,15 @@ const StyledListbox = styled(Flexbox)`
|
|
|
11623
12590
|
|
|
11624
12591
|
color: var(--redsift-color-neutral-black);
|
|
11625
12592
|
${$isDisabled ? `
|
|
11626
|
-
color: var(--redsift-color-neutral-
|
|
12593
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
11627
12594
|
` : ''}
|
|
11628
12595
|
${$isInvalid ? `
|
|
11629
|
-
color: var(--redsift-color-
|
|
12596
|
+
color: var(--redsift-color-red-n);
|
|
11630
12597
|
` : ''}
|
|
11631
12598
|
}
|
|
11632
12599
|
|
|
11633
12600
|
.redsift-listbox-list {
|
|
11634
|
-
border: 1px solid var(--redsift-color-neutral-
|
|
12601
|
+
border: 1px solid var(--redsift-color-neutral-mid-grey);
|
|
11635
12602
|
padding: 4px;
|
|
11636
12603
|
min-width: 200px;
|
|
11637
12604
|
}
|
|
@@ -11786,7 +12753,7 @@ const StyledNumber = styled(StyledText)`
|
|
|
11786
12753
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
11787
12754
|
`;
|
|
11788
12755
|
|
|
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"];
|
|
12756
|
+
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
12757
|
const COMPONENT_NAME$6 = 'Number';
|
|
11791
12758
|
const CLASSNAME$6 = 'redsift-number';
|
|
11792
12759
|
const DEFAULT_PROPS$6 = {
|
|
@@ -11836,6 +12803,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11836
12803
|
unit,
|
|
11837
12804
|
unitDisplay,
|
|
11838
12805
|
useGrouping,
|
|
12806
|
+
theme: propsTheme,
|
|
11839
12807
|
value,
|
|
11840
12808
|
variant
|
|
11841
12809
|
} = props,
|
|
@@ -11873,6 +12841,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11873
12841
|
unitDisplay,
|
|
11874
12842
|
useGrouping
|
|
11875
12843
|
}));
|
|
12844
|
+
const theme = useTheme(propsTheme);
|
|
11876
12845
|
return /*#__PURE__*/React__default.createElement(StyledNumber, _extends$1({
|
|
11877
12846
|
as: as
|
|
11878
12847
|
}, forwardedProps, {
|
|
@@ -11884,6 +12853,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11884
12853
|
$fontSize: fontSize,
|
|
11885
12854
|
$fontWeight: fontWeight,
|
|
11886
12855
|
$noWrap: noWrap,
|
|
12856
|
+
$theme: theme,
|
|
11887
12857
|
$variant: variant
|
|
11888
12858
|
}), formatter.format(value));
|
|
11889
12859
|
});
|
|
@@ -11895,7 +12865,7 @@ Number$1.displayName = COMPONENT_NAME$6;
|
|
|
11895
12865
|
* Component style.
|
|
11896
12866
|
*/
|
|
11897
12867
|
const StyledProgressBar = styled.progress`
|
|
11898
|
-
|
|
12868
|
+
${_ref => {
|
|
11899
12869
|
let {
|
|
11900
12870
|
backgroundColor,
|
|
11901
12871
|
height,
|
|
@@ -11903,29 +12873,29 @@ const StyledProgressBar = styled.progress`
|
|
|
11903
12873
|
width
|
|
11904
12874
|
} = _ref;
|
|
11905
12875
|
return css`
|
|
12876
|
+
&[value] {
|
|
12877
|
+
// Target only state with a value
|
|
12878
|
+
-webkit-appearance: none;
|
|
12879
|
+
appearance: none;
|
|
12880
|
+
height: ${height || '8px'};
|
|
12881
|
+
width: ${width || '100%'};
|
|
12882
|
+
color: var(--redsift-color-presentation-red-default);
|
|
11906
12883
|
|
|
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
|
-
}
|
|
12884
|
+
&::-webkit-progress-bar {
|
|
12885
|
+
background-color: ${backgroundColor || 'var(--redsift-color-neutral-x-light-grey)'};
|
|
12886
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
12887
|
+
}
|
|
11918
12888
|
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
12889
|
+
&::-webkit-progress-value {
|
|
12890
|
+
background-color: ${progressColor || 'var(--redsift-color-primary-n)'};
|
|
12891
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
12892
|
+
}
|
|
12893
|
+
}
|
|
12894
|
+
`;
|
|
11925
12895
|
}}
|
|
11926
12896
|
`;
|
|
11927
12897
|
|
|
11928
|
-
const _excluded$5 = ["className", "value"];
|
|
12898
|
+
const _excluded$5 = ["className", "theme", "value"];
|
|
11929
12899
|
const COMPONENT_NAME$5 = 'ProgressBar';
|
|
11930
12900
|
const CLASSNAME$5 = 'redsift-progress-bar';
|
|
11931
12901
|
const DEFAULT_PROPS$5 = {};
|
|
@@ -11936,15 +12906,18 @@ const DEFAULT_PROPS$5 = {};
|
|
|
11936
12906
|
const ProgressBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11937
12907
|
const {
|
|
11938
12908
|
className,
|
|
12909
|
+
theme: propsTheme,
|
|
11939
12910
|
value
|
|
11940
12911
|
} = props,
|
|
11941
12912
|
forwardedProps = _objectWithoutProperties(props, _excluded$5);
|
|
12913
|
+
const theme = useTheme(propsTheme);
|
|
11942
12914
|
return /*#__PURE__*/React__default.createElement(StyledProgressBar, _extends$1({}, forwardedProps, {
|
|
11943
12915
|
className: classNames(ProgressBar.className, className),
|
|
11944
12916
|
ref: ref,
|
|
11945
12917
|
variant: "determinate",
|
|
11946
12918
|
max: "100",
|
|
11947
|
-
value: value || 0
|
|
12919
|
+
value: value || 0,
|
|
12920
|
+
theme: theme
|
|
11948
12921
|
}));
|
|
11949
12922
|
});
|
|
11950
12923
|
ProgressBar.className = CLASSNAME$5;
|
|
@@ -12002,22 +12975,19 @@ const StyledRadioGroup = styled.div`
|
|
|
12002
12975
|
font-size: var(--redsift-typography-body-font-size);
|
|
12003
12976
|
line-height: var(--redsift-typography-body-line-height);
|
|
12004
12977
|
|
|
12005
|
-
color: var(--redsift-color-neutral-black);
|
|
12006
12978
|
${_ref2 => {
|
|
12007
12979
|
let {
|
|
12008
|
-
$isDisabled
|
|
12980
|
+
$isDisabled,
|
|
12981
|
+
$isInvalid,
|
|
12982
|
+
$theme
|
|
12009
12983
|
} = _ref2;
|
|
12010
|
-
return $isDisabled ? `
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
}
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
} = _ref3;
|
|
12018
|
-
return $isInvalid ? `
|
|
12019
|
-
color: var(--redsift-color-notifications-error-primary);
|
|
12020
|
-
` : '';
|
|
12984
|
+
return $isDisabled ? css`
|
|
12985
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
12986
|
+
` : $isInvalid ? css`
|
|
12987
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
12988
|
+
` : css`
|
|
12989
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
12990
|
+
`;
|
|
12021
12991
|
}}
|
|
12022
12992
|
}
|
|
12023
12993
|
|
|
@@ -12027,31 +12997,28 @@ const StyledRadioGroup = styled.div`
|
|
|
12027
12997
|
font-size: var(--redsift-typography-helper-font-size);
|
|
12028
12998
|
line-height: var(--redsift-typography-helper-line-height);
|
|
12029
12999
|
|
|
12030
|
-
|
|
12031
|
-
${_ref4 => {
|
|
12032
|
-
let {
|
|
12033
|
-
$isDisabled
|
|
12034
|
-
} = _ref4;
|
|
12035
|
-
return $isDisabled ? `
|
|
12036
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
12037
|
-
` : '';
|
|
12038
|
-
}}
|
|
12039
|
-
${_ref5 => {
|
|
13000
|
+
${_ref3 => {
|
|
12040
13001
|
let {
|
|
12041
|
-
$
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
13002
|
+
$isDisabled,
|
|
13003
|
+
$isInvalid,
|
|
13004
|
+
$theme
|
|
13005
|
+
} = _ref3;
|
|
13006
|
+
return $isDisabled ? css`
|
|
13007
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
13008
|
+
` : $isInvalid ? css`
|
|
13009
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
13010
|
+
` : css`
|
|
13011
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
13012
|
+
`;
|
|
12046
13013
|
}}
|
|
12047
13014
|
}
|
|
12048
13015
|
`;
|
|
12049
13016
|
|
|
12050
|
-
const _excluded$4 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
13017
|
+
const _excluded$4 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
12051
13018
|
const COMPONENT_NAME$4 = 'RadioGroup';
|
|
12052
13019
|
const CLASSNAME$4 = 'redsift-radio-group';
|
|
12053
13020
|
const DEFAULT_PROPS$4 = {
|
|
12054
|
-
color:
|
|
13021
|
+
color: ColorPalette.primary,
|
|
12055
13022
|
orientation: RadioGroupOrientation.vertical
|
|
12056
13023
|
};
|
|
12057
13024
|
|
|
@@ -12072,9 +13039,11 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12072
13039
|
label,
|
|
12073
13040
|
onChange,
|
|
12074
13041
|
orientation,
|
|
13042
|
+
theme: propsTheme,
|
|
12075
13043
|
value
|
|
12076
13044
|
} = props,
|
|
12077
13045
|
forwardedProps = _objectWithoutProperties(props, _excluded$4);
|
|
13046
|
+
const theme = useTheme(propsTheme);
|
|
12078
13047
|
const [selectedValue, setValue] = useState(value || defaultValue || '');
|
|
12079
13048
|
useEffect(() => {
|
|
12080
13049
|
if (value) {
|
|
@@ -12096,11 +13065,16 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12096
13065
|
}
|
|
12097
13066
|
}
|
|
12098
13067
|
};
|
|
12099
|
-
return /*#__PURE__*/React__default.createElement(
|
|
13068
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
13069
|
+
value: {
|
|
13070
|
+
theme
|
|
13071
|
+
}
|
|
13072
|
+
}, /*#__PURE__*/React__default.createElement(StyledRadioGroup, _extends$1({}, forwardedProps, {
|
|
12100
13073
|
$isDisabled: isDisabled,
|
|
12101
13074
|
$isInvalid: isInvalid || isRequired && selectedValue.length === 0,
|
|
12102
13075
|
$isReadOnly: isReadOnly,
|
|
12103
13076
|
$orientation: orientation,
|
|
13077
|
+
$theme: theme,
|
|
12104
13078
|
"aria-disabled": isDisabled,
|
|
12105
13079
|
className: classNames(RadioGroup.className, className),
|
|
12106
13080
|
ref: ref,
|
|
@@ -12113,7 +13087,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12113
13087
|
value: state
|
|
12114
13088
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
12115
13089
|
className: `${RadioGroup.className}-description`
|
|
12116
|
-
}, description));
|
|
13090
|
+
}, description)));
|
|
12117
13091
|
});
|
|
12118
13092
|
RadioGroup.className = CLASSNAME$4;
|
|
12119
13093
|
RadioGroup.defaultProps = DEFAULT_PROPS$4;
|
|
@@ -12147,14 +13121,15 @@ const StyledRadio = styled.label`
|
|
|
12147
13121
|
${_ref => {
|
|
12148
13122
|
let {
|
|
12149
13123
|
$isDisabled,
|
|
12150
|
-
$isInvalid
|
|
13124
|
+
$isInvalid,
|
|
13125
|
+
$theme
|
|
12151
13126
|
} = _ref;
|
|
12152
13127
|
return $isDisabled ? css`
|
|
12153
|
-
color: var(--redsift-color-
|
|
13128
|
+
color: var(--redsift-color-${$theme}-components-radio-text-disabled);
|
|
12154
13129
|
` : $isInvalid ? css`
|
|
12155
|
-
color: var(--redsift-color-
|
|
13130
|
+
color: var(--redsift-color-${$theme}-components-radio-text-invalid);
|
|
12156
13131
|
` : css`
|
|
12157
|
-
color: var(--redsift-color-
|
|
13132
|
+
color: var(--redsift-color-${$theme}-components-radio-text-default);
|
|
12158
13133
|
`;
|
|
12159
13134
|
}}
|
|
12160
13135
|
|
|
@@ -12181,19 +13156,20 @@ const StyledRadio = styled.label`
|
|
|
12181
13156
|
$isColored,
|
|
12182
13157
|
$isDisabled,
|
|
12183
13158
|
$isInvalid,
|
|
12184
|
-
$isFocusVisible
|
|
13159
|
+
$isFocusVisible,
|
|
13160
|
+
$theme
|
|
12185
13161
|
} = _ref2;
|
|
12186
13162
|
return css`
|
|
12187
13163
|
${$isDisabled ? css`
|
|
12188
|
-
color: var(--redsift-color-
|
|
13164
|
+
color: var(--redsift-color-${$theme}-components-radio-fill-disabled);
|
|
12189
13165
|
` : $isInvalid ? css`
|
|
12190
|
-
color: var(--redsift-color-
|
|
13166
|
+
color: var(--redsift-color-${$theme}-components-radio-fill-invalid);
|
|
12191
13167
|
` : css`
|
|
12192
|
-
color: ${$isColored ?
|
|
13168
|
+
color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored)`};
|
|
12193
13169
|
`}
|
|
12194
13170
|
|
|
12195
13171
|
${$isFocusVisible && !$isDisabled ? css`
|
|
12196
|
-
background-color: ${$isColored ?
|
|
13172
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default-hover)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored-hover)`};
|
|
12197
13173
|
border-radius: 16px;
|
|
12198
13174
|
` : ''}
|
|
12199
13175
|
`;
|
|
@@ -12207,11 +13183,17 @@ const StyledRadio = styled.label`
|
|
|
12207
13183
|
${_ref3 => {
|
|
12208
13184
|
let {
|
|
12209
13185
|
$isColored,
|
|
12210
|
-
$isDisabled
|
|
13186
|
+
$isDisabled,
|
|
13187
|
+
$isInvalid,
|
|
13188
|
+
$theme
|
|
12211
13189
|
} = _ref3;
|
|
12212
13190
|
return !$isDisabled ? css`
|
|
12213
13191
|
.redsift-icon {
|
|
12214
|
-
|
|
13192
|
+
${$isInvalid ? css`
|
|
13193
|
+
background-color: var(--redsift-color-${$theme}-components-radio-fill-invalid-hover);
|
|
13194
|
+
` : css`
|
|
13195
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-radio-fill-default-hover)` : `var(--redsift-color-${$theme}-components-radio-fill-uncolored-hover)`};
|
|
13196
|
+
`}
|
|
12215
13197
|
border-radius: 16px;
|
|
12216
13198
|
}
|
|
12217
13199
|
` : '';
|
|
@@ -12219,7 +13201,7 @@ const StyledRadio = styled.label`
|
|
|
12219
13201
|
}
|
|
12220
13202
|
`;
|
|
12221
13203
|
|
|
12222
|
-
const _excluded$3 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
13204
|
+
const _excluded$3 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "theme", "value"];
|
|
12223
13205
|
const COMPONENT_NAME$3 = 'Radio';
|
|
12224
13206
|
const CLASSNAME$3 = 'redsift-radio';
|
|
12225
13207
|
const DEFAULT_PROPS$3 = {
|
|
@@ -12251,9 +13233,11 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12251
13233
|
isSelected: propsIsSelected,
|
|
12252
13234
|
name,
|
|
12253
13235
|
onChange,
|
|
13236
|
+
theme: propsTheme,
|
|
12254
13237
|
value
|
|
12255
13238
|
} = props,
|
|
12256
13239
|
forwardedProps = _objectWithoutProperties(props, _excluded$3);
|
|
13240
|
+
const theme = useTheme(propsTheme);
|
|
12257
13241
|
const {
|
|
12258
13242
|
isFocusVisible,
|
|
12259
13243
|
focusProps
|
|
@@ -12272,7 +13256,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12272
13256
|
setSelected(groupState.value === value);
|
|
12273
13257
|
}
|
|
12274
13258
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
12275
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
13259
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Radio');
|
|
12276
13260
|
if (groupState) {
|
|
12277
13261
|
if (propsIsSelected != null) {
|
|
12278
13262
|
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 +13289,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12305
13289
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
12306
13290
|
$isRequired: isRequired,
|
|
12307
13291
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
13292
|
+
$theme: theme,
|
|
12308
13293
|
className: classNames(Radio.className, className),
|
|
12309
13294
|
ref: ref
|
|
12310
13295
|
}), isSelected || isControlled && propsIsSelected ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
@@ -12366,14 +13351,15 @@ const StyledSwitch = styled.label`
|
|
|
12366
13351
|
${_ref => {
|
|
12367
13352
|
let {
|
|
12368
13353
|
$isDisabled,
|
|
12369
|
-
$isInvalid
|
|
13354
|
+
$isInvalid,
|
|
13355
|
+
$theme
|
|
12370
13356
|
} = _ref;
|
|
12371
13357
|
return $isDisabled ? css`
|
|
12372
|
-
color: var(--redsift-color-
|
|
13358
|
+
color: var(--redsift-color-${$theme}-components-switch-text-disabled);
|
|
12373
13359
|
` : $isInvalid ? css`
|
|
12374
|
-
color: var(--redsift-color-
|
|
13360
|
+
color: var(--redsift-color-${$theme}-components-switch-text-invalid);
|
|
12375
13361
|
` : css`
|
|
12376
|
-
color: var(--redsift-color-
|
|
13362
|
+
color: var(--redsift-color-${$theme}-components-switch-text-default);
|
|
12377
13363
|
`;
|
|
12378
13364
|
}}
|
|
12379
13365
|
|
|
@@ -12392,7 +13378,26 @@ const StyledSwitch = styled.label`
|
|
|
12392
13378
|
}
|
|
12393
13379
|
|
|
12394
13380
|
.redsift-switch-slide__inner {
|
|
12395
|
-
|
|
13381
|
+
${_ref2 => {
|
|
13382
|
+
let {
|
|
13383
|
+
$isColored,
|
|
13384
|
+
$isDisabled,
|
|
13385
|
+
$isInvalid,
|
|
13386
|
+
$isSelected,
|
|
13387
|
+
$theme
|
|
13388
|
+
} = _ref2;
|
|
13389
|
+
return $isDisabled ? css`
|
|
13390
|
+
background-color: var(
|
|
13391
|
+
--redsift-color-${$theme}-components-switch-background-disabled${$isSelected ? '-active' : ''}
|
|
13392
|
+
);
|
|
13393
|
+
` : $isInvalid ? css`
|
|
13394
|
+
background-color: var(
|
|
13395
|
+
--redsift-color-${$theme}-components-switch-background-invalid${$isSelected ? '-active' : ''}
|
|
13396
|
+
);
|
|
13397
|
+
` : css`
|
|
13398
|
+
background-color: ${$isColored ? `var(--redsift-color-${$theme}-components-switch-background-default${$isSelected ? '-active' : ''})` : `var(--redsift-color-${$theme}-components-switch-background-uncolored${$isSelected ? '-active' : ''})`};
|
|
13399
|
+
`;
|
|
13400
|
+
}}
|
|
12396
13401
|
border-radius: 20px;
|
|
12397
13402
|
height: 24px;
|
|
12398
13403
|
position: absolute;
|
|
@@ -12404,10 +13409,10 @@ const StyledSwitch = styled.label`
|
|
|
12404
13409
|
.redsift-switch-slide__knob-wrapper {
|
|
12405
13410
|
border-radius: 50%;
|
|
12406
13411
|
height: 20px;
|
|
12407
|
-
margin-inline-start: ${
|
|
13412
|
+
margin-inline-start: ${_ref3 => {
|
|
12408
13413
|
let {
|
|
12409
13414
|
$isSelected
|
|
12410
|
-
} =
|
|
13415
|
+
} = _ref3;
|
|
12411
13416
|
return !$isSelected ? '2px' : '24px';
|
|
12412
13417
|
}};
|
|
12413
13418
|
position: absolute;
|
|
@@ -12416,23 +13421,27 @@ const StyledSwitch = styled.label`
|
|
|
12416
13421
|
}
|
|
12417
13422
|
|
|
12418
13423
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12419
|
-
${
|
|
13424
|
+
${_ref4 => {
|
|
12420
13425
|
let {
|
|
12421
|
-
$
|
|
12422
|
-
$isInvalid
|
|
12423
|
-
|
|
12424
|
-
|
|
12425
|
-
|
|
12426
|
-
|
|
12427
|
-
|
|
12428
|
-
|
|
13426
|
+
$isDisabled,
|
|
13427
|
+
$isInvalid,
|
|
13428
|
+
$theme
|
|
13429
|
+
} = _ref4;
|
|
13430
|
+
return $isDisabled ? css`
|
|
13431
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-disabled-hover);
|
|
13432
|
+
` : $isInvalid ? css`
|
|
13433
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-invalid-hover);
|
|
13434
|
+
` : css`
|
|
13435
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-default-hover);
|
|
13436
|
+
`;
|
|
12429
13437
|
}}
|
|
13438
|
+
|
|
12430
13439
|
border-radius: 50%;
|
|
12431
13440
|
height: 32px;
|
|
12432
|
-
margin-inline-start: ${
|
|
13441
|
+
margin-inline-start: ${_ref5 => {
|
|
12433
13442
|
let {
|
|
12434
13443
|
$isSelected
|
|
12435
|
-
} =
|
|
13444
|
+
} = _ref5;
|
|
12436
13445
|
return !$isSelected ? '-6px' : '-6px';
|
|
12437
13446
|
}};
|
|
12438
13447
|
opacity: 0;
|
|
@@ -12442,7 +13451,20 @@ const StyledSwitch = styled.label`
|
|
|
12442
13451
|
}
|
|
12443
13452
|
|
|
12444
13453
|
.redsift-switch-slide-knob-wrapper__knob {
|
|
12445
|
-
|
|
13454
|
+
${_ref6 => {
|
|
13455
|
+
let {
|
|
13456
|
+
$isDisabled,
|
|
13457
|
+
$isInvalid,
|
|
13458
|
+
$theme
|
|
13459
|
+
} = _ref6;
|
|
13460
|
+
return $isDisabled ? css`
|
|
13461
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-disabled);
|
|
13462
|
+
` : $isInvalid ? css`
|
|
13463
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-invalid);
|
|
13464
|
+
` : css`
|
|
13465
|
+
background-color: var(--redsift-color-${$theme}-components-switch-dot-default);
|
|
13466
|
+
`;
|
|
13467
|
+
}}
|
|
12446
13468
|
border-radius: 50%;
|
|
12447
13469
|
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
13470
|
height: 20px;
|
|
@@ -12452,39 +13474,15 @@ const StyledSwitch = styled.label`
|
|
|
12452
13474
|
z-index: 4;
|
|
12453
13475
|
}
|
|
12454
13476
|
|
|
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
13477
|
&:hover,
|
|
12480
13478
|
&:focus-visible {
|
|
12481
13479
|
outline: none;
|
|
12482
13480
|
cursor: pointer;
|
|
12483
13481
|
|
|
12484
|
-
${
|
|
13482
|
+
${_ref7 => {
|
|
12485
13483
|
let {
|
|
12486
13484
|
$isDisabled
|
|
12487
|
-
} =
|
|
13485
|
+
} = _ref7;
|
|
12488
13486
|
return !$isDisabled ? css`
|
|
12489
13487
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12490
13488
|
opacity: 0.5;
|
|
@@ -12493,11 +13491,11 @@ const StyledSwitch = styled.label`
|
|
|
12493
13491
|
}}
|
|
12494
13492
|
}
|
|
12495
13493
|
|
|
12496
|
-
${
|
|
13494
|
+
${_ref8 => {
|
|
12497
13495
|
let {
|
|
12498
13496
|
$isDisabled,
|
|
12499
13497
|
$isFocusVisible
|
|
12500
|
-
} =
|
|
13498
|
+
} = _ref8;
|
|
12501
13499
|
return $isFocusVisible && !$isDisabled ? css`
|
|
12502
13500
|
.redsift-switch-slide-knob-wrapper__elevation {
|
|
12503
13501
|
opacity: 0.5;
|
|
@@ -12506,7 +13504,7 @@ const StyledSwitch = styled.label`
|
|
|
12506
13504
|
}}
|
|
12507
13505
|
`;
|
|
12508
13506
|
|
|
12509
|
-
const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
13507
|
+
const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "theme", "value"];
|
|
12510
13508
|
const COMPONENT_NAME$2 = 'Switch';
|
|
12511
13509
|
const CLASSNAME$2 = 'redsift-switch';
|
|
12512
13510
|
const DEFAULT_PROPS$2 = {
|
|
@@ -12538,9 +13536,11 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12538
13536
|
isSelected: propsIsSelected,
|
|
12539
13537
|
name,
|
|
12540
13538
|
onChange,
|
|
13539
|
+
theme: propsTheme,
|
|
12541
13540
|
value
|
|
12542
13541
|
} = props,
|
|
12543
13542
|
forwardedProps = _objectWithoutProperties(props, _excluded$2);
|
|
13543
|
+
const theme = useTheme(propsTheme);
|
|
12544
13544
|
const {
|
|
12545
13545
|
isFocusVisible,
|
|
12546
13546
|
focusProps
|
|
@@ -12559,7 +13559,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12559
13559
|
setSelected(groupState.value.includes(value));
|
|
12560
13560
|
}
|
|
12561
13561
|
}, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
|
|
12562
|
-
warnIfNoAccessibleLabelFound(props, [children]);
|
|
13562
|
+
warnIfNoAccessibleLabelFound(props, [children], 'Switch');
|
|
12563
13563
|
if (groupState) {
|
|
12564
13564
|
if (propsIsSelected != null) {
|
|
12565
13565
|
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 +13596,7 @@ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12596
13596
|
$isInvalid: isInvalid || isRequired && !(isSelected || isControlled && propsIsSelected),
|
|
12597
13597
|
$isRequired: isRequired,
|
|
12598
13598
|
$isSelected: isSelected || isControlled && propsIsSelected,
|
|
13599
|
+
$theme: theme,
|
|
12599
13600
|
className: classNames(Switch.className, className),
|
|
12600
13601
|
ref: ref
|
|
12601
13602
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -12682,22 +13683,19 @@ const StyledSwitchGroup = styled.div`
|
|
|
12682
13683
|
font-size: var(--redsift-typography-body-font-size);
|
|
12683
13684
|
line-height: var(--redsift-typography-body-line-height);
|
|
12684
13685
|
|
|
12685
|
-
color: var(--redsift-color-neutral-black);
|
|
12686
13686
|
${_ref2 => {
|
|
12687
13687
|
let {
|
|
12688
|
-
$isDisabled
|
|
13688
|
+
$isDisabled,
|
|
13689
|
+
$isInvalid,
|
|
13690
|
+
$theme
|
|
12689
13691
|
} = _ref2;
|
|
12690
|
-
return $isDisabled ? `
|
|
12691
|
-
|
|
12692
|
-
|
|
12693
|
-
}
|
|
12694
|
-
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
|
-
} = _ref3;
|
|
12698
|
-
return $isInvalid ? `
|
|
12699
|
-
color: var(--redsift-color-notifications-error-primary);
|
|
12700
|
-
` : '';
|
|
13692
|
+
return $isDisabled ? css`
|
|
13693
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
13694
|
+
` : $isInvalid ? css`
|
|
13695
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
13696
|
+
` : css`
|
|
13697
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
13698
|
+
`;
|
|
12701
13699
|
}}
|
|
12702
13700
|
}
|
|
12703
13701
|
|
|
@@ -12707,31 +13705,28 @@ const StyledSwitchGroup = styled.div`
|
|
|
12707
13705
|
font-size: var(--redsift-typography-helper-font-size);
|
|
12708
13706
|
line-height: var(--redsift-typography-helper-line-height);
|
|
12709
13707
|
|
|
12710
|
-
|
|
12711
|
-
${_ref4 => {
|
|
12712
|
-
let {
|
|
12713
|
-
$isDisabled
|
|
12714
|
-
} = _ref4;
|
|
12715
|
-
return $isDisabled ? `
|
|
12716
|
-
color: var(--redsift-color-neutral-midgrey);
|
|
12717
|
-
` : '';
|
|
12718
|
-
}}
|
|
12719
|
-
${_ref5 => {
|
|
13708
|
+
${_ref3 => {
|
|
12720
13709
|
let {
|
|
12721
|
-
$
|
|
12722
|
-
|
|
12723
|
-
|
|
12724
|
-
|
|
12725
|
-
|
|
13710
|
+
$isDisabled,
|
|
13711
|
+
$isInvalid,
|
|
13712
|
+
$theme
|
|
13713
|
+
} = _ref3;
|
|
13714
|
+
return $isDisabled ? css`
|
|
13715
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-disabled);
|
|
13716
|
+
` : $isInvalid ? css`
|
|
13717
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-invalid);
|
|
13718
|
+
` : css`
|
|
13719
|
+
color: var(--redsift-color-${$theme}-components-checkbox-text-default);
|
|
13720
|
+
`;
|
|
12726
13721
|
}}
|
|
12727
13722
|
}
|
|
12728
13723
|
`;
|
|
12729
13724
|
|
|
12730
|
-
const _excluded$1 = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
13725
|
+
const _excluded$1 = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "theme", "value"];
|
|
12731
13726
|
const COMPONENT_NAME$1 = 'SwitchGroup';
|
|
12732
13727
|
const CLASSNAME$1 = 'redsift-switch-group';
|
|
12733
13728
|
const DEFAULT_PROPS$1 = {
|
|
12734
|
-
color:
|
|
13729
|
+
color: ColorPalette.primary,
|
|
12735
13730
|
orientation: SwitchGroupOrientation.vertical
|
|
12736
13731
|
};
|
|
12737
13732
|
|
|
@@ -12752,9 +13747,11 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12752
13747
|
label,
|
|
12753
13748
|
onChange,
|
|
12754
13749
|
orientation,
|
|
13750
|
+
theme: propsTheme,
|
|
12755
13751
|
value
|
|
12756
13752
|
} = props,
|
|
12757
13753
|
forwardedProps = _objectWithoutProperties(props, _excluded$1);
|
|
13754
|
+
const theme = useTheme(propsTheme);
|
|
12758
13755
|
const [selectedValues, setValue] = useState(value || defaultValues || []);
|
|
12759
13756
|
useEffect(() => {
|
|
12760
13757
|
if (value) {
|
|
@@ -12788,11 +13785,16 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12788
13785
|
}
|
|
12789
13786
|
}
|
|
12790
13787
|
};
|
|
12791
|
-
return /*#__PURE__*/React__default.createElement(
|
|
13788
|
+
return /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
|
13789
|
+
value: {
|
|
13790
|
+
theme
|
|
13791
|
+
}
|
|
13792
|
+
}, /*#__PURE__*/React__default.createElement(StyledSwitchGroup, _extends$1({}, forwardedProps, {
|
|
12792
13793
|
$isDisabled: isDisabled,
|
|
12793
13794
|
$isInvalid: isInvalid || isRequired && selectedValues.length === 0,
|
|
12794
13795
|
$isReadOnly: isReadOnly,
|
|
12795
13796
|
$orientation: orientation,
|
|
13797
|
+
$theme: theme,
|
|
12796
13798
|
"aria-disabled": isDisabled,
|
|
12797
13799
|
className: classNames(SwitchGroup.className, className),
|
|
12798
13800
|
ref: ref,
|
|
@@ -12805,7 +13807,7 @@ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12805
13807
|
value: state
|
|
12806
13808
|
}, children)), /*#__PURE__*/React__default.createElement("span", {
|
|
12807
13809
|
className: `${SwitchGroup.className}-description`
|
|
12808
|
-
}, description));
|
|
13810
|
+
}, description)));
|
|
12809
13811
|
});
|
|
12810
13812
|
SwitchGroup.className = CLASSNAME$1;
|
|
12811
13813
|
SwitchGroup.defaultProps = DEFAULT_PROPS$1;
|
|
@@ -12848,6 +13850,7 @@ const StyledTextField = styled.div`
|
|
|
12848
13850
|
$isDisabled,
|
|
12849
13851
|
$isInvalid,
|
|
12850
13852
|
$isColored,
|
|
13853
|
+
$theme,
|
|
12851
13854
|
$variant
|
|
12852
13855
|
} = _ref;
|
|
12853
13856
|
return css`
|
|
@@ -12881,13 +13884,13 @@ const StyledTextField = styled.div`
|
|
|
12881
13884
|
`}
|
|
12882
13885
|
|
|
12883
13886
|
${$isDisabled ? css`
|
|
12884
|
-
color: var(--redsift-color-
|
|
13887
|
+
color: var(--redsift-color-neutral-light-grey);
|
|
12885
13888
|
` : $isInvalid ? css`
|
|
12886
13889
|
color: var(--redsift-color-notifications-error-primary);
|
|
12887
13890
|
` : $isFocused ? css`
|
|
12888
|
-
color: ${$isColored ? 'var(--redsift-color-
|
|
13891
|
+
color: ${$isColored ? 'var(--redsift-color-primary-n)' : 'var(--redsift-color-notifications-question-primary)'};
|
|
12889
13892
|
` : css`
|
|
12890
|
-
color: var(--redsift-color-neutral-
|
|
13893
|
+
color: var(--redsift-color-neutral-${$theme === Theme.light ? 'x-dark-grey' : 'light-grey'});
|
|
12891
13894
|
`}
|
|
12892
13895
|
}
|
|
12893
13896
|
|
|
@@ -12896,7 +13899,7 @@ const StyledTextField = styled.div`
|
|
|
12896
13899
|
box-sizing: border-box;
|
|
12897
13900
|
cursor: text;
|
|
12898
13901
|
display: inline-flex;
|
|
12899
|
-
height: 42px;
|
|
13902
|
+
min-height: 42px;
|
|
12900
13903
|
position: relative;
|
|
12901
13904
|
}
|
|
12902
13905
|
|
|
@@ -12933,14 +13936,14 @@ const StyledTextField = styled.div`
|
|
|
12933
13936
|
width: auto;
|
|
12934
13937
|
|
|
12935
13938
|
${$isDisabled ? css`
|
|
12936
|
-
color: var(--redsift-color-
|
|
13939
|
+
color: var(--redsift-color-neutral-light-grey);
|
|
12937
13940
|
` : css`
|
|
12938
|
-
color: var(--redsift-color-neutral-
|
|
13941
|
+
color: var(--redsift-color-neutral-${$theme === Theme.dark ? 'white' : 'x-dark-grey'});
|
|
12939
13942
|
`}
|
|
12940
13943
|
}
|
|
12941
13944
|
|
|
12942
13945
|
.redsift-text-field-input-wrapper__input::placeholder {
|
|
12943
|
-
color: var(--redsift-color-neutral-
|
|
13946
|
+
color: var(--redsift-color-neutral-mid-grey);
|
|
12944
13947
|
}
|
|
12945
13948
|
|
|
12946
13949
|
.redsift-text-field-input-wrapper__input:focus {
|
|
@@ -12969,13 +13972,13 @@ const StyledTextField = styled.div`
|
|
|
12969
13972
|
`}
|
|
12970
13973
|
|
|
12971
13974
|
${$isDisabled ? css`
|
|
12972
|
-
border-color: var(--redsift-color-
|
|
13975
|
+
border-color: var(--redsift-color-neutral-light-grey);
|
|
12973
13976
|
` : $isInvalid ? css`
|
|
12974
13977
|
border-color: var(--redsift-color-notifications-error-primary);
|
|
12975
13978
|
` : $isFocused ? css`
|
|
12976
|
-
border-color: ${$isColored ? 'var(--redsift-color-
|
|
13979
|
+
border-color: ${$isColored ? 'var(--redsift-color-primary-n)' : 'var(--redsift-color-notifications-question-primary)'};
|
|
12977
13980
|
` : css`
|
|
12978
|
-
border-color: var(--redsift-color-neutral-
|
|
13981
|
+
border-color: var(--redsift-color-neutral-mid-grey);
|
|
12979
13982
|
`}
|
|
12980
13983
|
}
|
|
12981
13984
|
|
|
@@ -13040,7 +14043,7 @@ const StyledTextField = styled.div`
|
|
|
13040
14043
|
// Material Design Icons v7.2.96
|
|
13041
14044
|
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
14045
|
|
|
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"];
|
|
14046
|
+
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
14047
|
const COMPONENT_NAME = 'TextField';
|
|
13045
14048
|
const CLASSNAME = 'redsift-text-field';
|
|
13046
14049
|
const DEFAULT_PROPS = {
|
|
@@ -13079,11 +14082,13 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13079
14082
|
onFocus: onFocusProps,
|
|
13080
14083
|
pills,
|
|
13081
14084
|
placeholder,
|
|
14085
|
+
theme: propsTheme,
|
|
13082
14086
|
type,
|
|
13083
14087
|
value: propsValue,
|
|
13084
14088
|
variant
|
|
13085
14089
|
} = props,
|
|
13086
14090
|
forwardedProps = _objectWithoutProperties(props, _excluded);
|
|
14091
|
+
const theme = useTheme(propsTheme);
|
|
13087
14092
|
const {
|
|
13088
14093
|
isFocusVisible,
|
|
13089
14094
|
isFocused,
|
|
@@ -13102,7 +14107,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13102
14107
|
});
|
|
13103
14108
|
const [value, setValue] = useState(defaultValue);
|
|
13104
14109
|
const isControlled = propsValue !== null && propsValue !== undefined;
|
|
13105
|
-
warnIfNoAccessibleLabelFound(props, [label]);
|
|
14110
|
+
warnIfNoAccessibleLabelFound(props, [label], 'TextField');
|
|
13106
14111
|
const handleChange = useCallback(event => {
|
|
13107
14112
|
if (isDisabled || isReadOnly) {
|
|
13108
14113
|
return;
|
|
@@ -13137,6 +14142,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13137
14142
|
$isInvalid: isInvalid || isRequired && !(isControlled ? propsValue : value),
|
|
13138
14143
|
$isRequired: isRequired,
|
|
13139
14144
|
$isFocused: isFocused,
|
|
14145
|
+
$theme: theme,
|
|
13140
14146
|
$variant: variant,
|
|
13141
14147
|
className: classNames(TextField.className, className),
|
|
13142
14148
|
ref: ref
|
|
@@ -13152,6 +14158,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13152
14158
|
})) : null, /*#__PURE__*/React__default.createElement("div", {
|
|
13153
14159
|
className: `${TextField.className}__pills`
|
|
13154
14160
|
}, pills === null || pills === void 0 ? void 0 : pills.map(pill => /*#__PURE__*/React__default.createElement(Pill, {
|
|
14161
|
+
theme: theme,
|
|
13155
14162
|
key: pill.value,
|
|
13156
14163
|
color: "blue",
|
|
13157
14164
|
size: "small"
|
|
@@ -13183,8 +14190,9 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13183
14190
|
className: `${TextField.className}-input-wrapper__toolbar`,
|
|
13184
14191
|
gap: "8px"
|
|
13185
14192
|
}, hasClearButton ? /*#__PURE__*/React__default.createElement(IconButton, _extends$1({
|
|
14193
|
+
theme: theme,
|
|
13186
14194
|
"aria-label": "Clear",
|
|
13187
|
-
color: "
|
|
14195
|
+
color: "grey",
|
|
13188
14196
|
isDisabled: isDisabled,
|
|
13189
14197
|
icon: mdiClose
|
|
13190
14198
|
}, hasClearButton !== true && hasClearButton, {
|
|
@@ -13192,7 +14200,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
13192
14200
|
className: "right clear"
|
|
13193
14201
|
})) : 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
14202
|
style: {
|
|
13195
|
-
borderLeft: '1px solid var(--redsift-color-neutral-
|
|
14203
|
+
borderLeft: '1px solid var(--redsift-color-neutral-mid-grey)'
|
|
13196
14204
|
}
|
|
13197
14205
|
}) : null, typeof after === 'function' ? after(isControlled ? propsValue : value, isDisabled, isInvalid || isRequired && !(isControlled ? propsValue : value), isRequired) : after) : null, /*#__PURE__*/React__default.createElement("fieldset", {
|
|
13198
14206
|
"aria-hidden": "true",
|
|
@@ -13205,5 +14213,5 @@ TextField.className = CLASSNAME;
|
|
|
13205
14213
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
13206
14214
|
TextField.displayName = COMPONENT_NAME;
|
|
13207
14215
|
|
|
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 };
|
|
14216
|
+
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
14217
|
//# sourceMappingURL=index.js.map
|