@redsift/design-system 9.0.0-alpha.0 → 9.0.0-alpha.10
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/index.d.ts +47 -19
- package/index.js +254 -95
- package/index.js.map +1 -1
- package/package.json +5 -5
- package/style/index.css +4 -0
- package/style/redsift-reset.css +4 -0
- package/style/redsift.css +4 -0
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useLocalizedStringFormatter, I18nProvider, useNumberFormatter } from '@react-aria/i18n';
|
|
2
2
|
export { I18nProvider, useCollator, useDateFormatter, useFilter, useListFormatter, useLocale, useLocalizedStringFormatter, useNumberFormatter } from '@react-aria/i18n';
|
|
3
3
|
export { SSRProvider, useIsSSR } from '@react-aria/ssr';
|
|
4
|
+
import { rsiAsmHorizontal, rsiBrandTrustHorizontal, rsiCertificatesHorizontal, rsiOndmarcHorizontal, rsiPulseHorizontal, rsiRadarHorizontal, rsiRojoDsHorizontal, rsiVendorSecureHorizontal, rsiRedSiftHorizontal, mdiClose as mdiClose$1, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiCircleMedium as mdiCircleMedium$1, mdiChevronDown, mdiMenuOpen, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
|
|
4
5
|
import * as React from 'react';
|
|
5
|
-
import React__default, { useState, useEffect, forwardRef, useRef, useCallback, useContext,
|
|
6
|
+
import React__default, { useState, useEffect, forwardRef, useRef, useCallback, useContext, useReducer, useMemo, useLayoutEffect } from 'react';
|
|
6
7
|
import classNames from 'classnames';
|
|
7
|
-
import { mdiClose as mdiClose$1, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiCircleMedium as mdiCircleMedium$1, mdiChevronDown, mdiMenuOpen, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
|
|
8
8
|
import styled, { css, keyframes } from 'styled-components';
|
|
9
9
|
import { useFocusRing } from '@react-aria/focus';
|
|
10
10
|
import * as ReactDOM from 'react-dom';
|
|
@@ -24,6 +24,7 @@ const Product = {
|
|
|
24
24
|
'brand-trust': 'brand-trust',
|
|
25
25
|
certificates: 'certificates',
|
|
26
26
|
ondmarc: 'ondmarc',
|
|
27
|
+
pulse: 'pulse',
|
|
27
28
|
radar: 'radar',
|
|
28
29
|
'rojo-ds': 'rojo-ds',
|
|
29
30
|
'vendor-secure': 'vendor-secure',
|
|
@@ -34,11 +35,23 @@ const ProductName = {
|
|
|
34
35
|
'brand-trust': 'Brand Trust',
|
|
35
36
|
certificates: 'Certificates',
|
|
36
37
|
ondmarc: 'OnDMARC',
|
|
38
|
+
pulse: 'Pulse',
|
|
37
39
|
radar: 'RADAR',
|
|
38
40
|
'rojo-ds': 'ROJO DS',
|
|
39
41
|
'vendor-secure': 'Vendor Secure',
|
|
40
42
|
website: 'Website'
|
|
41
43
|
};
|
|
44
|
+
const ProductLogo = {
|
|
45
|
+
asm: rsiAsmHorizontal,
|
|
46
|
+
'brand-trust': rsiBrandTrustHorizontal,
|
|
47
|
+
certificates: rsiCertificatesHorizontal,
|
|
48
|
+
ondmarc: rsiOndmarcHorizontal,
|
|
49
|
+
pulse: rsiPulseHorizontal,
|
|
50
|
+
radar: rsiRadarHorizontal,
|
|
51
|
+
'rojo-ds': rsiRojoDsHorizontal,
|
|
52
|
+
'vendor-secure': rsiVendorSecureHorizontal,
|
|
53
|
+
website: rsiRedSiftHorizontal
|
|
54
|
+
};
|
|
42
55
|
|
|
43
56
|
/**
|
|
44
57
|
* Color palette.
|
|
@@ -477,6 +490,44 @@ const RedsiftTypographyDatagridCellFontSize = '16px';
|
|
|
477
490
|
const RedsiftTypographyDatagridCellFontWeight = '400';
|
|
478
491
|
const RedsiftTypographyDatagridCellLineHeight = '24px';
|
|
479
492
|
|
|
493
|
+
let globalPrefix = 'rsi';
|
|
494
|
+
let lastId = 0;
|
|
495
|
+
const nextId = localPrefix => {
|
|
496
|
+
lastId++;
|
|
497
|
+
return `${localPrefix || globalPrefix}${lastId}`;
|
|
498
|
+
};
|
|
499
|
+
const resetId = () => {
|
|
500
|
+
lastId = 0;
|
|
501
|
+
};
|
|
502
|
+
const setPrefix = newPrefix => {
|
|
503
|
+
globalPrefix = newPrefix;
|
|
504
|
+
};
|
|
505
|
+
const getIds = (count, prefix) => {
|
|
506
|
+
const ids = [];
|
|
507
|
+
for (let i = 0; i < count; i++) {
|
|
508
|
+
ids.push(nextId(prefix));
|
|
509
|
+
}
|
|
510
|
+
return ids;
|
|
511
|
+
};
|
|
512
|
+
function usePrevious$1(value) {
|
|
513
|
+
const ref = React__default.useRef();
|
|
514
|
+
React__default.useEffect(() => {
|
|
515
|
+
ref.current = value;
|
|
516
|
+
});
|
|
517
|
+
return ref.current;
|
|
518
|
+
}
|
|
519
|
+
const useId$1 = function () {
|
|
520
|
+
let count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;
|
|
521
|
+
let prefix = arguments.length > 1 ? arguments[1] : undefined;
|
|
522
|
+
const idsListRef = React__default.useRef([]);
|
|
523
|
+
const prevCount = usePrevious$1(count);
|
|
524
|
+
const prevPrefix = usePrevious$1(prefix);
|
|
525
|
+
if (count !== prevCount || prevPrefix !== prefix) {
|
|
526
|
+
idsListRef.current = getIds(count, prefix);
|
|
527
|
+
}
|
|
528
|
+
return idsListRef.current;
|
|
529
|
+
};
|
|
530
|
+
|
|
480
531
|
/**
|
|
481
532
|
* Display a warning if no label was found for screen readers and assistive technologies.
|
|
482
533
|
*
|
|
@@ -945,25 +996,41 @@ const StyledIcon = styled.span`
|
|
|
945
996
|
$lineHeight
|
|
946
997
|
} = _ref2;
|
|
947
998
|
return css`
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
999
|
+
${$width ? css`
|
|
1000
|
+
width: ${$width}px;
|
|
1001
|
+
` : ''}
|
|
1002
|
+
${$height ? css`
|
|
1003
|
+
height: ${$height}px;
|
|
1004
|
+
` : ''}
|
|
1005
|
+
${$fontSize ? css`
|
|
1006
|
+
font-size: ${$fontSize}px;
|
|
1007
|
+
` : ''}
|
|
1008
|
+
${$lineHeight ? css`
|
|
1009
|
+
line-height: ${$lineHeight}px;
|
|
1010
|
+
` : ''}
|
|
952
1011
|
|
|
953
1012
|
& .redsift-badge-standard {
|
|
954
1013
|
grid-column: 1;
|
|
955
1014
|
grid-row: 1;
|
|
956
1015
|
margin-right: unset;
|
|
957
|
-
|
|
958
|
-
|
|
1016
|
+
${$width ? css`
|
|
1017
|
+
margin-left: ${$width * 0.75}px;
|
|
1018
|
+
` : ''}
|
|
1019
|
+
${$height ? css`
|
|
1020
|
+
margin-top: ${$height * 0.1 - 4}px;
|
|
1021
|
+
` : ''}
|
|
959
1022
|
}
|
|
960
1023
|
|
|
961
1024
|
& .redsift-badge-dot {
|
|
962
1025
|
grid-column: 1;
|
|
963
1026
|
grid-row: 1;
|
|
964
1027
|
margin-right: unset;
|
|
965
|
-
|
|
966
|
-
|
|
1028
|
+
${$width ? css`
|
|
1029
|
+
margin-left: ${$width * 0.8}px;
|
|
1030
|
+
` : ''}
|
|
1031
|
+
${$height ? css`
|
|
1032
|
+
margin-top: ${$height * 0.2 - 3}px;
|
|
1033
|
+
` : ''}
|
|
967
1034
|
}
|
|
968
1035
|
`;
|
|
969
1036
|
}}
|
|
@@ -1400,7 +1467,8 @@ const DEFAULT_PROPS$L = {
|
|
|
1400
1467
|
* For a semantic button that looks like a link, please use the LinkButton component.
|
|
1401
1468
|
*/
|
|
1402
1469
|
const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
1403
|
-
const
|
|
1470
|
+
const _ref = useRef();
|
|
1471
|
+
const buttonRef = ref || _ref;
|
|
1404
1472
|
const {
|
|
1405
1473
|
children,
|
|
1406
1474
|
className,
|
|
@@ -1909,30 +1977,46 @@ const StyledAppBar = styled.header`
|
|
|
1909
1977
|
color: var(--redsift-color-neutral-darkgrey);
|
|
1910
1978
|
display: flex;
|
|
1911
1979
|
flex-direction: row;
|
|
1980
|
+
|
|
1912
1981
|
height: 92px;
|
|
1982
|
+
@media (max-width: 1080px) {
|
|
1983
|
+
height: 72px;
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1913
1986
|
justify-content: space-between;
|
|
1914
1987
|
left: 0;
|
|
1915
|
-
position:
|
|
1988
|
+
position: sticky;
|
|
1916
1989
|
top: 0;
|
|
1917
1990
|
z-index: var(--redsift-layout-z-index-header);
|
|
1918
1991
|
|
|
1919
1992
|
${_ref => {
|
|
1920
1993
|
let {
|
|
1921
|
-
$
|
|
1994
|
+
$hasBorder
|
|
1922
1995
|
} = _ref;
|
|
1996
|
+
return $hasBorder ? css`
|
|
1997
|
+
border-bottom: 2px solid #e1e1e1;
|
|
1998
|
+
` : css`
|
|
1999
|
+
border-bottom: none;
|
|
2000
|
+
`;
|
|
2001
|
+
}}
|
|
2002
|
+
|
|
2003
|
+
${_ref2 => {
|
|
2004
|
+
let {
|
|
2005
|
+
$isSidePanelCollapsed
|
|
2006
|
+
} = _ref2;
|
|
1923
2007
|
return !$isSidePanelCollapsed ? css`
|
|
1924
2008
|
transform: translate(250px);
|
|
1925
|
-
width: calc(
|
|
2009
|
+
width: calc(100vw - 250px);
|
|
1926
2010
|
` : css`
|
|
1927
2011
|
transform: translate(64px);
|
|
1928
2012
|
width: calc(100% - 64px);
|
|
1929
2013
|
`;
|
|
1930
2014
|
}}
|
|
1931
2015
|
|
|
1932
|
-
${
|
|
2016
|
+
${_ref3 => {
|
|
1933
2017
|
let {
|
|
1934
2018
|
$isLoaded
|
|
1935
|
-
} =
|
|
2019
|
+
} = _ref3;
|
|
1936
2020
|
return $isLoaded ? css`
|
|
1937
2021
|
transition: transform 0.25s ease-out, width 0.25s ease-out;
|
|
1938
2022
|
` : '';
|
|
@@ -2149,6 +2233,7 @@ const StyledAppSidePanel = styled.div`
|
|
|
2149
2233
|
align-items: center;
|
|
2150
2234
|
background-color: var(--redsift-side-navigation-color-background);
|
|
2151
2235
|
border-right: 4px solid #e1e1e1;
|
|
2236
|
+
box-sizing: border-box;
|
|
2152
2237
|
flex-direction: column;
|
|
2153
2238
|
height: 100%;
|
|
2154
2239
|
left: 0px;
|
|
@@ -2160,7 +2245,7 @@ const StyledAppSidePanel = styled.div`
|
|
|
2160
2245
|
let {
|
|
2161
2246
|
$variant
|
|
2162
2247
|
} = _ref;
|
|
2163
|
-
return $variant === AppSidePanelVariant.shrinked ? '
|
|
2248
|
+
return $variant === AppSidePanelVariant.shrinked ? '68px' : '254px';
|
|
2164
2249
|
}};
|
|
2165
2250
|
z-index: var(--redsift-layout-z-index-side-panel);
|
|
2166
2251
|
|
|
@@ -2175,7 +2260,12 @@ const StyledAppSidePanel = styled.div`
|
|
|
2175
2260
|
}};
|
|
2176
2261
|
margin-bottom: 16px;
|
|
2177
2262
|
width: 100%;
|
|
2263
|
+
|
|
2178
2264
|
height: 92px;
|
|
2265
|
+
@media (max-width: 1080px) {
|
|
2266
|
+
height: 72px;
|
|
2267
|
+
}
|
|
2268
|
+
|
|
2179
2269
|
display: grid;
|
|
2180
2270
|
justify-items: start;
|
|
2181
2271
|
align-items: center;
|
|
@@ -2190,6 +2280,8 @@ const StyledAppSidePanel = styled.div`
|
|
|
2190
2280
|
}
|
|
2191
2281
|
|
|
2192
2282
|
.redsift-app-side-panel-header__logo {
|
|
2283
|
+
align-items: center;
|
|
2284
|
+
display: flex;
|
|
2193
2285
|
grid-column: 1;
|
|
2194
2286
|
grid-row: 1;
|
|
2195
2287
|
transition: opacity 300ms ease-out;
|
|
@@ -2199,12 +2291,19 @@ const StyledAppSidePanel = styled.div`
|
|
|
2199
2291
|
} = _ref3;
|
|
2200
2292
|
return $variant === AppSidePanelVariant.shrinked ? '0' : '1';
|
|
2201
2293
|
}};
|
|
2202
|
-
|
|
2294
|
+
|
|
2295
|
+
height: 56px;
|
|
2296
|
+
@media (max-width: 1080px) {
|
|
2297
|
+
height: 36px;
|
|
2298
|
+
}
|
|
2203
2299
|
}
|
|
2204
2300
|
|
|
2205
2301
|
.redsift-app-side-panel-header__logo > img {
|
|
2206
|
-
max-height:
|
|
2207
|
-
max-width:
|
|
2302
|
+
max-height: 56px;
|
|
2303
|
+
@media (max-width: 1080px) {
|
|
2304
|
+
max-height: 36px;
|
|
2305
|
+
}
|
|
2306
|
+
max-width: 195px;
|
|
2208
2307
|
}
|
|
2209
2308
|
|
|
2210
2309
|
.redsift-app-side-panel-header__expand-button {
|
|
@@ -2291,6 +2390,9 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2291
2390
|
iconButtonRef
|
|
2292
2391
|
} = props,
|
|
2293
2392
|
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
2393
|
+
const {
|
|
2394
|
+
width
|
|
2395
|
+
} = useWindowSize();
|
|
2294
2396
|
const appContainerState = useContext(AppContainerContext);
|
|
2295
2397
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$3);
|
|
2296
2398
|
useEffect(() => {
|
|
@@ -2303,6 +2405,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2303
2405
|
appContainerState === null || appContainerState === void 0 ? void 0 : appContainerState.expandSidePanel();
|
|
2304
2406
|
};
|
|
2305
2407
|
const computedVariant = appContainerState ? appContainerState.sidePanelVariant : variant;
|
|
2408
|
+
const product = appContainerState && appContainerState.product;
|
|
2306
2409
|
return /*#__PURE__*/React__default.createElement(StyledAppSidePanel, _extends$1({}, forwardedProps, {
|
|
2307
2410
|
$variant: computedVariant,
|
|
2308
2411
|
className: classNames(AppSidePanel.className, className),
|
|
@@ -2314,7 +2417,12 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2314
2417
|
}, /*#__PURE__*/React__default.isValidElement(logo) ? logo : logo ? /*#__PURE__*/React__default.createElement("img", {
|
|
2315
2418
|
src: logo.src,
|
|
2316
2419
|
alt: logo.alt
|
|
2317
|
-
}) :
|
|
2420
|
+
}) : product && (typeof product === 'string' || product.logo) ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2421
|
+
icon: typeof product === 'string' ? ProductLogo[product] : product.logo,
|
|
2422
|
+
size: {
|
|
2423
|
+
height: width && width > 1080 ? 41 : 36
|
|
2424
|
+
}
|
|
2425
|
+
}) : null), /*#__PURE__*/React__default.createElement(IconButton, _extends$1({
|
|
2318
2426
|
className: `${AppSidePanel.className}-header__expand-button`
|
|
2319
2427
|
}, iconButtonProps, {
|
|
2320
2428
|
"aria-label": stringFormatter.format('expand'),
|
|
@@ -2323,7 +2431,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2323
2431
|
ref: iconButtonRef,
|
|
2324
2432
|
color: "question",
|
|
2325
2433
|
isDisabled: computedVariant === 'standard'
|
|
2326
|
-
}))
|
|
2434
|
+
}))), featuredElements ? /*#__PURE__*/React__default.createElement("div", {
|
|
2327
2435
|
className: `${AppSidePanel.className}__featured`
|
|
2328
2436
|
}, featuredElements) : null, children);
|
|
2329
2437
|
});
|
|
@@ -2378,6 +2486,7 @@ const StyledSideNavigationMenuItemIndicatorContainer = styled.div`
|
|
|
2378
2486
|
min-width: 4px;
|
|
2379
2487
|
`;
|
|
2380
2488
|
const StyledSideNavigationMenuItemIndicator = styled.div`
|
|
2489
|
+
position: relative;
|
|
2381
2490
|
width: 4px;
|
|
2382
2491
|
height: 38px;
|
|
2383
2492
|
border-radius: 0px 4px 4px 0px;
|
|
@@ -2496,10 +2605,11 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2496
2605
|
*/
|
|
2497
2606
|
|
|
2498
2607
|
background-color: var(--redsift-side-navigation-color-background);
|
|
2499
|
-
height:
|
|
2608
|
+
height: 38px;
|
|
2500
2609
|
margin-bottom: 16px;
|
|
2610
|
+
margin-left: -4px;
|
|
2501
2611
|
transition: padding 300ms ease-out;
|
|
2502
|
-
padding:
|
|
2612
|
+
padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '24px'};
|
|
2503
2613
|
|
|
2504
2614
|
.redsift-icon.first {
|
|
2505
2615
|
box-sizing: unset;
|
|
@@ -2536,6 +2646,7 @@ const BadgeVariant = {
|
|
|
2536
2646
|
*/
|
|
2537
2647
|
const StyledBadge = styled.div`
|
|
2538
2648
|
${baseStyling}
|
|
2649
|
+
box-sizing: content-box;
|
|
2539
2650
|
|
|
2540
2651
|
${_ref => {
|
|
2541
2652
|
let {
|
|
@@ -2761,8 +2872,6 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2761
2872
|
} = _ref;
|
|
2762
2873
|
return css`
|
|
2763
2874
|
.redsift-side-navigation-menu__menu-container > button {
|
|
2764
|
-
background-color: var(--redsift-side-navigation-color-background);
|
|
2765
|
-
border: none;
|
|
2766
2875
|
${!$isDisabled ? css`
|
|
2767
2876
|
&,
|
|
2768
2877
|
.redsift-icon.first {
|
|
@@ -2775,6 +2884,8 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2775
2884
|
}
|
|
2776
2885
|
`}
|
|
2777
2886
|
align-items: center;
|
|
2887
|
+
background-color: var(--redsift-side-navigation-color-background);
|
|
2888
|
+
border: none;
|
|
2778
2889
|
border-radius: 0 4px 4px 0;
|
|
2779
2890
|
display: flex;
|
|
2780
2891
|
font-family: var(--redsift-typography-body-font-family);
|
|
@@ -2785,10 +2896,10 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2785
2896
|
line-height: var(--redsift-typography-body-line-height);
|
|
2786
2897
|
margin-left: -4px;
|
|
2787
2898
|
transition: padding 300ms ease-out;
|
|
2788
|
-
padding:
|
|
2899
|
+
padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '24px'};
|
|
2789
2900
|
text-decoration: none;
|
|
2790
2901
|
text-transform: uppercase;
|
|
2791
|
-
width: calc(100% + 4px);
|
|
2902
|
+
width: calc(100% + ${$variant === SideNavigationMenuBarVariant.shrinked ? '0px' : '4px'});
|
|
2792
2903
|
|
|
2793
2904
|
:hover,
|
|
2794
2905
|
:focus-visible {
|
|
@@ -2904,16 +3015,24 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2904
3015
|
margin: unset;
|
|
2905
3016
|
padding: unset;
|
|
2906
3017
|
margin-left: -4px;
|
|
2907
|
-
|
|
3018
|
+
|
|
3019
|
+
${_ref5 => {
|
|
3020
|
+
let {
|
|
3021
|
+
$variant
|
|
3022
|
+
} = _ref5;
|
|
3023
|
+
return css`
|
|
3024
|
+
width: calc(100% + ${$variant === SideNavigationMenuBarVariant.shrinked ? '0px' : '4px'});
|
|
3025
|
+
`;
|
|
3026
|
+
}}
|
|
2908
3027
|
margin-bottom: 16px;
|
|
2909
3028
|
max-width: 241px;
|
|
2910
3029
|
transition: height 300ms ease-out;
|
|
2911
3030
|
overflow: hidden;
|
|
2912
|
-
${
|
|
3031
|
+
${_ref6 => {
|
|
2913
3032
|
let {
|
|
2914
3033
|
$isExpanded,
|
|
2915
3034
|
$numberOfChildren
|
|
2916
|
-
} =
|
|
3035
|
+
} = _ref6;
|
|
2917
3036
|
return $isExpanded ? css`
|
|
2918
3037
|
height: ${$numberOfChildren * 38}px;
|
|
2919
3038
|
` : css`
|
|
@@ -2947,7 +3066,9 @@ const SideNavigationMenuReducer = (state, action) => {
|
|
|
2947
3066
|
/**
|
|
2948
3067
|
* Component style.
|
|
2949
3068
|
*/
|
|
2950
|
-
const StyledAppContainer = styled.div
|
|
3069
|
+
const StyledAppContainer = styled.div`
|
|
3070
|
+
box-sizing: content-box;
|
|
3071
|
+
`;
|
|
2951
3072
|
|
|
2952
3073
|
const _excluded$C = ["children", "className", "locale", "product"];
|
|
2953
3074
|
const COMPONENT_NAME$C = 'AppContainer';
|
|
@@ -2965,21 +3086,6 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2965
3086
|
product
|
|
2966
3087
|
} = props,
|
|
2967
3088
|
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
2968
|
-
const {
|
|
2969
|
-
hasAppBar,
|
|
2970
|
-
hasAppSidePanel,
|
|
2971
|
-
hasAppContent
|
|
2972
|
-
} = useMemo(() => {
|
|
2973
|
-
const [[appBar], [appSidePanel], [appContent]] = partitionComponents(React__default.Children.toArray(children), [isComponent('AppBar'), isComponent('AppSidePanel'), isComponent('AppContent')]);
|
|
2974
|
-
return {
|
|
2975
|
-
hasAppBar: Boolean(appBar),
|
|
2976
|
-
hasAppSidePanel: Boolean(appSidePanel),
|
|
2977
|
-
hasAppContent: Boolean(appContent)
|
|
2978
|
-
};
|
|
2979
|
-
}, [children]);
|
|
2980
|
-
if ((hasAppBar || hasAppSidePanel || hasAppContent) && !(hasAppBar && hasAppSidePanel && hasAppContent)) {
|
|
2981
|
-
console.warn('Missing AppSidePanel, AppBar or AppContent inside AppContainer. These components are meant to work together.');
|
|
2982
|
-
}
|
|
2983
3089
|
const [sidePanelVariant, setSidePanelVariant] = useState(AppSidePanelVariant.standard);
|
|
2984
3090
|
const [breadcrumbs, setBreadcrumbs] = useState();
|
|
2985
3091
|
const state = {
|
|
@@ -2989,9 +3095,6 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2989
3095
|
expandSidePanel() {
|
|
2990
3096
|
setSidePanelVariant(AppSidePanelVariant.standard);
|
|
2991
3097
|
},
|
|
2992
|
-
hasAppBar,
|
|
2993
|
-
hasAppSidePanel,
|
|
2994
|
-
hasAppContent,
|
|
2995
3098
|
setBreadcrumbs(breadcrumbs) {
|
|
2996
3099
|
setBreadcrumbs(breadcrumbs);
|
|
2997
3100
|
},
|
|
@@ -3042,7 +3145,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3042
3145
|
tabIndex
|
|
3043
3146
|
} = props,
|
|
3044
3147
|
forwardedProps = _objectWithoutProperties(props, _excluded$B);
|
|
3045
|
-
const _id = useId$1();
|
|
3148
|
+
const [_id] = useId$1();
|
|
3046
3149
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
3047
3150
|
warnIfNoAccessibleLabelFound(props);
|
|
3048
3151
|
const appContainerState = useContext(AppContainerContext);
|
|
@@ -3356,6 +3459,7 @@ SideNavigationMenu.displayName = COMPONENT_NAME$B;
|
|
|
3356
3459
|
*/
|
|
3357
3460
|
const StyledSideNavigationMenuBar = styled.nav`
|
|
3358
3461
|
background-color: var(--redsift-side-navigation-color-background);
|
|
3462
|
+
box-sizing: content-box;
|
|
3359
3463
|
overflow-x: hidden;
|
|
3360
3464
|
overflow-y: auto;
|
|
3361
3465
|
scrollbar-gutter: stable;
|
|
@@ -3683,7 +3787,6 @@ const useAppSidePanel = _ref => {
|
|
|
3683
3787
|
isActive
|
|
3684
3788
|
});
|
|
3685
3789
|
return {
|
|
3686
|
-
logo: /*#__PURE__*/React__default.createElement(React__default.Fragment, null, "Red Sift"),
|
|
3687
3790
|
children: /*#__PURE__*/React__default.createElement(SideNavigationMenuBar, _extends$1({}, sideNavigationMenuBarProps, {
|
|
3688
3791
|
"aria-label": "Navigation"
|
|
3689
3792
|
}))
|
|
@@ -3856,6 +3959,7 @@ const DEFAULT_PROPS$x = {};
|
|
|
3856
3959
|
* The AppBar component.
|
|
3857
3960
|
*/
|
|
3858
3961
|
const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
3962
|
+
var _breadcrumbs$, _appContainerState$pr;
|
|
3859
3963
|
const {
|
|
3860
3964
|
breadcrumbs,
|
|
3861
3965
|
children,
|
|
@@ -3866,12 +3970,19 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3866
3970
|
title: propsTitle
|
|
3867
3971
|
} = props,
|
|
3868
3972
|
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
3973
|
+
const [scroll, setScroll] = useState(false);
|
|
3974
|
+
useEffect(() => {
|
|
3975
|
+
window.addEventListener('scroll', () => {
|
|
3976
|
+
setScroll(window.scrollY > 8);
|
|
3977
|
+
});
|
|
3978
|
+
}, []);
|
|
3869
3979
|
const {
|
|
3870
3980
|
isLoaded
|
|
3871
3981
|
} = useIsLoaded();
|
|
3872
3982
|
const appContainerState = useContext(AppContainerContext);
|
|
3873
3983
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$4);
|
|
3874
3984
|
return /*#__PURE__*/React__default.createElement(StyledAppBar, _extends$1({}, forwardedProps, {
|
|
3985
|
+
$hasBorder: scroll,
|
|
3875
3986
|
$isLoaded: isLoaded,
|
|
3876
3987
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
3877
3988
|
className: classNames(AppBar.className, className),
|
|
@@ -3897,12 +4008,13 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3897
4008
|
}, propsTitle) : breadcrumbs ? /*#__PURE__*/React__default.createElement(Breadcrumbs, {
|
|
3898
4009
|
"aria-label": "Breadcrumb"
|
|
3899
4010
|
}, appContainerState && appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked ? /*#__PURE__*/React__default.createElement(Breadcrumbs.Item, {
|
|
3900
|
-
href: "/"
|
|
3901
|
-
|
|
4011
|
+
href: "/",
|
|
4012
|
+
as: ((_breadcrumbs$ = breadcrumbs[0]) === null || _breadcrumbs$ === void 0 ? void 0 : _breadcrumbs$.as) || 'a'
|
|
4013
|
+
}, typeof appContainerState.product === 'string' ? ProductName[appContainerState.product] : (_appContainerState$pr = appContainerState.product) === null || _appContainerState$pr === void 0 ? void 0 : _appContainerState$pr.name) : null, breadcrumbs.map((breadcrumbItem, index) => /*#__PURE__*/React__default.createElement(Breadcrumbs.Item, _extends$1({
|
|
3902
4014
|
key: index
|
|
3903
4015
|
}, breadcrumbItem, {
|
|
3904
|
-
isDisabled: breadcrumbItem.href === undefined,
|
|
3905
|
-
as: index === breadcrumbs.length - 1 ? 'h1' : breadcrumbItem.href === undefined ? 'span' : 'a'
|
|
4016
|
+
isDisabled: breadcrumbItem.isDisabled || breadcrumbItem.href === undefined,
|
|
4017
|
+
as: index === breadcrumbs.length - 1 ? 'h1' : breadcrumbItem.href === undefined ? 'span' : breadcrumbItem.as || 'a'
|
|
3906
4018
|
})))) : fallbackTitle ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
3907
4019
|
as: "h1"
|
|
3908
4020
|
}, fallbackTitle) : null), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -3917,12 +4029,11 @@ AppBar.displayName = COMPONENT_NAME$x;
|
|
|
3917
4029
|
* Component style.
|
|
3918
4030
|
*/
|
|
3919
4031
|
const StyledAppContent = styled.main`
|
|
4032
|
+
padding: 16px 64px;
|
|
3920
4033
|
${baseContainer}
|
|
3921
4034
|
|
|
3922
4035
|
box-sizing: border-box;
|
|
3923
|
-
margin-top: 92px;
|
|
3924
4036
|
min-height: calc(100vh - 92px);
|
|
3925
|
-
padding: 16px 64px;
|
|
3926
4037
|
|
|
3927
4038
|
@media screen and (max-width: 768px) {
|
|
3928
4039
|
padding: 0px;
|
|
@@ -3933,11 +4044,11 @@ const StyledAppContent = styled.main`
|
|
|
3933
4044
|
$isSidePanelCollapsed
|
|
3934
4045
|
} = _ref;
|
|
3935
4046
|
return !$isSidePanelCollapsed ? css`
|
|
3936
|
-
transform: translate(
|
|
3937
|
-
width: calc(100% -
|
|
4047
|
+
transform: translate(254px);
|
|
4048
|
+
width: calc(100% - 254px);
|
|
3938
4049
|
` : css`
|
|
3939
|
-
transform: translate(
|
|
3940
|
-
width: calc(100% -
|
|
4050
|
+
transform: translate(68px);
|
|
4051
|
+
width: calc(100% - 68px);
|
|
3941
4052
|
`;
|
|
3942
4053
|
}}
|
|
3943
4054
|
|
|
@@ -3951,7 +4062,7 @@ const StyledAppContent = styled.main`
|
|
|
3951
4062
|
}}
|
|
3952
4063
|
`;
|
|
3953
4064
|
|
|
3954
|
-
const _excluded$v = ["children", "className"
|
|
4065
|
+
const _excluded$v = ["children", "className"];
|
|
3955
4066
|
const COMPONENT_NAME$w = 'AppContent';
|
|
3956
4067
|
const CLASSNAME$w = 'redsift-app-content';
|
|
3957
4068
|
const DEFAULT_PROPS$w = {};
|
|
@@ -3962,8 +4073,7 @@ const DEFAULT_PROPS$w = {};
|
|
|
3962
4073
|
const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
3963
4074
|
const {
|
|
3964
4075
|
children,
|
|
3965
|
-
className
|
|
3966
|
-
product
|
|
4076
|
+
className
|
|
3967
4077
|
} = props,
|
|
3968
4078
|
forwardedProps = _objectWithoutProperties(props, _excluded$v);
|
|
3969
4079
|
const {
|
|
@@ -3973,7 +4083,6 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3973
4083
|
return /*#__PURE__*/React__default.createElement(StyledAppContent, _extends$1({}, forwardedProps, {
|
|
3974
4084
|
$isLoaded: isLoaded,
|
|
3975
4085
|
$isSidePanelCollapsed: appContainerState ? appContainerState.sidePanelVariant === AppSidePanelVariant.shrinked : true,
|
|
3976
|
-
$product: product,
|
|
3977
4086
|
className: classNames(AppContent.className, className),
|
|
3978
4087
|
ref: ref
|
|
3979
4088
|
}), children);
|
|
@@ -4067,7 +4176,6 @@ const StyledCard = styled.div`
|
|
|
4067
4176
|
|
|
4068
4177
|
display: flex;
|
|
4069
4178
|
flex-direction: column;
|
|
4070
|
-
padding: 16px;
|
|
4071
4179
|
|
|
4072
4180
|
.redsift-card__header {
|
|
4073
4181
|
align-items: flex-start;
|
|
@@ -4112,6 +4220,12 @@ const StyledCard = styled.div`
|
|
|
4112
4220
|
* Component style.
|
|
4113
4221
|
*/
|
|
4114
4222
|
const StyledCardHeader = styled.div`
|
|
4223
|
+
display: flex;
|
|
4224
|
+
flex-direction: column;
|
|
4225
|
+
width: 100%;
|
|
4226
|
+
${baseStyling}
|
|
4227
|
+
${baseFlexbox}
|
|
4228
|
+
|
|
4115
4229
|
color: var(--redsift-color-neutral-black);
|
|
4116
4230
|
|
|
4117
4231
|
.redsift-card-header__header {
|
|
@@ -4123,10 +4237,6 @@ const StyledCardHeader = styled.div`
|
|
|
4123
4237
|
|
|
4124
4238
|
.redsift-icon {
|
|
4125
4239
|
color: var(--redsift-color-neutral-black);
|
|
4126
|
-
padding-right: 8px;
|
|
4127
|
-
font-size: 30px;
|
|
4128
|
-
line-height: 30px;
|
|
4129
|
-
height: 30px;
|
|
4130
4240
|
}
|
|
4131
4241
|
}
|
|
4132
4242
|
|
|
@@ -4167,7 +4277,7 @@ const StyledSkeleton = styled.div`
|
|
|
4167
4277
|
height: fit-content;
|
|
4168
4278
|
width: fit-content;
|
|
4169
4279
|
|
|
4170
|
-
|
|
4280
|
+
* {
|
|
4171
4281
|
visibility: hidden;
|
|
4172
4282
|
}
|
|
4173
4283
|
|
|
@@ -4367,7 +4477,7 @@ const Skeleton = Object.assign(BaseSkeleton, {
|
|
|
4367
4477
|
Text: SkeletonText
|
|
4368
4478
|
});
|
|
4369
4479
|
|
|
4370
|
-
const _excluded$q = ["children", "className", "header", "headingProps", "icon", "isLoading", "subheader"];
|
|
4480
|
+
const _excluded$q = ["children", "className", "header", "headingProps", "icon", "iconProps", "isLoading", "subheader"];
|
|
4371
4481
|
const COMPONENT_NAME$r = 'CardHeader';
|
|
4372
4482
|
const CLASSNAME$r = 'redsift-card-header';
|
|
4373
4483
|
const DEFAULT_PROPS$r = {};
|
|
@@ -4382,6 +4492,7 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4382
4492
|
header,
|
|
4383
4493
|
headingProps,
|
|
4384
4494
|
icon,
|
|
4495
|
+
iconProps,
|
|
4385
4496
|
isLoading,
|
|
4386
4497
|
subheader
|
|
4387
4498
|
} = props,
|
|
@@ -4395,7 +4506,7 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4395
4506
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
4396
4507
|
className: `${CardHeader.className}__subheader`
|
|
4397
4508
|
}, subheader)) : null, header ? /*#__PURE__*/React__default.createElement(Skeleton.Text, {
|
|
4398
|
-
variant:
|
|
4509
|
+
variant: (headingProps === null || headingProps === void 0 ? void 0 : headingProps.variant) || 'h2',
|
|
4399
4510
|
isLoaded: !isLoading,
|
|
4400
4511
|
marginTop: "10px",
|
|
4401
4512
|
marginBottom: "10px"
|
|
@@ -4404,10 +4515,11 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4404
4515
|
color: "black",
|
|
4405
4516
|
className: `${CardHeader.className}__header`,
|
|
4406
4517
|
variant: "h2"
|
|
4407
|
-
}, headingProps), icon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
4518
|
+
}, headingProps), icon ? /*#__PURE__*/React__default.createElement(Icon, _extends$1({
|
|
4408
4519
|
icon: icon,
|
|
4409
|
-
"aria-hidden": "true"
|
|
4410
|
-
|
|
4520
|
+
"aria-hidden": "true",
|
|
4521
|
+
size: "large"
|
|
4522
|
+
}, iconProps)) : null, header)) : null, children);
|
|
4411
4523
|
});
|
|
4412
4524
|
CardHeader.className = CLASSNAME$r;
|
|
4413
4525
|
CardHeader.defaultProps = DEFAULT_PROPS$r;
|
|
@@ -5282,7 +5394,7 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5282
5394
|
|
|
5283
5395
|
.redsift-detailed-card-section-header__title {
|
|
5284
5396
|
font-size: 18px;
|
|
5285
|
-
font-weight:
|
|
5397
|
+
font-weight: 500;
|
|
5286
5398
|
lineheight: 22px;
|
|
5287
5399
|
padding: 6px 0px;
|
|
5288
5400
|
}
|
|
@@ -5407,6 +5519,7 @@ const StyledDetailedCard = styled.div`
|
|
|
5407
5519
|
background-color: var(--redsift-color-neutral-white);
|
|
5408
5520
|
border-radius: 4px;
|
|
5409
5521
|
box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
|
|
5522
|
+
box-sizing: content-box;
|
|
5410
5523
|
padding: 16px;
|
|
5411
5524
|
|
|
5412
5525
|
.redsift-detailed-card__banner {
|
|
@@ -5485,11 +5598,16 @@ const StyledPill = styled.div`
|
|
|
5485
5598
|
|
|
5486
5599
|
padding: 2px 8px;
|
|
5487
5600
|
text-align: center;
|
|
5488
|
-
|
|
5601
|
+
|
|
5602
|
+
${_ref => {
|
|
5489
5603
|
let {
|
|
5490
5604
|
$autoBreak
|
|
5491
5605
|
} = _ref;
|
|
5492
|
-
return
|
|
5606
|
+
return !$autoBreak ? css`
|
|
5607
|
+
text-wrap: nowrap;
|
|
5608
|
+
` : css`
|
|
5609
|
+
word-break: break-word;
|
|
5610
|
+
`;
|
|
5493
5611
|
}};
|
|
5494
5612
|
|
|
5495
5613
|
${_ref2 => {
|
|
@@ -9259,7 +9377,8 @@ function useTooltip(_ref) {
|
|
|
9259
9377
|
} = _ref;
|
|
9260
9378
|
const arrowRef = useRef(null);
|
|
9261
9379
|
const [isOpen, setIsOpen] = useState(propsIsOpen !== null && propsIsOpen !== void 0 ? propsIsOpen : defaultOpen);
|
|
9262
|
-
const
|
|
9380
|
+
const [_id] = useId$1();
|
|
9381
|
+
const tooltipId = propsTooltipId !== null && propsTooltipId !== void 0 ? propsTooltipId : _id;
|
|
9263
9382
|
useEffect(() => {
|
|
9264
9383
|
setIsOpen(propsIsOpen !== null && propsIsOpen !== void 0 ? propsIsOpen : defaultOpen);
|
|
9265
9384
|
}, [propsIsOpen, defaultOpen]);
|
|
@@ -9671,9 +9790,9 @@ const FocusWithinGroupReducer = (state, action) => {
|
|
|
9671
9790
|
const currentTabStop = state.tabStops[index];
|
|
9672
9791
|
return currentTabStop.isDisabled ? _objectSpread2(_objectSpread2({}, state), {}, {
|
|
9673
9792
|
delayedAction: undefined
|
|
9674
|
-
}) : selectTabStop(_objectSpread2(_objectSpread2({}, state), {}, {
|
|
9793
|
+
}, action.payload) : selectTabStop(_objectSpread2(_objectSpread2({}, state), {}, {
|
|
9675
9794
|
delayedAction: undefined
|
|
9676
|
-
}), currentTabStop, undefined, state.focusOnClick);
|
|
9795
|
+
}, action.payload), currentTabStop, undefined, state.focusOnClick);
|
|
9677
9796
|
}
|
|
9678
9797
|
case FocusWithinGroupActionType.BLUR_ON_LIST:
|
|
9679
9798
|
{
|
|
@@ -9706,8 +9825,7 @@ const FocusWithinGroupReducer = (state, action) => {
|
|
|
9706
9825
|
return _objectSpread2(_objectSpread2({}, state), action.payload);
|
|
9707
9826
|
case FocusWithinGroupActionType.FILTER_LIST:
|
|
9708
9827
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
9709
|
-
selectedId: null
|
|
9710
|
-
activedescendant: ['', '']
|
|
9828
|
+
selectedId: null
|
|
9711
9829
|
}, action.payload);
|
|
9712
9830
|
case FocusWithinGroupActionType.DELAY_ACTION:
|
|
9713
9831
|
return _objectSpread2(_objectSpread2({}, state), {}, {
|
|
@@ -10229,10 +10347,43 @@ const StyledGrid = styled.div`
|
|
|
10229
10347
|
} = _ref;
|
|
10230
10348
|
return inline ? 'inline-grid' : 'grid';
|
|
10231
10349
|
}};
|
|
10350
|
+
flex: 1;
|
|
10232
10351
|
|
|
10233
10352
|
${baseStyling}
|
|
10234
10353
|
${baseInternalSpacing}
|
|
10235
10354
|
${baseGrid}
|
|
10355
|
+
|
|
10356
|
+
${_ref2 => {
|
|
10357
|
+
let {
|
|
10358
|
+
$divider
|
|
10359
|
+
} = _ref2;
|
|
10360
|
+
return $divider ? css`
|
|
10361
|
+
overflow: hidden;
|
|
10362
|
+
.redsift-grid-item {
|
|
10363
|
+
position: relative;
|
|
10364
|
+
|
|
10365
|
+
::before {
|
|
10366
|
+
content: '';
|
|
10367
|
+
position: absolute;
|
|
10368
|
+
background-color: var(--redsift-color-neutral-lightgrey);
|
|
10369
|
+
inline-size: 1px;
|
|
10370
|
+
block-size: 100%;
|
|
10371
|
+
inset-inline-start: calc(${Math.max(1, $divider.colGap / 2)}px * -1);
|
|
10372
|
+
}
|
|
10373
|
+
|
|
10374
|
+
::after {
|
|
10375
|
+
content: '';
|
|
10376
|
+
position: absolute;
|
|
10377
|
+
background-color: var(--redsift-color-neutral-lightgrey);
|
|
10378
|
+
inline-size: 100vw;
|
|
10379
|
+
block-size: 1px;
|
|
10380
|
+
inset-inline-start: 0;
|
|
10381
|
+
inset-block-start: calc(${Math.max(1, $divider.rowGap / 2)}px * -1);
|
|
10382
|
+
z-index: 0;
|
|
10383
|
+
}
|
|
10384
|
+
}
|
|
10385
|
+
` : '';
|
|
10386
|
+
}}
|
|
10236
10387
|
`;
|
|
10237
10388
|
|
|
10238
10389
|
/**
|
|
@@ -10268,7 +10419,7 @@ GridItem.className = CLASSNAME$b;
|
|
|
10268
10419
|
GridItem.defaultProps = DEFAULT_PROPS$b;
|
|
10269
10420
|
GridItem.displayName = COMPONENT_NAME$b;
|
|
10270
10421
|
|
|
10271
|
-
const _excluded$c = ["children", "className"];
|
|
10422
|
+
const _excluded$c = ["children", "className", "divider", "gap"];
|
|
10272
10423
|
const COMPONENT_NAME$a = 'Grid';
|
|
10273
10424
|
const CLASSNAME$a = 'redsift-grid';
|
|
10274
10425
|
const DEFAULT_PROPS$a = {};
|
|
@@ -10279,12 +10430,16 @@ const DEFAULT_PROPS$a = {};
|
|
|
10279
10430
|
const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
10280
10431
|
const {
|
|
10281
10432
|
children,
|
|
10282
|
-
className
|
|
10433
|
+
className,
|
|
10434
|
+
divider,
|
|
10435
|
+
gap
|
|
10283
10436
|
} = props,
|
|
10284
10437
|
forwardedProps = _objectWithoutProperties(props, _excluded$c);
|
|
10285
10438
|
return /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
|
|
10439
|
+
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
10286
10440
|
className: classNames(BaseGrid.className, className),
|
|
10287
|
-
ref: ref
|
|
10441
|
+
ref: ref,
|
|
10442
|
+
$divider: divider
|
|
10288
10443
|
}), children);
|
|
10289
10444
|
});
|
|
10290
10445
|
BaseGrid.className = CLASSNAME$a;
|
|
@@ -10298,9 +10453,9 @@ const Grid = Object.assign(BaseGrid, {
|
|
|
10298
10453
|
* Component style.
|
|
10299
10454
|
*/
|
|
10300
10455
|
const StyledItem = styled.div`
|
|
10301
|
-
height:
|
|
10456
|
+
height: 36px;
|
|
10302
10457
|
position: relative;
|
|
10303
|
-
width:
|
|
10458
|
+
width: 100%;
|
|
10304
10459
|
padding: 8px 16px;
|
|
10305
10460
|
|
|
10306
10461
|
${baseStyling}
|
|
@@ -10308,6 +10463,7 @@ const StyledItem = styled.div`
|
|
|
10308
10463
|
align-items: center;
|
|
10309
10464
|
background: none;
|
|
10310
10465
|
border: none;
|
|
10466
|
+
box-sizing: border-box;
|
|
10311
10467
|
display: inline-flex;
|
|
10312
10468
|
|
|
10313
10469
|
${_ref => {
|
|
@@ -10868,7 +11024,8 @@ const Listbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10868
11024
|
variant
|
|
10869
11025
|
} = props,
|
|
10870
11026
|
forwardedProps = _objectWithoutProperties(props, _excluded$6);
|
|
10871
|
-
const
|
|
11027
|
+
const [_id] = useId$1();
|
|
11028
|
+
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
10872
11029
|
const _ref = useRef();
|
|
10873
11030
|
const divRef = ref !== null && ref !== void 0 ? ref : _ref;
|
|
10874
11031
|
const [state, dispatch] = useReducer(ListboxReducer, _objectSpread2(_objectSpread2({}, LISTBOX_INITIAL_STATE), {}, {
|
|
@@ -12098,7 +12255,7 @@ const StyledTextField = styled.div`
|
|
|
12098
12255
|
}}
|
|
12099
12256
|
`;
|
|
12100
12257
|
|
|
12101
|
-
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", "placeholder", "value", "variant"];
|
|
12258
|
+
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", "placeholder", "type", "value", "variant"];
|
|
12102
12259
|
const COMPONENT_NAME = 'TextField';
|
|
12103
12260
|
const CLASSNAME = 'redsift-text-field';
|
|
12104
12261
|
const DEFAULT_PROPS = {
|
|
@@ -12136,6 +12293,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12136
12293
|
onClear,
|
|
12137
12294
|
onFocus: onFocusProps,
|
|
12138
12295
|
placeholder,
|
|
12296
|
+
type,
|
|
12139
12297
|
value: propsValue,
|
|
12140
12298
|
variant
|
|
12141
12299
|
} = props,
|
|
@@ -12167,8 +12325,9 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12167
12325
|
}
|
|
12168
12326
|
if (onChange) {
|
|
12169
12327
|
onChange(event.target.value, name, event);
|
|
12328
|
+
} else {
|
|
12329
|
+
setValue(event.target.value);
|
|
12170
12330
|
}
|
|
12171
|
-
setValue(event.target.value);
|
|
12172
12331
|
}, [onChange]);
|
|
12173
12332
|
const handleClear = useCallback(() => {
|
|
12174
12333
|
if (isDisabled || isReadOnly) {
|
|
@@ -12226,7 +12385,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12226
12385
|
onChange: handleChange,
|
|
12227
12386
|
placeholder: placeholder,
|
|
12228
12387
|
ref: inputRef,
|
|
12229
|
-
type:
|
|
12388
|
+
type: type,
|
|
12230
12389
|
value: value
|
|
12231
12390
|
})), hasClearButton || internal || after ? /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
12232
12391
|
className: `${TextField.className}-input-wrapper__toolbar`,
|
|
@@ -12253,5 +12412,5 @@ TextField.className = CLASSNAME;
|
|
|
12253
12412
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
12254
12413
|
TextField.displayName = COMPONENT_NAME;
|
|
12255
12414
|
|
|
12256
|
-
export { ActiveDescendantListbox, Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, AppSidePanelVariant, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, 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, PresentationColorPalette, Product, ProductColorPalette, ProductName, 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, isComponent, partitionComponents, sizeToDimension$1 as sizeToDimension, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
12415
|
+
export { ActiveDescendantListbox, Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, AppSidePanelVariant, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, 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, PresentationColorPalette, Product, ProductColorPalette, ProductLogo, ProductName, 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, isComponent, nextId, partitionComponents, resetId, setPrefix, sizeToDimension$1 as sizeToDimension, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useId$1 as useId, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
12257
12416
|
//# sourceMappingURL=index.js.map
|