@redsift/design-system 9.2.4 → 9.3.0-muiv5
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 +28 -5
- package/index.js +472 -406
- package/index.js.map +1 -1
- package/package.json +2 -3
- package/style/index.css +113 -113
- package/style/redsift-design-tokens.css +113 -113
- package/style/redsift.css +113 -113
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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,
|
|
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
6
|
import React__default, { useState, useEffect, forwardRef, useRef, useCallback, useContext, useReducer, useMemo, useLayoutEffect } from 'react';
|
|
7
7
|
import classNames from 'classnames';
|
|
@@ -234,7 +234,7 @@ function partitionComponents(components, predicates) {
|
|
|
234
234
|
|
|
235
235
|
/**
|
|
236
236
|
* Do not edit directly
|
|
237
|
-
* Generated on
|
|
237
|
+
* Generated on Wed, 20 Dec 2023 08:32:38 GMT
|
|
238
238
|
*/
|
|
239
239
|
|
|
240
240
|
const RedsiftColorRedsift = '#e11010';
|
|
@@ -456,7 +456,7 @@ const RedsiftTypographyButtonFontWeight = '500';
|
|
|
456
456
|
const RedsiftTypographyButtonLineHeight = '24px';
|
|
457
457
|
const RedsiftTypographyButtonTextTransform = 'uppercase';
|
|
458
458
|
const RedsiftTypographyCaptionFontFamily = "'Poppins', sans-serif";
|
|
459
|
-
const RedsiftTypographyCaptionFontSize = '
|
|
459
|
+
const RedsiftTypographyCaptionFontSize = '13px';
|
|
460
460
|
const RedsiftTypographyCaptionFontWeight = '400';
|
|
461
461
|
const RedsiftTypographyCaptionLineHeight = '18px';
|
|
462
462
|
const RedsiftTypographyCaptionTextTransform = 'unset';
|
|
@@ -472,7 +472,7 @@ const RedsiftTypographyBadgeLineHeight = '12px';
|
|
|
472
472
|
const RedsiftTypographyPillFontFamily = "'Poppins', sans-serif";
|
|
473
473
|
const RedsiftTypographyPillFontSize = '10px';
|
|
474
474
|
const RedsiftTypographyPillFontWeight = '400';
|
|
475
|
-
const RedsiftTypographyPillLineHeight = '
|
|
475
|
+
const RedsiftTypographyPillLineHeight = '15px';
|
|
476
476
|
const RedsiftTypographyChipFontFamily = "'Poppins', sans-serif";
|
|
477
477
|
const RedsiftTypographyChipFontSize = '12px';
|
|
478
478
|
const RedsiftTypographyChipFontWeight = '400';
|
|
@@ -1036,10 +1036,10 @@ const StyledIcon = styled.span`
|
|
|
1036
1036
|
}}
|
|
1037
1037
|
`;
|
|
1038
1038
|
|
|
1039
|
-
const _excluded$
|
|
1040
|
-
const COMPONENT_NAME$
|
|
1041
|
-
const CLASSNAME$
|
|
1042
|
-
const DEFAULT_PROPS$
|
|
1039
|
+
const _excluded$P = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
|
|
1040
|
+
const COMPONENT_NAME$P = 'Icon';
|
|
1041
|
+
const CLASSNAME$P = 'redsift-icon';
|
|
1042
|
+
const DEFAULT_PROPS$P = {
|
|
1043
1043
|
size: IconSize.medium
|
|
1044
1044
|
};
|
|
1045
1045
|
const sizeToDimension$1 = size => {
|
|
@@ -1107,7 +1107,7 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1107
1107
|
size,
|
|
1108
1108
|
svgProps
|
|
1109
1109
|
} = props,
|
|
1110
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1110
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$P);
|
|
1111
1111
|
const {
|
|
1112
1112
|
width,
|
|
1113
1113
|
height,
|
|
@@ -1140,9 +1140,9 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1140
1140
|
width
|
|
1141
1141
|
}, svgProps)), badge ? badge : null);
|
|
1142
1142
|
});
|
|
1143
|
-
Icon.className = CLASSNAME$
|
|
1144
|
-
Icon.defaultProps = DEFAULT_PROPS$
|
|
1145
|
-
Icon.displayName = COMPONENT_NAME$
|
|
1143
|
+
Icon.className = CLASSNAME$P;
|
|
1144
|
+
Icon.defaultProps = DEFAULT_PROPS$P;
|
|
1145
|
+
Icon.displayName = COMPONENT_NAME$P;
|
|
1146
1146
|
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Component variant.
|
|
@@ -1385,10 +1385,10 @@ var spinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmc
|
|
|
1385
1385
|
|
|
1386
1386
|
var uncoloredSpinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iI2JkYmRiZCIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiNiZGJkYmQiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
|
|
1387
1387
|
|
|
1388
|
-
const _excluded$
|
|
1389
|
-
const COMPONENT_NAME$
|
|
1390
|
-
const CLASSNAME$
|
|
1391
|
-
const DEFAULT_PROPS$
|
|
1388
|
+
const _excluded$O = ["aria-hidden", "aria-label", "className", "isColored", "size"];
|
|
1389
|
+
const COMPONENT_NAME$O = 'Spinner';
|
|
1390
|
+
const CLASSNAME$O = 'redsift-shield';
|
|
1391
|
+
const DEFAULT_PROPS$O = {
|
|
1392
1392
|
isColored: true,
|
|
1393
1393
|
size: SpinnerSize.medium
|
|
1394
1394
|
};
|
|
@@ -1429,7 +1429,7 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1429
1429
|
isColored,
|
|
1430
1430
|
size
|
|
1431
1431
|
} = props,
|
|
1432
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1432
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$O);
|
|
1433
1433
|
const {
|
|
1434
1434
|
width,
|
|
1435
1435
|
height
|
|
@@ -1448,14 +1448,14 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1448
1448
|
$size: size
|
|
1449
1449
|
}));
|
|
1450
1450
|
});
|
|
1451
|
-
Spinner.className = CLASSNAME$
|
|
1452
|
-
Spinner.defaultProps = DEFAULT_PROPS$
|
|
1453
|
-
Spinner.displayName = COMPONENT_NAME$
|
|
1451
|
+
Spinner.className = CLASSNAME$O;
|
|
1452
|
+
Spinner.defaultProps = DEFAULT_PROPS$O;
|
|
1453
|
+
Spinner.displayName = COMPONENT_NAME$O;
|
|
1454
1454
|
|
|
1455
|
-
const _excluded$
|
|
1456
|
-
const COMPONENT_NAME$
|
|
1457
|
-
const CLASSNAME$
|
|
1458
|
-
const DEFAULT_PROPS$
|
|
1455
|
+
const _excluded$N = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isHovered", "isLoading", "leftIcon", "leftIconProps", "rightIcon", "rightIconProps", "variant"];
|
|
1456
|
+
const COMPONENT_NAME$N = 'Button';
|
|
1457
|
+
const CLASSNAME$N = 'redsift-button';
|
|
1458
|
+
const DEFAULT_PROPS$N = {
|
|
1459
1459
|
color: CtasColorPalette.primary,
|
|
1460
1460
|
height: 'fit-content',
|
|
1461
1461
|
variant: ButtonVariant.primary
|
|
@@ -1487,7 +1487,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1487
1487
|
rightIconProps,
|
|
1488
1488
|
variant
|
|
1489
1489
|
} = props,
|
|
1490
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1490
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$N);
|
|
1491
1491
|
const isDisabled = isLoading || propsIsDisabled || disabled;
|
|
1492
1492
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, {
|
|
1493
1493
|
$color: color,
|
|
@@ -1514,9 +1514,9 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1514
1514
|
className: "right"
|
|
1515
1515
|
}, rightIconProps)) : null);
|
|
1516
1516
|
});
|
|
1517
|
-
Button.className = CLASSNAME$
|
|
1518
|
-
Button.defaultProps = DEFAULT_PROPS$
|
|
1519
|
-
Button.displayName = COMPONENT_NAME$
|
|
1517
|
+
Button.className = CLASSNAME$N;
|
|
1518
|
+
Button.defaultProps = DEFAULT_PROPS$N;
|
|
1519
|
+
Button.displayName = COMPONENT_NAME$N;
|
|
1520
1520
|
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Component style.
|
|
@@ -1543,10 +1543,10 @@ const StyledIconButton = styled(StyledButton)`
|
|
|
1543
1543
|
}}
|
|
1544
1544
|
`;
|
|
1545
1545
|
|
|
1546
|
-
const _excluded$
|
|
1547
|
-
const COMPONENT_NAME$
|
|
1548
|
-
const CLASSNAME$
|
|
1549
|
-
const DEFAULT_PROPS$
|
|
1546
|
+
const _excluded$M = ["className", "color", "disabled", "icon", "iconProps", "isActive", "isDisabled", "isHovered", "isLoading", "variant"];
|
|
1547
|
+
const COMPONENT_NAME$M = 'IconButton';
|
|
1548
|
+
const CLASSNAME$M = 'redsift-icon-button';
|
|
1549
|
+
const DEFAULT_PROPS$M = {
|
|
1550
1550
|
color: CtasColorPalette.primary,
|
|
1551
1551
|
height: 'fit-content',
|
|
1552
1552
|
variant: IconButtonVariant.unstyled
|
|
@@ -1572,7 +1572,7 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1572
1572
|
isLoading,
|
|
1573
1573
|
variant
|
|
1574
1574
|
} = props,
|
|
1575
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1575
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$M);
|
|
1576
1576
|
const isDisabled = props.isLoading || propsIsDisabled || disabled;
|
|
1577
1577
|
warnIfNoAccessibleLabelFound(props);
|
|
1578
1578
|
return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, {
|
|
@@ -1593,9 +1593,9 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1593
1593
|
color: isDisabled ? undefined : color
|
|
1594
1594
|
})));
|
|
1595
1595
|
});
|
|
1596
|
-
IconButton.className = CLASSNAME$
|
|
1597
|
-
IconButton.defaultProps = DEFAULT_PROPS$
|
|
1598
|
-
IconButton.displayName = COMPONENT_NAME$
|
|
1596
|
+
IconButton.className = CLASSNAME$M;
|
|
1597
|
+
IconButton.defaultProps = DEFAULT_PROPS$M;
|
|
1598
|
+
IconButton.displayName = COMPONENT_NAME$M;
|
|
1599
1599
|
|
|
1600
1600
|
/**
|
|
1601
1601
|
* Component style.
|
|
@@ -1755,16 +1755,14 @@ const StyledText = styled.span`
|
|
|
1755
1755
|
overflow: hidden;
|
|
1756
1756
|
text-overflow: ellipsis;
|
|
1757
1757
|
white-space: nowrap;
|
|
1758
|
-
` :
|
|
1759
|
-
word-break: break-word;
|
|
1760
|
-
`;
|
|
1758
|
+
` : '';
|
|
1761
1759
|
}}
|
|
1762
1760
|
`;
|
|
1763
1761
|
|
|
1764
|
-
const _excluded$
|
|
1765
|
-
const COMPONENT_NAME$
|
|
1766
|
-
const CLASSNAME$
|
|
1767
|
-
const DEFAULT_PROPS$
|
|
1762
|
+
const _excluded$L = ["as", "children", "className", "color", "fontFamily", "fontSize", "fontWeight", "lineHeight", "noWrap", "variant"];
|
|
1763
|
+
const COMPONENT_NAME$L = 'Text';
|
|
1764
|
+
const CLASSNAME$L = 'redsift-text';
|
|
1765
|
+
const DEFAULT_PROPS$L = {
|
|
1768
1766
|
fontFamily: FontFamily.poppins
|
|
1769
1767
|
};
|
|
1770
1768
|
|
|
@@ -1784,7 +1782,7 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1784
1782
|
noWrap,
|
|
1785
1783
|
variant
|
|
1786
1784
|
} = props,
|
|
1787
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1785
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$L);
|
|
1788
1786
|
return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
|
|
1789
1787
|
as: as
|
|
1790
1788
|
}, forwardedProps, {
|
|
@@ -1800,9 +1798,9 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1800
1798
|
$variant: variant
|
|
1801
1799
|
}), children);
|
|
1802
1800
|
});
|
|
1803
|
-
Text.className = CLASSNAME$
|
|
1804
|
-
Text.defaultProps = DEFAULT_PROPS$
|
|
1805
|
-
Text.displayName = COMPONENT_NAME$
|
|
1801
|
+
Text.className = CLASSNAME$L;
|
|
1802
|
+
Text.defaultProps = DEFAULT_PROPS$L;
|
|
1803
|
+
Text.displayName = COMPONENT_NAME$L;
|
|
1806
1804
|
|
|
1807
1805
|
/**
|
|
1808
1806
|
* Component style.
|
|
@@ -1852,10 +1850,10 @@ const StyledFlexbox = styled.div`
|
|
|
1852
1850
|
}}
|
|
1853
1851
|
`;
|
|
1854
1852
|
|
|
1855
|
-
const _excluded$
|
|
1856
|
-
const COMPONENT_NAME$
|
|
1857
|
-
const CLASSNAME$
|
|
1858
|
-
const DEFAULT_PROPS$
|
|
1853
|
+
const _excluded$K = ["children", "className", "divider", "gap"];
|
|
1854
|
+
const COMPONENT_NAME$K = 'Flexbox';
|
|
1855
|
+
const CLASSNAME$K = 'redsift-flex-box';
|
|
1856
|
+
const DEFAULT_PROPS$K = {
|
|
1859
1857
|
gap: '16px'
|
|
1860
1858
|
};
|
|
1861
1859
|
|
|
@@ -1869,7 +1867,7 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1869
1867
|
divider,
|
|
1870
1868
|
gap
|
|
1871
1869
|
} = props,
|
|
1872
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1870
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$K);
|
|
1873
1871
|
return /*#__PURE__*/React__default.createElement(StyledFlexbox, _extends$1({}, forwardedProps, {
|
|
1874
1872
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
1875
1873
|
className: classNames(Flexbox.className, className),
|
|
@@ -1877,14 +1875,14 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1877
1875
|
$divider: divider
|
|
1878
1876
|
}), children);
|
|
1879
1877
|
});
|
|
1880
|
-
Flexbox.className = CLASSNAME$
|
|
1881
|
-
Flexbox.defaultProps = DEFAULT_PROPS$
|
|
1882
|
-
Flexbox.displayName = COMPONENT_NAME$
|
|
1883
|
-
|
|
1884
|
-
const _excluded$
|
|
1885
|
-
const COMPONENT_NAME$
|
|
1886
|
-
const CLASSNAME$
|
|
1887
|
-
const DEFAULT_PROPS$
|
|
1878
|
+
Flexbox.className = CLASSNAME$K;
|
|
1879
|
+
Flexbox.defaultProps = DEFAULT_PROPS$K;
|
|
1880
|
+
Flexbox.displayName = COMPONENT_NAME$K;
|
|
1881
|
+
|
|
1882
|
+
const _excluded$J = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
|
|
1883
|
+
const COMPONENT_NAME$J = 'Alert';
|
|
1884
|
+
const CLASSNAME$J = 'redsift-alert';
|
|
1885
|
+
const DEFAULT_PROPS$J = {
|
|
1888
1886
|
variant: 'info'
|
|
1889
1887
|
};
|
|
1890
1888
|
const getVariant$1 = variant => {
|
|
@@ -1926,7 +1924,7 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1926
1924
|
title,
|
|
1927
1925
|
variant
|
|
1928
1926
|
} = props,
|
|
1929
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1927
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$J);
|
|
1930
1928
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$6);
|
|
1931
1929
|
const {
|
|
1932
1930
|
color,
|
|
@@ -1972,9 +1970,9 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1972
1970
|
className: `${Alert.className}__content`
|
|
1973
1971
|
}, children) : null);
|
|
1974
1972
|
});
|
|
1975
|
-
Alert.className = CLASSNAME$
|
|
1976
|
-
Alert.defaultProps = DEFAULT_PROPS$
|
|
1977
|
-
Alert.displayName = COMPONENT_NAME$
|
|
1973
|
+
Alert.className = CLASSNAME$J;
|
|
1974
|
+
Alert.defaultProps = DEFAULT_PROPS$J;
|
|
1975
|
+
Alert.displayName = COMPONENT_NAME$J;
|
|
1978
1976
|
|
|
1979
1977
|
var expand$7 = "Expand left side panel";
|
|
1980
1978
|
var collapse$7 = "Collapse left side panel";
|
|
@@ -2199,16 +2197,14 @@ const StyledHeading = styled.span`
|
|
|
2199
2197
|
overflow: hidden;
|
|
2200
2198
|
text-overflow: ellipsis;
|
|
2201
2199
|
white-space: nowrap;
|
|
2202
|
-
` :
|
|
2203
|
-
word-break: break-word;
|
|
2204
|
-
`;
|
|
2200
|
+
` : '';
|
|
2205
2201
|
}}
|
|
2206
2202
|
`;
|
|
2207
2203
|
|
|
2208
|
-
const _excluded$
|
|
2209
|
-
const COMPONENT_NAME$
|
|
2210
|
-
const CLASSNAME$
|
|
2211
|
-
const DEFAULT_PROPS$
|
|
2204
|
+
const _excluded$I = ["as", "children", "className", "noWrap", "variant"];
|
|
2205
|
+
const COMPONENT_NAME$I = 'Heading';
|
|
2206
|
+
const CLASSNAME$I = 'redsift-heading';
|
|
2207
|
+
const DEFAULT_PROPS$I = {};
|
|
2212
2208
|
|
|
2213
2209
|
/**
|
|
2214
2210
|
* The Heading component.
|
|
@@ -2221,7 +2217,7 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2221
2217
|
noWrap,
|
|
2222
2218
|
variant
|
|
2223
2219
|
} = props,
|
|
2224
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2220
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$I);
|
|
2225
2221
|
return /*#__PURE__*/React__default.createElement(StyledHeading, _extends$1({
|
|
2226
2222
|
as: as
|
|
2227
2223
|
}, forwardedProps, {
|
|
@@ -2231,9 +2227,9 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2231
2227
|
$variant: variant ? variant : as === 'span' ? 'body' : as
|
|
2232
2228
|
}), children);
|
|
2233
2229
|
});
|
|
2234
|
-
Heading.className = CLASSNAME$
|
|
2235
|
-
Heading.defaultProps = DEFAULT_PROPS$
|
|
2236
|
-
Heading.displayName = COMPONENT_NAME$
|
|
2230
|
+
Heading.className = CLASSNAME$I;
|
|
2231
|
+
Heading.defaultProps = DEFAULT_PROPS$I;
|
|
2232
|
+
Heading.displayName = COMPONENT_NAME$I;
|
|
2237
2233
|
|
|
2238
2234
|
/**
|
|
2239
2235
|
* Component variant.
|
|
@@ -2408,10 +2404,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2408
2404
|
}
|
|
2409
2405
|
`;
|
|
2410
2406
|
|
|
2411
|
-
const _excluded$
|
|
2412
|
-
const COMPONENT_NAME$
|
|
2413
|
-
const CLASSNAME$
|
|
2414
|
-
const DEFAULT_PROPS$
|
|
2407
|
+
const _excluded$H = ["children", "className", "featuredElements", "logo", "variant", "onOpen", "iconButtonProps", "iconButtonRef"];
|
|
2408
|
+
const COMPONENT_NAME$H = 'AppSidePanel';
|
|
2409
|
+
const CLASSNAME$H = 'redsift-app-side-panel';
|
|
2410
|
+
const DEFAULT_PROPS$H = {
|
|
2415
2411
|
variant: AppSidePanelVariant.standard
|
|
2416
2412
|
};
|
|
2417
2413
|
|
|
@@ -2429,7 +2425,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2429
2425
|
iconButtonProps,
|
|
2430
2426
|
iconButtonRef
|
|
2431
2427
|
} = props,
|
|
2432
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2428
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$H);
|
|
2433
2429
|
const {
|
|
2434
2430
|
width
|
|
2435
2431
|
} = useWindowSize();
|
|
@@ -2475,9 +2471,9 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2475
2471
|
className: `${AppSidePanel.className}__featured`
|
|
2476
2472
|
}, featuredElements) : null, children);
|
|
2477
2473
|
});
|
|
2478
|
-
AppSidePanel.className = CLASSNAME$
|
|
2479
|
-
AppSidePanel.defaultProps = DEFAULT_PROPS$
|
|
2480
|
-
AppSidePanel.displayName = COMPONENT_NAME$
|
|
2474
|
+
AppSidePanel.className = CLASSNAME$H;
|
|
2475
|
+
AppSidePanel.defaultProps = DEFAULT_PROPS$H;
|
|
2476
|
+
AppSidePanel.displayName = COMPONENT_NAME$H;
|
|
2481
2477
|
|
|
2482
2478
|
/**
|
|
2483
2479
|
* Component variant.
|
|
@@ -2545,13 +2541,11 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2545
2541
|
$isDisabled
|
|
2546
2542
|
} = _ref;
|
|
2547
2543
|
return !$isDisabled ? css`
|
|
2548
|
-
|
|
2549
|
-
.redsift-icon.first {
|
|
2544
|
+
& {
|
|
2550
2545
|
color: var(--redsift-side-navigation-color-menu-item-text-resting);
|
|
2551
2546
|
}
|
|
2552
2547
|
` : css`
|
|
2553
|
-
|
|
2554
|
-
.redsift-icon.first {
|
|
2548
|
+
& {
|
|
2555
2549
|
color: var(--redsift-side-navigation-color-menu-item-text-disabled);
|
|
2556
2550
|
}
|
|
2557
2551
|
`;
|
|
@@ -2579,8 +2573,7 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2579
2573
|
} = _ref2;
|
|
2580
2574
|
return !$isDisabled ? css`
|
|
2581
2575
|
background-color: var(--redsift-side-navigation-color-menu-item-background-hover);
|
|
2582
|
-
|
|
2583
|
-
.redsift-icon.first {
|
|
2576
|
+
& {
|
|
2584
2577
|
color: var(--redsift-side-navigation-color-menu-item-text-hover);
|
|
2585
2578
|
}
|
|
2586
2579
|
` : '';
|
|
@@ -2662,11 +2655,27 @@ const StyledSideNavigationMenuItem = styled.a`
|
|
|
2662
2655
|
background-color: var(--redsift-side-navigation-color-menu-item-background-secondary);
|
|
2663
2656
|
font-size: var(--redsift-typography-caption-font-size);
|
|
2664
2657
|
padding-bottom: 7px;
|
|
2665
|
-
|
|
2666
|
-
|
|
2658
|
+
margin-left: 62px;
|
|
2659
|
+
margin-right: 8px;
|
|
2667
2660
|
padding-top: 7px;
|
|
2661
|
+
border-radius: 0;
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
.redsift-icon.first {
|
|
2665
|
+
box-sizing: unset;
|
|
2666
|
+
margin-right: 0;
|
|
2667
|
+
}
|
|
2668
2668
|
`;
|
|
2669
2669
|
}}
|
|
2670
|
+
|
|
2671
|
+
${_ref6 => {
|
|
2672
|
+
let {
|
|
2673
|
+
$hasBorder
|
|
2674
|
+
} = _ref6;
|
|
2675
|
+
return $hasBorder ? css`
|
|
2676
|
+
border-bottom: 1px solid var(--redsift-color-neutral-lightgrey);
|
|
2677
|
+
` : '';
|
|
2678
|
+
}}
|
|
2670
2679
|
`;
|
|
2671
2680
|
|
|
2672
2681
|
/**
|
|
@@ -2766,10 +2775,10 @@ const StyledBadge = styled.div`
|
|
|
2766
2775
|
}}
|
|
2767
2776
|
`;
|
|
2768
2777
|
|
|
2769
|
-
const _excluded$
|
|
2770
|
-
const COMPONENT_NAME$
|
|
2771
|
-
const CLASSNAME$
|
|
2772
|
-
const DEFAULT_PROPS$
|
|
2778
|
+
const _excluded$G = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
|
|
2779
|
+
const COMPONENT_NAME$G = 'Badge';
|
|
2780
|
+
const CLASSNAME$G = 'redsift-badge';
|
|
2781
|
+
const DEFAULT_PROPS$G = {
|
|
2773
2782
|
color: NotificationsColorPalette.question,
|
|
2774
2783
|
variant: BadgeVariant.dot
|
|
2775
2784
|
};
|
|
@@ -2786,7 +2795,7 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2786
2795
|
isReversed,
|
|
2787
2796
|
variant
|
|
2788
2797
|
} = props,
|
|
2789
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2798
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$G);
|
|
2790
2799
|
return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
|
|
2791
2800
|
$autoBreak: autoBreak,
|
|
2792
2801
|
$color: color,
|
|
@@ -2796,18 +2805,14 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2796
2805
|
ref: ref
|
|
2797
2806
|
}), variant === BadgeVariant.standard ? children : null);
|
|
2798
2807
|
});
|
|
2799
|
-
Badge.className = CLASSNAME$
|
|
2800
|
-
Badge.defaultProps = DEFAULT_PROPS$
|
|
2801
|
-
Badge.displayName = COMPONENT_NAME$
|
|
2802
|
-
|
|
2803
|
-
// Material Design Icons v7.2.96
|
|
2804
|
-
var mdiCircleMedium = "M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8Z";
|
|
2805
|
-
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";
|
|
2808
|
+
Badge.className = CLASSNAME$G;
|
|
2809
|
+
Badge.defaultProps = DEFAULT_PROPS$G;
|
|
2810
|
+
Badge.displayName = COMPONENT_NAME$G;
|
|
2806
2811
|
|
|
2807
|
-
const _excluded$
|
|
2808
|
-
const COMPONENT_NAME$
|
|
2809
|
-
const CLASSNAME$
|
|
2810
|
-
const DEFAULT_PROPS$
|
|
2812
|
+
const _excluded$F = ["as", "badge", "badgeProps", "children", "className", "hasBorder", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex"];
|
|
2813
|
+
const COMPONENT_NAME$F = 'SideNavigationMenuItem';
|
|
2814
|
+
const CLASSNAME$F = 'redsift-side-navigation-menu-item';
|
|
2815
|
+
const DEFAULT_PROPS$F = {};
|
|
2811
2816
|
|
|
2812
2817
|
/**
|
|
2813
2818
|
* The SideNavigationMenuItem component.
|
|
@@ -2820,6 +2825,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2820
2825
|
badgeProps,
|
|
2821
2826
|
children,
|
|
2822
2827
|
className,
|
|
2828
|
+
hasBorder,
|
|
2823
2829
|
href,
|
|
2824
2830
|
icon,
|
|
2825
2831
|
iconProps,
|
|
@@ -2831,7 +2837,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2831
2837
|
onKeyDown,
|
|
2832
2838
|
tabIndex
|
|
2833
2839
|
} = props,
|
|
2834
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2840
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
2835
2841
|
warnIfNoAccessibleLabelFound(props, [children]);
|
|
2836
2842
|
const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
|
|
2837
2843
|
const sideNavigationMenuContext = useContext(SideNavigationMenuContext);
|
|
@@ -2863,6 +2869,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2863
2869
|
as: as,
|
|
2864
2870
|
role: "menuitem"
|
|
2865
2871
|
}, forwardedProps, {
|
|
2872
|
+
$hasBorder: hasBorder,
|
|
2866
2873
|
$isCurrent: isCurrent,
|
|
2867
2874
|
$isDisabled: isDisabled,
|
|
2868
2875
|
$isSecondLevel: isSecondLevel,
|
|
@@ -2875,13 +2882,13 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2875
2882
|
onKeyDown: isDisabled ? undefined : onKeyDown,
|
|
2876
2883
|
ref: menuItemRef,
|
|
2877
2884
|
tabIndex: tabIndex !== undefined ? tabIndex : !sideNavigationMenuContext && isFirstChild ? 0 : -1
|
|
2878
|
-
}), !isSecondLevel ? /*#__PURE__*/React__default.createElement(Icon, _extends$1({
|
|
2879
|
-
color:
|
|
2885
|
+
}), !isSecondLevel || icon ? /*#__PURE__*/React__default.createElement(Icon, _extends$1({
|
|
2886
|
+
color: `var(--redsift-side-navigation-color-menu-item-text-${isSecondLevel || isDisabled ? 'disabled' : 'resting'})`
|
|
2880
2887
|
}, iconProps, {
|
|
2881
|
-
icon: icon
|
|
2888
|
+
icon: icon,
|
|
2882
2889
|
ref: iconRef,
|
|
2883
2890
|
className: "first",
|
|
2884
|
-
size: IconSize.large
|
|
2891
|
+
size: isSecondLevel ? IconSize.xsmall : IconSize.large
|
|
2885
2892
|
})) : null, /*#__PURE__*/React__default.createElement("span", {
|
|
2886
2893
|
className: "content"
|
|
2887
2894
|
}, children), badge ? /*#__PURE__*/React__default.createElement(Badge, _extends$1({
|
|
@@ -2889,9 +2896,9 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2889
2896
|
color: "error"
|
|
2890
2897
|
}, badgeProps), badge) : null));
|
|
2891
2898
|
});
|
|
2892
|
-
SideNavigationMenuItem.className = CLASSNAME$
|
|
2893
|
-
SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$
|
|
2894
|
-
SideNavigationMenuItem.displayName = COMPONENT_NAME$
|
|
2899
|
+
SideNavigationMenuItem.className = CLASSNAME$F;
|
|
2900
|
+
SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$F;
|
|
2901
|
+
SideNavigationMenuItem.displayName = COMPONENT_NAME$F;
|
|
2895
2902
|
|
|
2896
2903
|
/**
|
|
2897
2904
|
* Component style.
|
|
@@ -2913,13 +2920,11 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2913
2920
|
return css`
|
|
2914
2921
|
.redsift-side-navigation-menu__menu-container > button {
|
|
2915
2922
|
${!$isDisabled ? css`
|
|
2916
|
-
|
|
2917
|
-
.redsift-icon.first {
|
|
2923
|
+
& {
|
|
2918
2924
|
color: var(--redsift-side-navigation-color-menu-item-text-resting);
|
|
2919
2925
|
}
|
|
2920
2926
|
` : css`
|
|
2921
|
-
|
|
2922
|
-
.redsift-icon.first {
|
|
2927
|
+
& {
|
|
2923
2928
|
color: var(--redsift-side-navigation-color-menu-item-text-disabled);
|
|
2924
2929
|
}
|
|
2925
2930
|
`}
|
|
@@ -2995,7 +3000,7 @@ const StyledSideNavigationMenu = styled.div`
|
|
|
2995
3000
|
`;
|
|
2996
3001
|
}}
|
|
2997
3002
|
|
|
2998
|
-
.
|
|
3003
|
+
.first {
|
|
2999
3004
|
box-sizing: unset;
|
|
3000
3005
|
margin-right: 8px;
|
|
3001
3006
|
}
|
|
@@ -3110,10 +3115,10 @@ const StyledAppContainer = styled.div`
|
|
|
3110
3115
|
box-sizing: content-box;
|
|
3111
3116
|
`;
|
|
3112
3117
|
|
|
3113
|
-
const _excluded$
|
|
3114
|
-
const COMPONENT_NAME$
|
|
3115
|
-
const CLASSNAME$
|
|
3116
|
-
const DEFAULT_PROPS$
|
|
3118
|
+
const _excluded$E = ["children", "className", "locale", "product"];
|
|
3119
|
+
const COMPONENT_NAME$E = 'AppContainer';
|
|
3120
|
+
const CLASSNAME$E = 'redsift-app-container';
|
|
3121
|
+
const DEFAULT_PROPS$E = {};
|
|
3117
3122
|
|
|
3118
3123
|
/**
|
|
3119
3124
|
* The AppContainer component.
|
|
@@ -3125,7 +3130,7 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3125
3130
|
locale,
|
|
3126
3131
|
product
|
|
3127
3132
|
} = props,
|
|
3128
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3133
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$E);
|
|
3129
3134
|
const [sidePanelVariant, setSidePanelVariant] = useState(AppSidePanelVariant.standard);
|
|
3130
3135
|
const [breadcrumbs, setBreadcrumbs] = useState();
|
|
3131
3136
|
const state = {
|
|
@@ -3154,14 +3159,14 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3154
3159
|
locale: locale
|
|
3155
3160
|
}, children)));
|
|
3156
3161
|
});
|
|
3157
|
-
AppContainer.className = CLASSNAME$
|
|
3158
|
-
AppContainer.defaultProps = DEFAULT_PROPS$
|
|
3159
|
-
AppContainer.displayName = COMPONENT_NAME$
|
|
3162
|
+
AppContainer.className = CLASSNAME$E;
|
|
3163
|
+
AppContainer.defaultProps = DEFAULT_PROPS$E;
|
|
3164
|
+
AppContainer.displayName = COMPONENT_NAME$E;
|
|
3160
3165
|
|
|
3161
|
-
const _excluded$
|
|
3162
|
-
const COMPONENT_NAME$
|
|
3163
|
-
const CLASSNAME$
|
|
3164
|
-
const DEFAULT_PROPS$
|
|
3166
|
+
const _excluded$D = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex"];
|
|
3167
|
+
const COMPONENT_NAME$D = 'SideNavigationMenu';
|
|
3168
|
+
const CLASSNAME$D = 'redsift-side-navigation-menu';
|
|
3169
|
+
const DEFAULT_PROPS$D = {};
|
|
3165
3170
|
|
|
3166
3171
|
/**
|
|
3167
3172
|
* The SideNavigationMenu component.
|
|
@@ -3184,7 +3189,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3184
3189
|
menuRef = useRef(),
|
|
3185
3190
|
tabIndex
|
|
3186
3191
|
} = props,
|
|
3187
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3192
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$D);
|
|
3188
3193
|
const [_id] = useId$1();
|
|
3189
3194
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
3190
3195
|
warnIfNoAccessibleLabelFound(props);
|
|
@@ -3213,8 +3218,6 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3213
3218
|
key: (_child$key = child.key) !== null && _child$key !== void 0 ? _child$key : index,
|
|
3214
3219
|
role: "none"
|
|
3215
3220
|
}, /*#__PURE__*/React__default.cloneElement(child, {
|
|
3216
|
-
icon: undefined,
|
|
3217
|
-
// Second-level item should not have icon
|
|
3218
3221
|
isDisabled: child.props.isDisabled || isDisabled || undefined,
|
|
3219
3222
|
isSecondLevel: true,
|
|
3220
3223
|
key: (_child$key2 = child.key) !== null && _child$key2 !== void 0 ? _child$key2 : index
|
|
@@ -3469,9 +3472,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3469
3472
|
tabIndex: tabIndex !== undefined ? tabIndex : isFirstChild ? 0 : -1,
|
|
3470
3473
|
type: "button"
|
|
3471
3474
|
}, buttonEventHandler), /*#__PURE__*/React__default.createElement(Icon, _extends$1({
|
|
3472
|
-
color:
|
|
3475
|
+
color: `var(--redsift-side-navigation-color-menu-item-text-${isDisabled ? 'disabled' : 'resting'})`
|
|
3473
3476
|
}, iconProps, {
|
|
3474
|
-
icon: icon
|
|
3477
|
+
icon: icon,
|
|
3475
3478
|
ref: iconRef,
|
|
3476
3479
|
className: classNames(iconProps === null || iconProps === void 0 ? void 0 : iconProps.className, 'first'),
|
|
3477
3480
|
size: IconSize.large
|
|
@@ -3490,9 +3493,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3490
3493
|
role: "menu"
|
|
3491
3494
|
}, menuItemListEventHandler), renderedMenuItems)))));
|
|
3492
3495
|
});
|
|
3493
|
-
SideNavigationMenu.className = CLASSNAME$
|
|
3494
|
-
SideNavigationMenu.defaultProps = DEFAULT_PROPS$
|
|
3495
|
-
SideNavigationMenu.displayName = COMPONENT_NAME$
|
|
3496
|
+
SideNavigationMenu.className = CLASSNAME$D;
|
|
3497
|
+
SideNavigationMenu.defaultProps = DEFAULT_PROPS$D;
|
|
3498
|
+
SideNavigationMenu.displayName = COMPONENT_NAME$D;
|
|
3496
3499
|
|
|
3497
3500
|
/**
|
|
3498
3501
|
* Component style.
|
|
@@ -3558,10 +3561,10 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3558
3561
|
}
|
|
3559
3562
|
`;
|
|
3560
3563
|
|
|
3561
|
-
const _excluded$
|
|
3562
|
-
const COMPONENT_NAME$
|
|
3563
|
-
const CLASSNAME$
|
|
3564
|
-
const DEFAULT_PROPS$
|
|
3564
|
+
const _excluded$C = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "variant"];
|
|
3565
|
+
const COMPONENT_NAME$C = 'SideNavigationMenuBar';
|
|
3566
|
+
const CLASSNAME$C = 'redsift-side-navigation-menu-bar';
|
|
3567
|
+
const DEFAULT_PROPS$C = {
|
|
3565
3568
|
variant: SideNavigationMenuBarVariant.standard
|
|
3566
3569
|
};
|
|
3567
3570
|
|
|
@@ -3592,7 +3595,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3592
3595
|
menubarRef = useRef(),
|
|
3593
3596
|
variant: propsVariant
|
|
3594
3597
|
} = props,
|
|
3595
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3598
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
3596
3599
|
warnIfNoAccessibleLabelFound(props);
|
|
3597
3600
|
const appContainerState = useContext(AppContainerContext);
|
|
3598
3601
|
const {
|
|
@@ -3750,11 +3753,11 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3750
3753
|
role: "menubar"
|
|
3751
3754
|
}), navItems)));
|
|
3752
3755
|
});
|
|
3753
|
-
SideNavigationMenuBar.className = CLASSNAME$
|
|
3754
|
-
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$
|
|
3755
|
-
SideNavigationMenuBar.displayName = COMPONENT_NAME$
|
|
3756
|
+
SideNavigationMenuBar.className = CLASSNAME$C;
|
|
3757
|
+
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$C;
|
|
3758
|
+
SideNavigationMenuBar.displayName = COMPONENT_NAME$C;
|
|
3756
3759
|
|
|
3757
|
-
const _excluded$
|
|
3760
|
+
const _excluded$B = ["title", "href", "ref"],
|
|
3758
3761
|
_excluded2$1 = ["title", "children", "ref"],
|
|
3759
3762
|
_excluded3 = ["title", "href", "ref"];
|
|
3760
3763
|
const isMenu = item => {
|
|
@@ -3773,7 +3776,7 @@ const useSideNavigationMenuBar = _ref => {
|
|
|
3773
3776
|
href,
|
|
3774
3777
|
ref
|
|
3775
3778
|
} = item,
|
|
3776
|
-
rest = _objectWithoutProperties(item, _excluded$
|
|
3779
|
+
rest = _objectWithoutProperties(item, _excluded$B);
|
|
3777
3780
|
menuBarChildren.push( /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
|
|
3778
3781
|
key: title,
|
|
3779
3782
|
isCurrent: isActive ? isActive(href) : undefined
|
|
@@ -3877,10 +3880,10 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3877
3880
|
}
|
|
3878
3881
|
`;
|
|
3879
3882
|
|
|
3880
|
-
const _excluded$
|
|
3881
|
-
const COMPONENT_NAME$
|
|
3882
|
-
const CLASSNAME$
|
|
3883
|
-
const DEFAULT_PROPS$
|
|
3883
|
+
const _excluded$A = ["as", "children", "className", "href", "isCurrent", "isDisabled"];
|
|
3884
|
+
const COMPONENT_NAME$B = 'BreadcrumbItem';
|
|
3885
|
+
const CLASSNAME$B = 'redsift-breadcrumb-item';
|
|
3886
|
+
const DEFAULT_PROPS$B = {};
|
|
3884
3887
|
|
|
3885
3888
|
/**
|
|
3886
3889
|
* The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
|
|
@@ -3894,7 +3897,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3894
3897
|
isCurrent,
|
|
3895
3898
|
isDisabled
|
|
3896
3899
|
} = props,
|
|
3897
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3900
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$A);
|
|
3898
3901
|
warnIfNoAccessibleLabelFound(props, [children]);
|
|
3899
3902
|
return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
|
|
3900
3903
|
as: as || 'a',
|
|
@@ -3910,9 +3913,9 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3910
3913
|
ref: ref
|
|
3911
3914
|
}), children);
|
|
3912
3915
|
});
|
|
3913
|
-
BreadcrumbItem.className = CLASSNAME$
|
|
3914
|
-
BreadcrumbItem.defaultProps = DEFAULT_PROPS$
|
|
3915
|
-
BreadcrumbItem.displayName = COMPONENT_NAME$
|
|
3916
|
+
BreadcrumbItem.className = CLASSNAME$B;
|
|
3917
|
+
BreadcrumbItem.defaultProps = DEFAULT_PROPS$B;
|
|
3918
|
+
BreadcrumbItem.displayName = COMPONENT_NAME$B;
|
|
3916
3919
|
|
|
3917
3920
|
/**
|
|
3918
3921
|
* Component style.
|
|
@@ -3946,10 +3949,10 @@ const StyledBreadcrumbs = styled.nav`
|
|
|
3946
3949
|
}
|
|
3947
3950
|
`;
|
|
3948
3951
|
|
|
3949
|
-
const _excluded$
|
|
3950
|
-
const COMPONENT_NAME$
|
|
3951
|
-
const CLASSNAME$
|
|
3952
|
-
const DEFAULT_PROPS$
|
|
3952
|
+
const _excluded$z = ["children", "className", "isDisabled"];
|
|
3953
|
+
const COMPONENT_NAME$A = 'Breadcrumbs';
|
|
3954
|
+
const CLASSNAME$A = 'redsift-breadcrumbs';
|
|
3955
|
+
const DEFAULT_PROPS$A = {};
|
|
3953
3956
|
|
|
3954
3957
|
/**
|
|
3955
3958
|
* The Breadcrumbs components is a list of links to the parent pages of the current page in hierarchical order.
|
|
@@ -3960,7 +3963,7 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3960
3963
|
className,
|
|
3961
3964
|
isDisabled
|
|
3962
3965
|
} = props,
|
|
3963
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3966
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$z);
|
|
3964
3967
|
warnIfNoAccessibleLabelFound(props);
|
|
3965
3968
|
const childArray = filterComponents([Breadcrumbs.Item])(children);
|
|
3966
3969
|
const breadcrumbItems = childArray.map((child, index) => {
|
|
@@ -3983,17 +3986,17 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3983
3986
|
ref: ref
|
|
3984
3987
|
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
|
|
3985
3988
|
});
|
|
3986
|
-
BaseBreadcrumbs.className = CLASSNAME$
|
|
3987
|
-
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$
|
|
3988
|
-
BaseBreadcrumbs.displayName = COMPONENT_NAME$
|
|
3989
|
+
BaseBreadcrumbs.className = CLASSNAME$A;
|
|
3990
|
+
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$A;
|
|
3991
|
+
BaseBreadcrumbs.displayName = COMPONENT_NAME$A;
|
|
3989
3992
|
const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
|
|
3990
3993
|
Item: BreadcrumbItem
|
|
3991
3994
|
});
|
|
3992
3995
|
|
|
3993
|
-
const _excluded$
|
|
3994
|
-
const COMPONENT_NAME$
|
|
3995
|
-
const CLASSNAME$
|
|
3996
|
-
const DEFAULT_PROPS$
|
|
3996
|
+
const _excluded$y = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "title"];
|
|
3997
|
+
const COMPONENT_NAME$z = 'AppBar';
|
|
3998
|
+
const CLASSNAME$z = 'redsift-app-bar';
|
|
3999
|
+
const DEFAULT_PROPS$z = {};
|
|
3997
4000
|
|
|
3998
4001
|
/**
|
|
3999
4002
|
* The AppBar component.
|
|
@@ -4009,7 +4012,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4009
4012
|
fallbackTitle,
|
|
4010
4013
|
title: propsTitle
|
|
4011
4014
|
} = props,
|
|
4012
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4015
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$y);
|
|
4013
4016
|
const [scroll, setScroll] = useState(false);
|
|
4014
4017
|
useEffect(() => {
|
|
4015
4018
|
window.addEventListener('scroll', () => {
|
|
@@ -4061,9 +4064,9 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4061
4064
|
className: `${AppBar.className}__right`
|
|
4062
4065
|
}, children) : null);
|
|
4063
4066
|
});
|
|
4064
|
-
AppBar.className = CLASSNAME$
|
|
4065
|
-
AppBar.defaultProps = DEFAULT_PROPS$
|
|
4066
|
-
AppBar.displayName = COMPONENT_NAME$
|
|
4067
|
+
AppBar.className = CLASSNAME$z;
|
|
4068
|
+
AppBar.defaultProps = DEFAULT_PROPS$z;
|
|
4069
|
+
AppBar.displayName = COMPONENT_NAME$z;
|
|
4067
4070
|
|
|
4068
4071
|
/**
|
|
4069
4072
|
* Component style.
|
|
@@ -4102,10 +4105,10 @@ const StyledAppContent = styled.main`
|
|
|
4102
4105
|
}}
|
|
4103
4106
|
`;
|
|
4104
4107
|
|
|
4105
|
-
const _excluded$
|
|
4106
|
-
const COMPONENT_NAME$
|
|
4107
|
-
const CLASSNAME$
|
|
4108
|
-
const DEFAULT_PROPS$
|
|
4108
|
+
const _excluded$x = ["children", "className"];
|
|
4109
|
+
const COMPONENT_NAME$y = 'AppContent';
|
|
4110
|
+
const CLASSNAME$y = 'redsift-app-content';
|
|
4111
|
+
const DEFAULT_PROPS$y = {};
|
|
4109
4112
|
|
|
4110
4113
|
/**
|
|
4111
4114
|
* The AppContent component.
|
|
@@ -4115,7 +4118,7 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4115
4118
|
children,
|
|
4116
4119
|
className
|
|
4117
4120
|
} = props,
|
|
4118
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4121
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$x);
|
|
4119
4122
|
const {
|
|
4120
4123
|
isLoaded
|
|
4121
4124
|
} = useIsLoaded();
|
|
@@ -4127,9 +4130,9 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4127
4130
|
ref: ref
|
|
4128
4131
|
}), children);
|
|
4129
4132
|
});
|
|
4130
|
-
AppContent.className = CLASSNAME$
|
|
4131
|
-
AppContent.defaultProps = DEFAULT_PROPS$
|
|
4132
|
-
AppContent.displayName = COMPONENT_NAME$
|
|
4133
|
+
AppContent.className = CLASSNAME$y;
|
|
4134
|
+
AppContent.defaultProps = DEFAULT_PROPS$y;
|
|
4135
|
+
AppContent.displayName = COMPONENT_NAME$y;
|
|
4133
4136
|
|
|
4134
4137
|
/**
|
|
4135
4138
|
* Component variant.
|
|
@@ -4236,10 +4239,10 @@ const StyledButtonGroup = styled.div`
|
|
|
4236
4239
|
}};
|
|
4237
4240
|
`;
|
|
4238
4241
|
|
|
4239
|
-
const _excluded$
|
|
4240
|
-
const COMPONENT_NAME$
|
|
4241
|
-
const CLASSNAME$
|
|
4242
|
-
const DEFAULT_PROPS$
|
|
4242
|
+
const _excluded$w = ["children", "className", "color", "variant"];
|
|
4243
|
+
const COMPONENT_NAME$x = 'ButtonGroup';
|
|
4244
|
+
const CLASSNAME$x = 'redsift-button-group';
|
|
4245
|
+
const DEFAULT_PROPS$x = {
|
|
4243
4246
|
variant: 'primary'
|
|
4244
4247
|
};
|
|
4245
4248
|
|
|
@@ -4253,7 +4256,7 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4253
4256
|
color,
|
|
4254
4257
|
variant
|
|
4255
4258
|
} = props,
|
|
4256
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4259
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
4257
4260
|
|
|
4258
4261
|
/**
|
|
4259
4262
|
* Create an array containing only valid children being either Button, IconButton, ButtonLink or MenuButton.
|
|
@@ -4284,14 +4287,14 @@ const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4284
4287
|
$variant: variant
|
|
4285
4288
|
}), buttons);
|
|
4286
4289
|
});
|
|
4287
|
-
ButtonGroup.className = CLASSNAME$
|
|
4288
|
-
ButtonGroup.defaultProps = DEFAULT_PROPS$
|
|
4289
|
-
ButtonGroup.displayName = COMPONENT_NAME$
|
|
4290
|
-
|
|
4291
|
-
const _excluded$
|
|
4292
|
-
const COMPONENT_NAME$
|
|
4293
|
-
const CLASSNAME$
|
|
4294
|
-
const DEFAULT_PROPS$
|
|
4290
|
+
ButtonGroup.className = CLASSNAME$x;
|
|
4291
|
+
ButtonGroup.defaultProps = DEFAULT_PROPS$x;
|
|
4292
|
+
ButtonGroup.displayName = COMPONENT_NAME$x;
|
|
4293
|
+
|
|
4294
|
+
const _excluded$v = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
|
|
4295
|
+
const COMPONENT_NAME$w = 'ButtonLink';
|
|
4296
|
+
const CLASSNAME$w = 'redsift-button-link';
|
|
4297
|
+
const DEFAULT_PROPS$w = {
|
|
4295
4298
|
color: CtasColorPalette.primary,
|
|
4296
4299
|
height: 'fit-content',
|
|
4297
4300
|
variant: ButtonVariant.primary
|
|
@@ -4318,7 +4321,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4318
4321
|
target,
|
|
4319
4322
|
variant
|
|
4320
4323
|
} = props,
|
|
4321
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4324
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$v);
|
|
4322
4325
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
|
|
4323
4326
|
as: as || 'a',
|
|
4324
4327
|
role: "link",
|
|
@@ -4342,9 +4345,9 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4342
4345
|
className: "right"
|
|
4343
4346
|
}) : null);
|
|
4344
4347
|
});
|
|
4345
|
-
ButtonLink.className = CLASSNAME$
|
|
4346
|
-
ButtonLink.defaultProps = DEFAULT_PROPS$
|
|
4347
|
-
ButtonLink.displayName = COMPONENT_NAME$
|
|
4348
|
+
ButtonLink.className = CLASSNAME$w;
|
|
4349
|
+
ButtonLink.defaultProps = DEFAULT_PROPS$w;
|
|
4350
|
+
ButtonLink.displayName = COMPONENT_NAME$w;
|
|
4348
4351
|
|
|
4349
4352
|
var collapse$3 = "Collapse";
|
|
4350
4353
|
var expand$3 = "Expand";
|
|
@@ -4525,10 +4528,10 @@ const StyledSkeletonCircle = styled(StyledSkeleton)`
|
|
|
4525
4528
|
}}
|
|
4526
4529
|
`;
|
|
4527
4530
|
|
|
4528
|
-
const _excluded$
|
|
4529
|
-
const COMPONENT_NAME$
|
|
4530
|
-
const CLASSNAME$
|
|
4531
|
-
const DEFAULT_PROPS$
|
|
4531
|
+
const _excluded$u = ["children", "className", "isLoaded"];
|
|
4532
|
+
const COMPONENT_NAME$v = 'SkeletonCircle';
|
|
4533
|
+
const CLASSNAME$v = 'redsift-skeleton-circle';
|
|
4534
|
+
const DEFAULT_PROPS$v = {};
|
|
4532
4535
|
|
|
4533
4536
|
/**
|
|
4534
4537
|
* The SkeletonCircle component.
|
|
@@ -4539,7 +4542,7 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4539
4542
|
className,
|
|
4540
4543
|
isLoaded
|
|
4541
4544
|
} = props,
|
|
4542
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4545
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$u);
|
|
4543
4546
|
if (isLoaded) {
|
|
4544
4547
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4545
4548
|
}
|
|
@@ -4548,9 +4551,9 @@ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4548
4551
|
ref: ref
|
|
4549
4552
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
4550
4553
|
});
|
|
4551
|
-
SkeletonCircle.className = CLASSNAME$
|
|
4552
|
-
SkeletonCircle.defaultProps = DEFAULT_PROPS$
|
|
4553
|
-
SkeletonCircle.displayName = COMPONENT_NAME$
|
|
4554
|
+
SkeletonCircle.className = CLASSNAME$v;
|
|
4555
|
+
SkeletonCircle.defaultProps = DEFAULT_PROPS$v;
|
|
4556
|
+
SkeletonCircle.displayName = COMPONENT_NAME$v;
|
|
4554
4557
|
|
|
4555
4558
|
/**
|
|
4556
4559
|
* Component variant.
|
|
@@ -4604,10 +4607,10 @@ const StyledSkeletonText = styled(StyledSkeleton)`
|
|
|
4604
4607
|
}}}
|
|
4605
4608
|
`;
|
|
4606
4609
|
|
|
4607
|
-
const _excluded$
|
|
4608
|
-
const COMPONENT_NAME$
|
|
4609
|
-
const CLASSNAME$
|
|
4610
|
-
const DEFAULT_PROPS$
|
|
4610
|
+
const _excluded$t = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
|
|
4611
|
+
const COMPONENT_NAME$u = 'SkeletonText';
|
|
4612
|
+
const CLASSNAME$u = 'redsift-skeleton-text';
|
|
4613
|
+
const DEFAULT_PROPS$u = {
|
|
4611
4614
|
variant: 'body'
|
|
4612
4615
|
};
|
|
4613
4616
|
|
|
@@ -4623,7 +4626,7 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4623
4626
|
lineHeight,
|
|
4624
4627
|
variant
|
|
4625
4628
|
} = props,
|
|
4626
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4629
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$t);
|
|
4627
4630
|
if (isLoaded) {
|
|
4628
4631
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4629
4632
|
}
|
|
@@ -4635,14 +4638,14 @@ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4635
4638
|
$variant: variant
|
|
4636
4639
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
4637
4640
|
});
|
|
4638
|
-
SkeletonText.className = CLASSNAME$
|
|
4639
|
-
SkeletonText.defaultProps = DEFAULT_PROPS$
|
|
4640
|
-
SkeletonText.displayName = COMPONENT_NAME$
|
|
4641
|
+
SkeletonText.className = CLASSNAME$u;
|
|
4642
|
+
SkeletonText.defaultProps = DEFAULT_PROPS$u;
|
|
4643
|
+
SkeletonText.displayName = COMPONENT_NAME$u;
|
|
4641
4644
|
|
|
4642
|
-
const _excluded$
|
|
4643
|
-
const COMPONENT_NAME$
|
|
4644
|
-
const CLASSNAME$
|
|
4645
|
-
const DEFAULT_PROPS$
|
|
4645
|
+
const _excluded$s = ["children", "className", "isLoaded"];
|
|
4646
|
+
const COMPONENT_NAME$t = 'Skeleton';
|
|
4647
|
+
const CLASSNAME$t = 'redsift-skeleton';
|
|
4648
|
+
const DEFAULT_PROPS$t = {};
|
|
4646
4649
|
|
|
4647
4650
|
/**
|
|
4648
4651
|
* The Skeleton component.
|
|
@@ -4653,7 +4656,7 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4653
4656
|
className,
|
|
4654
4657
|
isLoaded
|
|
4655
4658
|
} = props,
|
|
4656
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4659
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$s);
|
|
4657
4660
|
if (isLoaded) {
|
|
4658
4661
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
|
|
4659
4662
|
}
|
|
@@ -4662,18 +4665,18 @@ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4662
4665
|
ref: ref
|
|
4663
4666
|
}), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
|
|
4664
4667
|
});
|
|
4665
|
-
BaseSkeleton.className = CLASSNAME$
|
|
4666
|
-
BaseSkeleton.defaultProps = DEFAULT_PROPS$
|
|
4667
|
-
BaseSkeleton.displayName = COMPONENT_NAME$
|
|
4668
|
+
BaseSkeleton.className = CLASSNAME$t;
|
|
4669
|
+
BaseSkeleton.defaultProps = DEFAULT_PROPS$t;
|
|
4670
|
+
BaseSkeleton.displayName = COMPONENT_NAME$t;
|
|
4668
4671
|
const Skeleton = Object.assign(BaseSkeleton, {
|
|
4669
4672
|
Circle: SkeletonCircle,
|
|
4670
4673
|
Text: SkeletonText
|
|
4671
4674
|
});
|
|
4672
4675
|
|
|
4673
|
-
const _excluded$
|
|
4674
|
-
const COMPONENT_NAME$
|
|
4675
|
-
const CLASSNAME$
|
|
4676
|
-
const DEFAULT_PROPS$
|
|
4676
|
+
const _excluded$r = ["children", "className", "header", "headingProps", "icon", "iconProps", "isLoading", "subheader"];
|
|
4677
|
+
const COMPONENT_NAME$s = 'CardHeader';
|
|
4678
|
+
const CLASSNAME$s = 'redsift-card-header';
|
|
4679
|
+
const DEFAULT_PROPS$s = {};
|
|
4677
4680
|
|
|
4678
4681
|
/**
|
|
4679
4682
|
* The CardHeader component.
|
|
@@ -4689,7 +4692,7 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4689
4692
|
isLoading,
|
|
4690
4693
|
subheader
|
|
4691
4694
|
} = props,
|
|
4692
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4695
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$r);
|
|
4693
4696
|
return /*#__PURE__*/React__default.createElement(StyledCardHeader, _extends$1({}, forwardedProps, {
|
|
4694
4697
|
className: classNames(CardHeader.className, className),
|
|
4695
4698
|
ref: ref
|
|
@@ -4714,9 +4717,9 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4714
4717
|
size: "large"
|
|
4715
4718
|
}, iconProps)) : null, header)) : null, children);
|
|
4716
4719
|
});
|
|
4717
|
-
CardHeader.className = CLASSNAME$
|
|
4718
|
-
CardHeader.defaultProps = DEFAULT_PROPS$
|
|
4719
|
-
CardHeader.displayName = COMPONENT_NAME$
|
|
4720
|
+
CardHeader.className = CLASSNAME$s;
|
|
4721
|
+
CardHeader.defaultProps = DEFAULT_PROPS$s;
|
|
4722
|
+
CardHeader.displayName = COMPONENT_NAME$s;
|
|
4720
4723
|
|
|
4721
4724
|
/**
|
|
4722
4725
|
* Component style.
|
|
@@ -4732,10 +4735,10 @@ const StyledCardBody = styled.div`
|
|
|
4732
4735
|
padding: 16px 0px;
|
|
4733
4736
|
`;
|
|
4734
4737
|
|
|
4735
|
-
const _excluded$
|
|
4736
|
-
const COMPONENT_NAME$
|
|
4737
|
-
const CLASSNAME$
|
|
4738
|
-
const DEFAULT_PROPS$
|
|
4738
|
+
const _excluded$q = ["children", "className"];
|
|
4739
|
+
const COMPONENT_NAME$r = 'CardBody';
|
|
4740
|
+
const CLASSNAME$r = 'redsift-card-body';
|
|
4741
|
+
const DEFAULT_PROPS$r = {};
|
|
4739
4742
|
|
|
4740
4743
|
/**
|
|
4741
4744
|
* The CardBody component.
|
|
@@ -4745,15 +4748,15 @@ const CardBody = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4745
4748
|
children,
|
|
4746
4749
|
className
|
|
4747
4750
|
} = props,
|
|
4748
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4751
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$q);
|
|
4749
4752
|
return /*#__PURE__*/React__default.createElement(StyledCardBody, _extends$1({}, forwardedProps, {
|
|
4750
4753
|
className: classNames(CardBody.className, className),
|
|
4751
4754
|
ref: ref
|
|
4752
4755
|
}), children);
|
|
4753
4756
|
});
|
|
4754
|
-
CardBody.className = CLASSNAME$
|
|
4755
|
-
CardBody.defaultProps = DEFAULT_PROPS$
|
|
4756
|
-
CardBody.displayName = COMPONENT_NAME$
|
|
4757
|
+
CardBody.className = CLASSNAME$r;
|
|
4758
|
+
CardBody.defaultProps = DEFAULT_PROPS$r;
|
|
4759
|
+
CardBody.displayName = COMPONENT_NAME$r;
|
|
4757
4760
|
|
|
4758
4761
|
/**
|
|
4759
4762
|
* Component style.
|
|
@@ -4765,10 +4768,10 @@ const StyledCardActions = styled.div`
|
|
|
4765
4768
|
margin-bottom: 8px;
|
|
4766
4769
|
`;
|
|
4767
4770
|
|
|
4768
|
-
const _excluded$
|
|
4769
|
-
const COMPONENT_NAME$
|
|
4770
|
-
const CLASSNAME$
|
|
4771
|
-
const DEFAULT_PROPS$
|
|
4771
|
+
const _excluded$p = ["children", "className"];
|
|
4772
|
+
const COMPONENT_NAME$q = 'CardActions';
|
|
4773
|
+
const CLASSNAME$q = 'redsift-card-actions';
|
|
4774
|
+
const DEFAULT_PROPS$q = {
|
|
4772
4775
|
display: 'flex',
|
|
4773
4776
|
flexDirection: 'row'
|
|
4774
4777
|
};
|
|
@@ -4781,20 +4784,20 @@ const CardActions = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4781
4784
|
children,
|
|
4782
4785
|
className
|
|
4783
4786
|
} = props,
|
|
4784
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4787
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$p);
|
|
4785
4788
|
return /*#__PURE__*/React__default.createElement(StyledCardActions, _extends$1({}, forwardedProps, {
|
|
4786
4789
|
className: classNames(CardActions.className, className),
|
|
4787
4790
|
ref: ref
|
|
4788
4791
|
}), children);
|
|
4789
4792
|
});
|
|
4790
|
-
CardActions.className = CLASSNAME$
|
|
4791
|
-
CardActions.defaultProps = DEFAULT_PROPS$
|
|
4792
|
-
CardActions.displayName = COMPONENT_NAME$
|
|
4793
|
+
CardActions.className = CLASSNAME$q;
|
|
4794
|
+
CardActions.defaultProps = DEFAULT_PROPS$q;
|
|
4795
|
+
CardActions.displayName = COMPONENT_NAME$q;
|
|
4793
4796
|
|
|
4794
|
-
const _excluded$
|
|
4795
|
-
const COMPONENT_NAME$
|
|
4796
|
-
const CLASSNAME$
|
|
4797
|
-
const DEFAULT_PROPS$
|
|
4797
|
+
const _excluded$o = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
|
|
4798
|
+
const COMPONENT_NAME$p = 'Card';
|
|
4799
|
+
const CLASSNAME$p = 'redsift-card';
|
|
4800
|
+
const DEFAULT_PROPS$p = {};
|
|
4798
4801
|
|
|
4799
4802
|
/**
|
|
4800
4803
|
* The Card component.
|
|
@@ -4808,7 +4811,7 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4808
4811
|
isCollapsible,
|
|
4809
4812
|
onCollapse
|
|
4810
4813
|
} = props,
|
|
4811
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4814
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$o);
|
|
4812
4815
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
|
|
4813
4816
|
const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
|
|
4814
4817
|
useEffect(() => {
|
|
@@ -4839,9 +4842,9 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4839
4842
|
className: `${BaseCard.className}__content`
|
|
4840
4843
|
}, body, actions) : null);
|
|
4841
4844
|
});
|
|
4842
|
-
BaseCard.className = CLASSNAME$
|
|
4843
|
-
BaseCard.defaultProps = DEFAULT_PROPS$
|
|
4844
|
-
BaseCard.displayName = COMPONENT_NAME$
|
|
4845
|
+
BaseCard.className = CLASSNAME$p;
|
|
4846
|
+
BaseCard.defaultProps = DEFAULT_PROPS$p;
|
|
4847
|
+
BaseCard.displayName = COMPONENT_NAME$p;
|
|
4845
4848
|
const Card = Object.assign(BaseCard, {
|
|
4846
4849
|
Header: CardHeader,
|
|
4847
4850
|
Body: CardBody,
|
|
@@ -4944,10 +4947,10 @@ const StyledCheckboxGroup = styled.div`
|
|
|
4944
4947
|
}
|
|
4945
4948
|
`;
|
|
4946
4949
|
|
|
4947
|
-
const _excluded$
|
|
4948
|
-
const COMPONENT_NAME$
|
|
4949
|
-
const CLASSNAME$
|
|
4950
|
-
const DEFAULT_PROPS$
|
|
4950
|
+
const _excluded$n = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "value"];
|
|
4951
|
+
const COMPONENT_NAME$o = 'CheckboxGroup';
|
|
4952
|
+
const CLASSNAME$o = 'redsift-checkbox-group';
|
|
4953
|
+
const DEFAULT_PROPS$o = {
|
|
4951
4954
|
color: CtasColorPalette.primary,
|
|
4952
4955
|
orientation: CheckboxGroupOrientation.vertical
|
|
4953
4956
|
};
|
|
@@ -4971,7 +4974,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4971
4974
|
orientation,
|
|
4972
4975
|
value
|
|
4973
4976
|
} = props,
|
|
4974
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4977
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$n);
|
|
4975
4978
|
const [selectedValues, setValue] = useState(value || defaultValues || []);
|
|
4976
4979
|
useEffect(() => {
|
|
4977
4980
|
if (value) {
|
|
@@ -5024,9 +5027,9 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5024
5027
|
className: `${CheckboxGroup.className}-description`
|
|
5025
5028
|
}, description));
|
|
5026
5029
|
});
|
|
5027
|
-
CheckboxGroup.className = CLASSNAME$
|
|
5028
|
-
CheckboxGroup.defaultProps = DEFAULT_PROPS$
|
|
5029
|
-
CheckboxGroup.displayName = COMPONENT_NAME$
|
|
5030
|
+
CheckboxGroup.className = CLASSNAME$o;
|
|
5031
|
+
CheckboxGroup.defaultProps = DEFAULT_PROPS$o;
|
|
5032
|
+
CheckboxGroup.displayName = COMPONENT_NAME$o;
|
|
5030
5033
|
|
|
5031
5034
|
/**
|
|
5032
5035
|
* Component style.
|
|
@@ -5128,10 +5131,10 @@ const StyledCheckbox = styled.label`
|
|
|
5128
5131
|
}
|
|
5129
5132
|
`;
|
|
5130
5133
|
|
|
5131
|
-
const _excluded$
|
|
5132
|
-
const COMPONENT_NAME$
|
|
5133
|
-
const CLASSNAME$
|
|
5134
|
-
const DEFAULT_PROPS$
|
|
5134
|
+
const _excluded$m = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
|
|
5135
|
+
const COMPONENT_NAME$n = 'Checkbox';
|
|
5136
|
+
const CLASSNAME$n = 'redsift-checkbox';
|
|
5137
|
+
const DEFAULT_PROPS$n = {
|
|
5135
5138
|
isColored: true
|
|
5136
5139
|
};
|
|
5137
5140
|
|
|
@@ -5163,7 +5166,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5163
5166
|
onChange,
|
|
5164
5167
|
value
|
|
5165
5168
|
} = props,
|
|
5166
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5169
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$m);
|
|
5167
5170
|
const {
|
|
5168
5171
|
isFocusVisible,
|
|
5169
5172
|
focusProps
|
|
@@ -5247,9 +5250,9 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5247
5250
|
value: value
|
|
5248
5251
|
})));
|
|
5249
5252
|
});
|
|
5250
|
-
Checkbox.className = CLASSNAME$
|
|
5251
|
-
Checkbox.defaultProps = DEFAULT_PROPS$
|
|
5252
|
-
Checkbox.displayName = COMPONENT_NAME$
|
|
5253
|
+
Checkbox.className = CLASSNAME$n;
|
|
5254
|
+
Checkbox.defaultProps = DEFAULT_PROPS$n;
|
|
5255
|
+
Checkbox.displayName = COMPONENT_NAME$n;
|
|
5253
5256
|
|
|
5254
5257
|
const ConditionalWrapper = _ref => {
|
|
5255
5258
|
let {
|
|
@@ -5363,10 +5366,10 @@ const StyledShield = styled.div`
|
|
|
5363
5366
|
}}
|
|
5364
5367
|
`;
|
|
5365
5368
|
|
|
5366
|
-
const _excluded$
|
|
5367
|
-
const COMPONENT_NAME$
|
|
5368
|
-
const CLASSNAME$
|
|
5369
|
-
const DEFAULT_PROPS$
|
|
5369
|
+
const _excluded$l = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
|
|
5370
|
+
const COMPONENT_NAME$m = 'Shield';
|
|
5371
|
+
const CLASSNAME$m = 'redsift-shield';
|
|
5372
|
+
const DEFAULT_PROPS$m = {
|
|
5370
5373
|
variant: ShieldVariant.success
|
|
5371
5374
|
};
|
|
5372
5375
|
const getVariant = variant => {
|
|
@@ -5452,7 +5455,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5452
5455
|
isReversed,
|
|
5453
5456
|
variant
|
|
5454
5457
|
} = props,
|
|
5455
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5458
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$l);
|
|
5456
5459
|
const {
|
|
5457
5460
|
color,
|
|
5458
5461
|
icon
|
|
@@ -5486,9 +5489,9 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5486
5489
|
className: "icon"
|
|
5487
5490
|
})));
|
|
5488
5491
|
});
|
|
5489
|
-
Shield.className = CLASSNAME$
|
|
5490
|
-
Shield.defaultProps = DEFAULT_PROPS$
|
|
5491
|
-
Shield.displayName = COMPONENT_NAME$
|
|
5492
|
+
Shield.className = CLASSNAME$m;
|
|
5493
|
+
Shield.defaultProps = DEFAULT_PROPS$m;
|
|
5494
|
+
Shield.displayName = COMPONENT_NAME$m;
|
|
5492
5495
|
|
|
5493
5496
|
var collapse$1 = "Collapse details";
|
|
5494
5497
|
var expand$1 = "Expand details";
|
|
@@ -5540,10 +5543,10 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
|
|
|
5540
5543
|
}
|
|
5541
5544
|
`;
|
|
5542
5545
|
|
|
5543
|
-
const _excluded$
|
|
5544
|
-
const COMPONENT_NAME$
|
|
5545
|
-
const CLASSNAME$
|
|
5546
|
-
const DEFAULT_PROPS$
|
|
5546
|
+
const _excluded$k = ["caption", "children", "className", "hideBackground"];
|
|
5547
|
+
const COMPONENT_NAME$l = 'DetailedCardCollapsibleSectionItems';
|
|
5548
|
+
const CLASSNAME$l = 'redsift-detailed-card-collapsible-section-items';
|
|
5549
|
+
const DEFAULT_PROPS$l = {};
|
|
5547
5550
|
|
|
5548
5551
|
/**
|
|
5549
5552
|
* The DetailedCardCollapsibleSectionItems Section component.
|
|
@@ -5555,7 +5558,7 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
|
|
|
5555
5558
|
className,
|
|
5556
5559
|
hideBackground
|
|
5557
5560
|
} = props,
|
|
5558
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5561
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$k);
|
|
5559
5562
|
return /*#__PURE__*/React__default.createElement(StyledDetailedCardCollapsibleSectionItems, _extends$1({}, forwardedProps, {
|
|
5560
5563
|
className: classNames(DetailedCardCollapsibleSectionItems.className, className),
|
|
5561
5564
|
ref: ref,
|
|
@@ -5564,9 +5567,9 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
|
|
|
5564
5567
|
className: `${DetailedCardCollapsibleSectionItems.className}__caption`
|
|
5565
5568
|
}, caption) : null);
|
|
5566
5569
|
});
|
|
5567
|
-
DetailedCardCollapsibleSectionItems.className = CLASSNAME$
|
|
5568
|
-
DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$
|
|
5569
|
-
DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$
|
|
5570
|
+
DetailedCardCollapsibleSectionItems.className = CLASSNAME$l;
|
|
5571
|
+
DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$l;
|
|
5572
|
+
DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$l;
|
|
5570
5573
|
|
|
5571
5574
|
/**
|
|
5572
5575
|
* Component style.
|
|
@@ -5630,10 +5633,10 @@ const StyledDetailedCardSection = styled.div`
|
|
|
5630
5633
|
}
|
|
5631
5634
|
`;
|
|
5632
5635
|
|
|
5633
|
-
const _excluded$
|
|
5634
|
-
const COMPONENT_NAME$
|
|
5635
|
-
const CLASSNAME$
|
|
5636
|
-
const DEFAULT_PROPS$
|
|
5636
|
+
const _excluded$j = ["badge", "color", "children", "className", "header", "isCollapsed", "isCollapsible", "isLoading"];
|
|
5637
|
+
const COMPONENT_NAME$k = 'DetailedCardSection';
|
|
5638
|
+
const CLASSNAME$k = 'redsift-detailed-card-section';
|
|
5639
|
+
const DEFAULT_PROPS$k = {
|
|
5637
5640
|
isCollapsible: true
|
|
5638
5641
|
};
|
|
5639
5642
|
const hasCollapsibleChildren = children => {
|
|
@@ -5660,7 +5663,7 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5660
5663
|
isCollapsible: propsIsCollapsible,
|
|
5661
5664
|
isLoading
|
|
5662
5665
|
} = props,
|
|
5663
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5666
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$j);
|
|
5664
5667
|
const stringFormatter = useLocalizedStringFormatter(intlMessages);
|
|
5665
5668
|
const isCollapsible = propsIsCollapsible && hasCollapsibleChildren(children);
|
|
5666
5669
|
const [isCollapsed, setIsCollapsed] = useState(Boolean(propsIsCollapsed));
|
|
@@ -5702,9 +5705,9 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5702
5705
|
}
|
|
5703
5706
|
}) : null), children);
|
|
5704
5707
|
});
|
|
5705
|
-
DetailedCardSection.className = CLASSNAME$
|
|
5706
|
-
DetailedCardSection.defaultProps = DEFAULT_PROPS$
|
|
5707
|
-
DetailedCardSection.displayName = COMPONENT_NAME$
|
|
5708
|
+
DetailedCardSection.className = CLASSNAME$k;
|
|
5709
|
+
DetailedCardSection.defaultProps = DEFAULT_PROPS$k;
|
|
5710
|
+
DetailedCardSection.displayName = COMPONENT_NAME$k;
|
|
5708
5711
|
|
|
5709
5712
|
/**
|
|
5710
5713
|
* Component style.
|
|
@@ -5747,10 +5750,10 @@ const StyledDetailedCardHeader = styled.div`
|
|
|
5747
5750
|
}
|
|
5748
5751
|
`;
|
|
5749
5752
|
|
|
5750
|
-
const _excluded$
|
|
5751
|
-
const COMPONENT_NAME$
|
|
5752
|
-
const CLASSNAME$
|
|
5753
|
-
const DEFAULT_PROPS$
|
|
5753
|
+
const _excluded$i = ["children", "className", "header", "headingProps", "isLoading"];
|
|
5754
|
+
const COMPONENT_NAME$j = 'DetailedCardHeader';
|
|
5755
|
+
const CLASSNAME$j = 'redsift-detailed-card-header';
|
|
5756
|
+
const DEFAULT_PROPS$j = {};
|
|
5754
5757
|
|
|
5755
5758
|
/**
|
|
5756
5759
|
* The DetailedCardHeader component.
|
|
@@ -5763,7 +5766,7 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5763
5766
|
headingProps,
|
|
5764
5767
|
isLoading
|
|
5765
5768
|
} = props,
|
|
5766
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5769
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$i);
|
|
5767
5770
|
return /*#__PURE__*/React__default.createElement(StyledDetailedCardHeader, _extends$1({}, forwardedProps, {
|
|
5768
5771
|
className: classNames(DetailedCardHeader.className, className),
|
|
5769
5772
|
ref: ref
|
|
@@ -5778,9 +5781,9 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5778
5781
|
variant: "h2"
|
|
5779
5782
|
}, headingProps), header)) : null, children);
|
|
5780
5783
|
});
|
|
5781
|
-
DetailedCardHeader.className = CLASSNAME$
|
|
5782
|
-
DetailedCardHeader.defaultProps = DEFAULT_PROPS$
|
|
5783
|
-
DetailedCardHeader.displayName = COMPONENT_NAME$
|
|
5784
|
+
DetailedCardHeader.className = CLASSNAME$j;
|
|
5785
|
+
DetailedCardHeader.defaultProps = DEFAULT_PROPS$j;
|
|
5786
|
+
DetailedCardHeader.displayName = COMPONENT_NAME$j;
|
|
5784
5787
|
|
|
5785
5788
|
/**
|
|
5786
5789
|
* Component size.
|
|
@@ -5933,10 +5936,10 @@ const StyledPill = styled.div`
|
|
|
5933
5936
|
}
|
|
5934
5937
|
`;
|
|
5935
5938
|
|
|
5936
|
-
const _excluded$
|
|
5937
|
-
const COMPONENT_NAME$
|
|
5938
|
-
const CLASSNAME$
|
|
5939
|
-
const DEFAULT_PROPS$
|
|
5939
|
+
const _excluded$h = ["autoBreak", "children", "className", "color", "hoverColor", "rightButton", "size"];
|
|
5940
|
+
const COMPONENT_NAME$i = 'Pill';
|
|
5941
|
+
const CLASSNAME$i = 'redsift-pill';
|
|
5942
|
+
const DEFAULT_PROPS$i = {
|
|
5940
5943
|
color: PresentationColorPalette.pink,
|
|
5941
5944
|
height: 'fit-content',
|
|
5942
5945
|
size: PillSize.large
|
|
@@ -5955,7 +5958,7 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5955
5958
|
rightButton,
|
|
5956
5959
|
size
|
|
5957
5960
|
} = props,
|
|
5958
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
5961
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$h);
|
|
5959
5962
|
return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
|
|
5960
5963
|
$autoBreak: autoBreak,
|
|
5961
5964
|
$color: color,
|
|
@@ -5974,9 +5977,9 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5974
5977
|
icon: mdiClose$1
|
|
5975
5978
|
})) : null);
|
|
5976
5979
|
});
|
|
5977
|
-
Pill.className = CLASSNAME$
|
|
5978
|
-
Pill.defaultProps = DEFAULT_PROPS$
|
|
5979
|
-
Pill.displayName = COMPONENT_NAME$
|
|
5980
|
+
Pill.className = CLASSNAME$i;
|
|
5981
|
+
Pill.defaultProps = DEFAULT_PROPS$i;
|
|
5982
|
+
Pill.displayName = COMPONENT_NAME$i;
|
|
5980
5983
|
|
|
5981
5984
|
/**
|
|
5982
5985
|
* Component style.
|
|
@@ -6008,10 +6011,10 @@ const StyledDetailedCardSectionItem = styled.div`
|
|
|
6008
6011
|
}
|
|
6009
6012
|
`;
|
|
6010
6013
|
|
|
6011
|
-
const _excluded$
|
|
6012
|
-
const COMPONENT_NAME$
|
|
6013
|
-
const CLASSNAME$
|
|
6014
|
-
const DEFAULT_PROPS$
|
|
6014
|
+
const _excluded$g = ["children", "className", "description", "icon", "iconProps", "isLoading", "pill", "pillProps", "shield"];
|
|
6015
|
+
const COMPONENT_NAME$h = 'DetailedCardSectionItem';
|
|
6016
|
+
const CLASSNAME$h = 'redsift-detailed-card-section-item';
|
|
6017
|
+
const DEFAULT_PROPS$h = {};
|
|
6015
6018
|
|
|
6016
6019
|
/**
|
|
6017
6020
|
* The DetailedCardSectionItems component.
|
|
@@ -6028,7 +6031,7 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6028
6031
|
pillProps,
|
|
6029
6032
|
shield
|
|
6030
6033
|
} = props,
|
|
6031
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
6034
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$g);
|
|
6032
6035
|
return /*#__PURE__*/React__default.createElement(StyledDetailedCardSectionItem, _extends$1({}, forwardedProps, {
|
|
6033
6036
|
className: classNames(DetailedCardSectionItem.className, className),
|
|
6034
6037
|
ref: ref
|
|
@@ -6056,9 +6059,9 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
6056
6059
|
className: `${DetailedCardSectionItem.className}-header__pill`
|
|
6057
6060
|
}, pillProps), pill), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(Text, null, description) : description)) : null), children);
|
|
6058
6061
|
});
|
|
6059
|
-
DetailedCardSectionItem.className = CLASSNAME$
|
|
6060
|
-
DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$
|
|
6061
|
-
DetailedCardSectionItem.displayName = COMPONENT_NAME$
|
|
6062
|
+
DetailedCardSectionItem.className = CLASSNAME$h;
|
|
6063
|
+
DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$h;
|
|
6064
|
+
DetailedCardSectionItem.displayName = COMPONENT_NAME$h;
|
|
6062
6065
|
|
|
6063
6066
|
/*!
|
|
6064
6067
|
* tabbable 6.1.2
|
|
@@ -9739,9 +9742,9 @@ const StyledTooltipContent = styled.div`
|
|
|
9739
9742
|
}}
|
|
9740
9743
|
`;
|
|
9741
9744
|
|
|
9742
|
-
const COMPONENT_NAME$
|
|
9743
|
-
const CLASSNAME$
|
|
9744
|
-
const DEFAULT_PROPS$
|
|
9745
|
+
const COMPONENT_NAME$g = 'TooltipContent';
|
|
9746
|
+
const CLASSNAME$g = 'redsift-tooltip-content';
|
|
9747
|
+
const DEFAULT_PROPS$g = {};
|
|
9745
9748
|
|
|
9746
9749
|
/**
|
|
9747
9750
|
* The TooltipContent component.
|
|
@@ -9802,13 +9805,13 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9802
9805
|
className: `${TooltipContent.className}__inner`
|
|
9803
9806
|
}, children)));
|
|
9804
9807
|
});
|
|
9805
|
-
TooltipContent.className = CLASSNAME$
|
|
9806
|
-
TooltipContent.defaultProps = DEFAULT_PROPS$
|
|
9807
|
-
TooltipContent.displayName = COMPONENT_NAME$
|
|
9808
|
+
TooltipContent.className = CLASSNAME$g;
|
|
9809
|
+
TooltipContent.defaultProps = DEFAULT_PROPS$g;
|
|
9810
|
+
TooltipContent.displayName = COMPONENT_NAME$g;
|
|
9808
9811
|
|
|
9809
|
-
const COMPONENT_NAME$
|
|
9810
|
-
const CLASSNAME$
|
|
9811
|
-
const DEFAULT_PROPS$
|
|
9812
|
+
const COMPONENT_NAME$f = 'TooltipTrigger';
|
|
9813
|
+
const CLASSNAME$f = 'redsift-tooltip-trigger';
|
|
9814
|
+
const DEFAULT_PROPS$f = {};
|
|
9812
9815
|
|
|
9813
9816
|
/**
|
|
9814
9817
|
* The TooltipTrigger component.
|
|
@@ -9838,9 +9841,9 @@ const TooltipTrigger = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9838
9841
|
ref: triggerRef
|
|
9839
9842
|
}, getReferenceProps(props)), children);
|
|
9840
9843
|
});
|
|
9841
|
-
TooltipTrigger.className = CLASSNAME$
|
|
9842
|
-
TooltipTrigger.defaultProps = DEFAULT_PROPS$
|
|
9843
|
-
TooltipTrigger.displayName = COMPONENT_NAME$
|
|
9844
|
+
TooltipTrigger.className = CLASSNAME$f;
|
|
9845
|
+
TooltipTrigger.defaultProps = DEFAULT_PROPS$f;
|
|
9846
|
+
TooltipTrigger.displayName = COMPONENT_NAME$f;
|
|
9844
9847
|
|
|
9845
9848
|
function useTooltip(_ref) {
|
|
9846
9849
|
let {
|
|
@@ -9903,9 +9906,9 @@ function useTooltip(_ref) {
|
|
|
9903
9906
|
}), [isOpen, handleOpen, interactions, data, arrowRef, tooltipId]);
|
|
9904
9907
|
}
|
|
9905
9908
|
|
|
9906
|
-
const COMPONENT_NAME$
|
|
9907
|
-
const CLASSNAME$
|
|
9908
|
-
const DEFAULT_PROPS$
|
|
9909
|
+
const COMPONENT_NAME$e = 'Tooltip';
|
|
9910
|
+
const CLASSNAME$e = 'redsift-tooltip';
|
|
9911
|
+
const DEFAULT_PROPS$e = {
|
|
9909
9912
|
delay: 500,
|
|
9910
9913
|
placement: TooltipPlacement.top
|
|
9911
9914
|
};
|
|
@@ -9936,9 +9939,9 @@ const BaseTooltip = props => {
|
|
|
9936
9939
|
value: tooltip
|
|
9937
9940
|
}, trigger, content);
|
|
9938
9941
|
};
|
|
9939
|
-
BaseTooltip.className = CLASSNAME$
|
|
9940
|
-
BaseTooltip.defaultProps = DEFAULT_PROPS$
|
|
9941
|
-
BaseTooltip.displayName = COMPONENT_NAME$
|
|
9942
|
+
BaseTooltip.className = CLASSNAME$e;
|
|
9943
|
+
BaseTooltip.defaultProps = DEFAULT_PROPS$e;
|
|
9944
|
+
BaseTooltip.displayName = COMPONENT_NAME$e;
|
|
9942
9945
|
const Tooltip = Object.assign(BaseTooltip, {
|
|
9943
9946
|
Trigger: TooltipTrigger,
|
|
9944
9947
|
Content: TooltipContent
|
|
@@ -9952,10 +9955,10 @@ const useTooltipContext = () => {
|
|
|
9952
9955
|
return context;
|
|
9953
9956
|
};
|
|
9954
9957
|
|
|
9955
|
-
const _excluded$
|
|
9956
|
-
const COMPONENT_NAME$
|
|
9957
|
-
const CLASSNAME$
|
|
9958
|
-
const DEFAULT_PROPS$
|
|
9958
|
+
const _excluded$f = ["areAllCollapsed", "bannerVariant", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
|
|
9959
|
+
const COMPONENT_NAME$d = 'DetailedCard';
|
|
9960
|
+
const CLASSNAME$d = 'redsift-detailed-card';
|
|
9961
|
+
const DEFAULT_PROPS$d = {
|
|
9959
9962
|
isCollapsible: true,
|
|
9960
9963
|
width: '400px'
|
|
9961
9964
|
};
|
|
@@ -9995,7 +9998,7 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
9995
9998
|
onCollapseAll,
|
|
9996
9999
|
shield
|
|
9997
10000
|
} = props,
|
|
9998
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10001
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$f);
|
|
9999
10002
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
|
|
10000
10003
|
const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
|
|
10001
10004
|
const [allCollapsed, setAllCollapsed] = useState({
|
|
@@ -10081,9 +10084,9 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10081
10084
|
return child;
|
|
10082
10085
|
}));
|
|
10083
10086
|
});
|
|
10084
|
-
BaseDetailedCard.className = CLASSNAME$
|
|
10085
|
-
BaseDetailedCard.defaultProps = DEFAULT_PROPS$
|
|
10086
|
-
BaseDetailedCard.displayName = COMPONENT_NAME$
|
|
10087
|
+
BaseDetailedCard.className = CLASSNAME$d;
|
|
10088
|
+
BaseDetailedCard.defaultProps = DEFAULT_PROPS$d;
|
|
10089
|
+
BaseDetailedCard.displayName = COMPONENT_NAME$d;
|
|
10087
10090
|
const DetailedCard = Object.assign(BaseDetailedCard, {
|
|
10088
10091
|
Header: DetailedCardHeader,
|
|
10089
10092
|
Section: DetailedCardSection,
|
|
@@ -10881,10 +10884,10 @@ const StyledGridItem = styled.div`
|
|
|
10881
10884
|
${baseInternalSpacing}
|
|
10882
10885
|
`;
|
|
10883
10886
|
|
|
10884
|
-
const _excluded$
|
|
10885
|
-
const COMPONENT_NAME$
|
|
10886
|
-
const CLASSNAME$
|
|
10887
|
-
const DEFAULT_PROPS$
|
|
10887
|
+
const _excluded$e = ["children", "className"];
|
|
10888
|
+
const COMPONENT_NAME$c = 'GridItem';
|
|
10889
|
+
const CLASSNAME$c = 'redsift-grid-item';
|
|
10890
|
+
const DEFAULT_PROPS$c = {};
|
|
10888
10891
|
|
|
10889
10892
|
/**
|
|
10890
10893
|
* The GridItem component.
|
|
@@ -10894,20 +10897,20 @@ const GridItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10894
10897
|
children,
|
|
10895
10898
|
className
|
|
10896
10899
|
} = props,
|
|
10897
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10900
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$e);
|
|
10898
10901
|
return /*#__PURE__*/React__default.createElement(StyledGridItem, _extends$1({}, forwardedProps, {
|
|
10899
10902
|
className: classNames(GridItem.className, className),
|
|
10900
10903
|
ref: ref
|
|
10901
10904
|
}), children);
|
|
10902
10905
|
});
|
|
10903
|
-
GridItem.className = CLASSNAME$
|
|
10904
|
-
GridItem.defaultProps = DEFAULT_PROPS$
|
|
10905
|
-
GridItem.displayName = COMPONENT_NAME$
|
|
10906
|
+
GridItem.className = CLASSNAME$c;
|
|
10907
|
+
GridItem.defaultProps = DEFAULT_PROPS$c;
|
|
10908
|
+
GridItem.displayName = COMPONENT_NAME$c;
|
|
10906
10909
|
|
|
10907
|
-
const _excluded$
|
|
10908
|
-
const COMPONENT_NAME$
|
|
10909
|
-
const CLASSNAME$
|
|
10910
|
-
const DEFAULT_PROPS$
|
|
10910
|
+
const _excluded$d = ["children", "className", "divider", "gap"];
|
|
10911
|
+
const COMPONENT_NAME$b = 'Grid';
|
|
10912
|
+
const CLASSNAME$b = 'redsift-grid';
|
|
10913
|
+
const DEFAULT_PROPS$b = {};
|
|
10911
10914
|
|
|
10912
10915
|
/**
|
|
10913
10916
|
* The Grid component.
|
|
@@ -10919,7 +10922,7 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10919
10922
|
divider,
|
|
10920
10923
|
gap
|
|
10921
10924
|
} = props,
|
|
10922
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
10925
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$d);
|
|
10923
10926
|
return /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
|
|
10924
10927
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
10925
10928
|
className: classNames(BaseGrid.className, className),
|
|
@@ -10927,9 +10930,9 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10927
10930
|
$divider: divider
|
|
10928
10931
|
}), children);
|
|
10929
10932
|
});
|
|
10930
|
-
BaseGrid.className = CLASSNAME$
|
|
10931
|
-
BaseGrid.defaultProps = DEFAULT_PROPS$
|
|
10932
|
-
BaseGrid.displayName = COMPONENT_NAME$
|
|
10933
|
+
BaseGrid.className = CLASSNAME$b;
|
|
10934
|
+
BaseGrid.defaultProps = DEFAULT_PROPS$b;
|
|
10935
|
+
BaseGrid.displayName = COMPONENT_NAME$b;
|
|
10933
10936
|
const Grid = Object.assign(BaseGrid, {
|
|
10934
10937
|
Item: GridItem
|
|
10935
10938
|
});
|
|
@@ -11152,11 +11155,11 @@ function useMenuItem(props) {
|
|
|
11152
11155
|
};
|
|
11153
11156
|
}
|
|
11154
11157
|
|
|
11155
|
-
const _excluded$
|
|
11158
|
+
const _excluded$c = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "value"],
|
|
11156
11159
|
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "onClick"];
|
|
11157
|
-
const COMPONENT_NAME$
|
|
11158
|
-
const CLASSNAME$
|
|
11159
|
-
const DEFAULT_PROPS$
|
|
11160
|
+
const COMPONENT_NAME$a = 'Item';
|
|
11161
|
+
const CLASSNAME$a = 'redsift-item';
|
|
11162
|
+
const DEFAULT_PROPS$a = {};
|
|
11160
11163
|
const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11161
11164
|
const {
|
|
11162
11165
|
children,
|
|
@@ -11169,7 +11172,7 @@ const RenderedListboxItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11169
11172
|
isSelected: propsIsSelected,
|
|
11170
11173
|
value
|
|
11171
11174
|
} = props,
|
|
11172
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11175
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$c);
|
|
11173
11176
|
const id = propsId !== null && propsId !== void 0 ? propsId : value;
|
|
11174
11177
|
const _ref = useRef();
|
|
11175
11178
|
const divRef = ref !== null && ref !== void 0 ? ref : _ref;
|
|
@@ -11294,9 +11297,9 @@ const Item = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11294
11297
|
}
|
|
11295
11298
|
return null;
|
|
11296
11299
|
});
|
|
11297
|
-
Item.className = CLASSNAME$
|
|
11298
|
-
Item.defaultProps = DEFAULT_PROPS$
|
|
11299
|
-
Item.displayName = COMPONENT_NAME$
|
|
11300
|
+
Item.className = CLASSNAME$a;
|
|
11301
|
+
Item.defaultProps = DEFAULT_PROPS$a;
|
|
11302
|
+
Item.displayName = COMPONENT_NAME$a;
|
|
11300
11303
|
|
|
11301
11304
|
/**
|
|
11302
11305
|
* Component style.
|
|
@@ -11338,10 +11341,10 @@ const StyledLink = styled.a`
|
|
|
11338
11341
|
}
|
|
11339
11342
|
`;
|
|
11340
11343
|
|
|
11341
|
-
const _excluded$
|
|
11342
|
-
const COMPONENT_NAME$
|
|
11343
|
-
const CLASSNAME$
|
|
11344
|
-
const DEFAULT_PROPS$
|
|
11344
|
+
const _excluded$b = ["as", "children", "className", "href", "isDisabled"];
|
|
11345
|
+
const COMPONENT_NAME$9 = 'Link';
|
|
11346
|
+
const CLASSNAME$9 = 'redsift-link';
|
|
11347
|
+
const DEFAULT_PROPS$9 = {};
|
|
11345
11348
|
|
|
11346
11349
|
/**
|
|
11347
11350
|
* The Link is a semantic link that looks like a link.
|
|
@@ -11359,7 +11362,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11359
11362
|
href,
|
|
11360
11363
|
isDisabled
|
|
11361
11364
|
} = props,
|
|
11362
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11365
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$b);
|
|
11363
11366
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11364
11367
|
as: as,
|
|
11365
11368
|
"aria-disabled": isDisabled,
|
|
@@ -11372,14 +11375,14 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11372
11375
|
ref: ref
|
|
11373
11376
|
}), children);
|
|
11374
11377
|
});
|
|
11375
|
-
Link.className = CLASSNAME$
|
|
11376
|
-
Link.defaultProps = DEFAULT_PROPS$
|
|
11377
|
-
Link.displayName = COMPONENT_NAME$
|
|
11378
|
+
Link.className = CLASSNAME$9;
|
|
11379
|
+
Link.defaultProps = DEFAULT_PROPS$9;
|
|
11380
|
+
Link.displayName = COMPONENT_NAME$9;
|
|
11378
11381
|
|
|
11379
|
-
const _excluded$
|
|
11380
|
-
const COMPONENT_NAME$
|
|
11381
|
-
const CLASSNAME$
|
|
11382
|
-
const DEFAULT_PROPS$
|
|
11382
|
+
const _excluded$a = ["children", "className", "disabled", "isDisabled"];
|
|
11383
|
+
const COMPONENT_NAME$8 = 'LinkButton';
|
|
11384
|
+
const CLASSNAME$8 = 'redsift-link-button';
|
|
11385
|
+
const DEFAULT_PROPS$8 = {};
|
|
11383
11386
|
|
|
11384
11387
|
/**
|
|
11385
11388
|
* The LinkButton is a semantic button that looks like a link.
|
|
@@ -11396,7 +11399,7 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11396
11399
|
disabled,
|
|
11397
11400
|
isDisabled: propsIsDisabled
|
|
11398
11401
|
} = props,
|
|
11399
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11402
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$a);
|
|
11400
11403
|
const isDisabled = propsIsDisabled || disabled;
|
|
11401
11404
|
return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
|
|
11402
11405
|
as: "button"
|
|
@@ -11410,11 +11413,11 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11410
11413
|
ref: buttonRef
|
|
11411
11414
|
}), children);
|
|
11412
11415
|
});
|
|
11413
|
-
LinkButton.className = CLASSNAME$
|
|
11414
|
-
LinkButton.defaultProps = DEFAULT_PROPS$
|
|
11415
|
-
LinkButton.displayName = COMPONENT_NAME$
|
|
11416
|
+
LinkButton.className = CLASSNAME$8;
|
|
11417
|
+
LinkButton.defaultProps = DEFAULT_PROPS$8;
|
|
11418
|
+
LinkButton.displayName = COMPONENT_NAME$8;
|
|
11416
11419
|
|
|
11417
|
-
const _excluded$
|
|
11420
|
+
const _excluded$9 = ["children", "id", "isDisabled", "context"];
|
|
11418
11421
|
const ActiveDescendantListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11419
11422
|
var _context$state$active;
|
|
11420
11423
|
const {
|
|
@@ -11423,7 +11426,7 @@ const ActiveDescendantListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11423
11426
|
isDisabled,
|
|
11424
11427
|
context
|
|
11425
11428
|
} = props,
|
|
11426
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11429
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$9);
|
|
11427
11430
|
const {
|
|
11428
11431
|
activedescendant,
|
|
11429
11432
|
handleKeyDown: handleFocusKeyDown,
|
|
@@ -11479,7 +11482,7 @@ const ActiveDescendantListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11479
11482
|
}, children));
|
|
11480
11483
|
});
|
|
11481
11484
|
|
|
11482
|
-
const _excluded$
|
|
11485
|
+
const _excluded$8 = ["children", "id", "isDisabled", "context"];
|
|
11483
11486
|
const RovingTabindexListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11484
11487
|
const {
|
|
11485
11488
|
children,
|
|
@@ -11487,7 +11490,7 @@ const RovingTabindexListbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11487
11490
|
isDisabled,
|
|
11488
11491
|
context
|
|
11489
11492
|
} = props,
|
|
11490
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11493
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$8);
|
|
11491
11494
|
return /*#__PURE__*/React__default.createElement(Flexbox, _extends$1({
|
|
11492
11495
|
flexDirection: "column",
|
|
11493
11496
|
gap: "8px"
|
|
@@ -11579,10 +11582,10 @@ const ListboxReducer = (state, action) => {
|
|
|
11579
11582
|
}
|
|
11580
11583
|
};
|
|
11581
11584
|
|
|
11582
|
-
const _excluded$
|
|
11583
|
-
const COMPONENT_NAME$
|
|
11584
|
-
const CLASSNAME$
|
|
11585
|
-
const DEFAULT_PROPS$
|
|
11585
|
+
const _excluded$7 = ["children", "className", "defaultValues", "direction", "focusOnClick", "focusType", "id", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "loopAround", "onChange", "selectionMode", "values", "variant"];
|
|
11586
|
+
const COMPONENT_NAME$7 = 'Listbox';
|
|
11587
|
+
const CLASSNAME$7 = 'redsift-listbox';
|
|
11588
|
+
const DEFAULT_PROPS$7 = {
|
|
11586
11589
|
focusOnClick: false,
|
|
11587
11590
|
focusType: 'roving-tabindex',
|
|
11588
11591
|
selectionMode: 'single',
|
|
@@ -11613,7 +11616,7 @@ const Listbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11613
11616
|
values,
|
|
11614
11617
|
variant
|
|
11615
11618
|
} = props,
|
|
11616
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11619
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$7);
|
|
11617
11620
|
const [_id] = useId$1();
|
|
11618
11621
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
11619
11622
|
const _ref = useRef();
|
|
@@ -11675,9 +11678,9 @@ const Listbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11675
11678
|
ref: divRef
|
|
11676
11679
|
}), children)));
|
|
11677
11680
|
});
|
|
11678
|
-
Listbox.className = CLASSNAME$
|
|
11679
|
-
Listbox.defaultProps = DEFAULT_PROPS$
|
|
11680
|
-
Listbox.displayName = COMPONENT_NAME$
|
|
11681
|
+
Listbox.className = CLASSNAME$7;
|
|
11682
|
+
Listbox.defaultProps = DEFAULT_PROPS$7;
|
|
11683
|
+
Listbox.displayName = COMPONENT_NAME$7;
|
|
11681
11684
|
|
|
11682
11685
|
/**
|
|
11683
11686
|
* Component style.
|
|
@@ -11686,10 +11689,10 @@ const StyledNumber = styled(StyledText)`
|
|
|
11686
11689
|
font-family: var(--redsift-typography-font-family-poppins);
|
|
11687
11690
|
`;
|
|
11688
11691
|
|
|
11689
|
-
const _excluded$
|
|
11690
|
-
const COMPONENT_NAME$
|
|
11691
|
-
const CLASSNAME$
|
|
11692
|
-
const DEFAULT_PROPS$
|
|
11692
|
+
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"];
|
|
11693
|
+
const COMPONENT_NAME$6 = 'Number';
|
|
11694
|
+
const CLASSNAME$6 = 'redsift-number';
|
|
11695
|
+
const DEFAULT_PROPS$6 = {
|
|
11693
11696
|
compactDisplay: 'short',
|
|
11694
11697
|
currencyDisplay: 'symbol',
|
|
11695
11698
|
currencySign: 'standard',
|
|
@@ -11739,7 +11742,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11739
11742
|
value,
|
|
11740
11743
|
variant
|
|
11741
11744
|
} = props,
|
|
11742
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
11745
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$6);
|
|
11743
11746
|
const formatter = useNumberFormatter(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
|
|
11744
11747
|
compactDisplay,
|
|
11745
11748
|
currency,
|
|
@@ -11787,9 +11790,69 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
11787
11790
|
$variant: variant
|
|
11788
11791
|
}), formatter.format(value));
|
|
11789
11792
|
});
|
|
11790
|
-
Number$1.className = CLASSNAME$
|
|
11791
|
-
Number$1.defaultProps = DEFAULT_PROPS$
|
|
11792
|
-
Number$1.displayName = COMPONENT_NAME$
|
|
11793
|
+
Number$1.className = CLASSNAME$6;
|
|
11794
|
+
Number$1.defaultProps = DEFAULT_PROPS$6;
|
|
11795
|
+
Number$1.displayName = COMPONENT_NAME$6;
|
|
11796
|
+
|
|
11797
|
+
/**
|
|
11798
|
+
* Component style.
|
|
11799
|
+
*/
|
|
11800
|
+
const StyledProgressBar = styled.progress`
|
|
11801
|
+
${_ref => {
|
|
11802
|
+
let {
|
|
11803
|
+
backgroundColor,
|
|
11804
|
+
height,
|
|
11805
|
+
progressColor,
|
|
11806
|
+
width
|
|
11807
|
+
} = _ref;
|
|
11808
|
+
return css`
|
|
11809
|
+
|
|
11810
|
+
&[value] { // Target only state with a value
|
|
11811
|
+
-webkit-appearance: none;
|
|
11812
|
+
appearance: none;
|
|
11813
|
+
height: ${height || '8px'};
|
|
11814
|
+
width: ${width || '100%'};
|
|
11815
|
+
color: var(--redsift-color-presentation-red-default);
|
|
11816
|
+
|
|
11817
|
+
&::-webkit-progress-bar {
|
|
11818
|
+
background-color: ${backgroundColor || 'var(--redsift-color-neutral-xlightgrey)'};
|
|
11819
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
11820
|
+
}
|
|
11821
|
+
|
|
11822
|
+
&::-webkit-progress-value {
|
|
11823
|
+
background-color: ${progressColor || 'var(--redsift-color-ctas-primary-primary)'};
|
|
11824
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) inset;
|
|
11825
|
+
}
|
|
11826
|
+
}
|
|
11827
|
+
`;
|
|
11828
|
+
}}
|
|
11829
|
+
`;
|
|
11830
|
+
|
|
11831
|
+
const _excluded$5 = ["className", "value"];
|
|
11832
|
+
const COMPONENT_NAME$5 = 'ProgressBar';
|
|
11833
|
+
const CLASSNAME$5 = 'redsift-progress-bar';
|
|
11834
|
+
const DEFAULT_PROPS$5 = {};
|
|
11835
|
+
|
|
11836
|
+
/**
|
|
11837
|
+
* The Progress bar component.
|
|
11838
|
+
*/
|
|
11839
|
+
const ProgressBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
11840
|
+
const {
|
|
11841
|
+
className,
|
|
11842
|
+
value
|
|
11843
|
+
} = props,
|
|
11844
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$5);
|
|
11845
|
+
return /*#__PURE__*/React__default.createElement(StyledProgressBar, _extends$1({}, forwardedProps, {
|
|
11846
|
+
className: classNames(ProgressBar.className, className),
|
|
11847
|
+
ref: ref,
|
|
11848
|
+
variant: "determinate",
|
|
11849
|
+
max: "100",
|
|
11850
|
+
value: value || 0
|
|
11851
|
+
}));
|
|
11852
|
+
});
|
|
11853
|
+
ProgressBar.className = CLASSNAME$5;
|
|
11854
|
+
ProgressBar.defaultProps = DEFAULT_PROPS$5;
|
|
11855
|
+
ProgressBar.displayName = COMPONENT_NAME$5;
|
|
11793
11856
|
|
|
11794
11857
|
/**
|
|
11795
11858
|
* Context props.
|
|
@@ -12877,6 +12940,9 @@ const StyledTextField = styled.div`
|
|
|
12877
12940
|
}}
|
|
12878
12941
|
`;
|
|
12879
12942
|
|
|
12943
|
+
// Material Design Icons v7.2.96
|
|
12944
|
+
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";
|
|
12945
|
+
|
|
12880
12946
|
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"];
|
|
12881
12947
|
const COMPONENT_NAME = 'TextField';
|
|
12882
12948
|
const CLASSNAME = 'redsift-text-field';
|
|
@@ -13042,5 +13108,5 @@ TextField.className = CLASSNAME;
|
|
|
13042
13108
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
13043
13109
|
TextField.displayName = COMPONENT_NAME;
|
|
13044
13110
|
|
|
13045
|
-
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, 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 };
|
|
13111
|
+
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, isComponent, nextId, partitionComponents, resetId, setPrefix, sizeToDimension$1 as sizeToDimension, uniqueId, useAppSidePanel, useBoundingClientRect, useFocusOnList, useFocusOnListItem, useId$1 as useId, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
|
|
13046
13112
|
//# sourceMappingURL=index.js.map
|