@redsift/design-system 9.0.0-alpha.13 → 9.0.0-alpha.15
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 +34 -2
- package/index.js +345 -194
- package/index.js.map +1 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -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$O = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
|
|
1040
|
+
const COMPONENT_NAME$O = 'Icon';
|
|
1041
|
+
const CLASSNAME$O = 'redsift-icon';
|
|
1042
|
+
const DEFAULT_PROPS$O = {
|
|
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$O);
|
|
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$O;
|
|
1144
|
+
Icon.defaultProps = DEFAULT_PROPS$O;
|
|
1145
|
+
Icon.displayName = COMPONENT_NAME$O;
|
|
1146
1146
|
|
|
1147
1147
|
/**
|
|
1148
1148
|
* Component variant.
|
|
@@ -1207,7 +1207,7 @@ const StyledButton = styled.button`
|
|
|
1207
1207
|
$isHovered
|
|
1208
1208
|
} = _ref2;
|
|
1209
1209
|
return css`
|
|
1210
|
-
padding: ${$variant === ButtonVariant.secondary ? '
|
|
1210
|
+
padding: ${$variant === ButtonVariant.secondary ? '8px 15px' : '9px 16px'};
|
|
1211
1211
|
|
|
1212
1212
|
${$variant === ButtonVariant.secondary ? css`
|
|
1213
1213
|
background-color: ${$isActive && $isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-active-hover)` : $isActive ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-active)` : $isHovered ? `var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-hover)` : $isDisabled ? 'var(--redsift-color-neutral-white)' : 'var(--redsift-color-neutral-white)'};
|
|
@@ -1383,10 +1383,10 @@ var spinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmc
|
|
|
1383
1383
|
|
|
1384
1384
|
var uncoloredSpinner = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iI2JkYmRiZCIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiNiZGJkYmQiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
|
|
1385
1385
|
|
|
1386
|
-
const _excluded$
|
|
1387
|
-
const COMPONENT_NAME$
|
|
1388
|
-
const CLASSNAME$
|
|
1389
|
-
const DEFAULT_PROPS$
|
|
1386
|
+
const _excluded$N = ["aria-hidden", "aria-label", "className", "isColored", "size"];
|
|
1387
|
+
const COMPONENT_NAME$N = 'Spinner';
|
|
1388
|
+
const CLASSNAME$N = 'redsift-shield';
|
|
1389
|
+
const DEFAULT_PROPS$N = {
|
|
1390
1390
|
isColored: true,
|
|
1391
1391
|
size: SpinnerSize.medium
|
|
1392
1392
|
};
|
|
@@ -1427,7 +1427,7 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1427
1427
|
isColored,
|
|
1428
1428
|
size
|
|
1429
1429
|
} = props,
|
|
1430
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1430
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$N);
|
|
1431
1431
|
const {
|
|
1432
1432
|
width,
|
|
1433
1433
|
height
|
|
@@ -1446,14 +1446,14 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1446
1446
|
$size: size
|
|
1447
1447
|
}));
|
|
1448
1448
|
});
|
|
1449
|
-
Spinner.className = CLASSNAME$
|
|
1450
|
-
Spinner.defaultProps = DEFAULT_PROPS$
|
|
1451
|
-
Spinner.displayName = COMPONENT_NAME$
|
|
1449
|
+
Spinner.className = CLASSNAME$N;
|
|
1450
|
+
Spinner.defaultProps = DEFAULT_PROPS$N;
|
|
1451
|
+
Spinner.displayName = COMPONENT_NAME$N;
|
|
1452
1452
|
|
|
1453
|
-
const _excluded$
|
|
1454
|
-
const COMPONENT_NAME$
|
|
1455
|
-
const CLASSNAME$
|
|
1456
|
-
const DEFAULT_PROPS$
|
|
1453
|
+
const _excluded$M = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isHovered", "isLoading", "leftIcon", "leftIconProps", "rightIcon", "rightIconProps", "variant"];
|
|
1454
|
+
const COMPONENT_NAME$M = 'Button';
|
|
1455
|
+
const CLASSNAME$M = 'redsift-button';
|
|
1456
|
+
const DEFAULT_PROPS$M = {
|
|
1457
1457
|
color: CtasColorPalette.primary,
|
|
1458
1458
|
height: 'fit-content',
|
|
1459
1459
|
variant: ButtonVariant.primary
|
|
@@ -1485,7 +1485,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1485
1485
|
rightIconProps,
|
|
1486
1486
|
variant
|
|
1487
1487
|
} = props,
|
|
1488
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1488
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$M);
|
|
1489
1489
|
const isDisabled = isLoading || propsIsDisabled || disabled;
|
|
1490
1490
|
return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, {
|
|
1491
1491
|
$color: color,
|
|
@@ -1512,9 +1512,9 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1512
1512
|
className: "right"
|
|
1513
1513
|
}, rightIconProps)) : null);
|
|
1514
1514
|
});
|
|
1515
|
-
Button.className = CLASSNAME$
|
|
1516
|
-
Button.defaultProps = DEFAULT_PROPS$
|
|
1517
|
-
Button.displayName = COMPONENT_NAME$
|
|
1515
|
+
Button.className = CLASSNAME$M;
|
|
1516
|
+
Button.defaultProps = DEFAULT_PROPS$M;
|
|
1517
|
+
Button.displayName = COMPONENT_NAME$M;
|
|
1518
1518
|
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Component style.
|
|
@@ -1541,10 +1541,10 @@ const StyledIconButton = styled(StyledButton)`
|
|
|
1541
1541
|
}}
|
|
1542
1542
|
`;
|
|
1543
1543
|
|
|
1544
|
-
const _excluded$
|
|
1545
|
-
const COMPONENT_NAME$
|
|
1546
|
-
const CLASSNAME$
|
|
1547
|
-
const DEFAULT_PROPS$
|
|
1544
|
+
const _excluded$L = ["className", "color", "disabled", "icon", "iconProps", "isActive", "isDisabled", "isHovered", "isLoading", "variant"];
|
|
1545
|
+
const COMPONENT_NAME$L = 'IconButton';
|
|
1546
|
+
const CLASSNAME$L = 'redsift-icon-button';
|
|
1547
|
+
const DEFAULT_PROPS$L = {
|
|
1548
1548
|
color: CtasColorPalette.primary,
|
|
1549
1549
|
height: 'fit-content',
|
|
1550
1550
|
variant: IconButtonVariant.unstyled
|
|
@@ -1570,7 +1570,7 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1570
1570
|
isLoading,
|
|
1571
1571
|
variant
|
|
1572
1572
|
} = props,
|
|
1573
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1573
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$L);
|
|
1574
1574
|
const isDisabled = props.isLoading || propsIsDisabled || disabled;
|
|
1575
1575
|
warnIfNoAccessibleLabelFound(props);
|
|
1576
1576
|
return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, {
|
|
@@ -1591,9 +1591,9 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1591
1591
|
color: isDisabled ? undefined : color
|
|
1592
1592
|
})));
|
|
1593
1593
|
});
|
|
1594
|
-
IconButton.className = CLASSNAME$
|
|
1595
|
-
IconButton.defaultProps = DEFAULT_PROPS$
|
|
1596
|
-
IconButton.displayName = COMPONENT_NAME$
|
|
1594
|
+
IconButton.className = CLASSNAME$L;
|
|
1595
|
+
IconButton.defaultProps = DEFAULT_PROPS$L;
|
|
1596
|
+
IconButton.displayName = COMPONENT_NAME$L;
|
|
1597
1597
|
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Component style.
|
|
@@ -1759,10 +1759,10 @@ const StyledText = styled.span`
|
|
|
1759
1759
|
}}
|
|
1760
1760
|
`;
|
|
1761
1761
|
|
|
1762
|
-
const _excluded$
|
|
1763
|
-
const COMPONENT_NAME$
|
|
1764
|
-
const CLASSNAME$
|
|
1765
|
-
const DEFAULT_PROPS$
|
|
1762
|
+
const _excluded$K = ["as", "children", "className", "color", "fontFamily", "fontSize", "fontWeight", "lineHeight", "noWrap", "variant"];
|
|
1763
|
+
const COMPONENT_NAME$K = 'Text';
|
|
1764
|
+
const CLASSNAME$K = 'redsift-text';
|
|
1765
|
+
const DEFAULT_PROPS$K = {
|
|
1766
1766
|
fontFamily: FontFamily.poppins
|
|
1767
1767
|
};
|
|
1768
1768
|
|
|
@@ -1782,7 +1782,7 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1782
1782
|
noWrap,
|
|
1783
1783
|
variant
|
|
1784
1784
|
} = props,
|
|
1785
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1785
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$K);
|
|
1786
1786
|
return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
|
|
1787
1787
|
as: as
|
|
1788
1788
|
}, forwardedProps, {
|
|
@@ -1798,9 +1798,9 @@ const Text = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1798
1798
|
$variant: variant
|
|
1799
1799
|
}), children);
|
|
1800
1800
|
});
|
|
1801
|
-
Text.className = CLASSNAME$
|
|
1802
|
-
Text.defaultProps = DEFAULT_PROPS$
|
|
1803
|
-
Text.displayName = COMPONENT_NAME$
|
|
1801
|
+
Text.className = CLASSNAME$K;
|
|
1802
|
+
Text.defaultProps = DEFAULT_PROPS$K;
|
|
1803
|
+
Text.displayName = COMPONENT_NAME$K;
|
|
1804
1804
|
|
|
1805
1805
|
/**
|
|
1806
1806
|
* Component style.
|
|
@@ -1850,10 +1850,10 @@ const StyledFlexbox = styled.div`
|
|
|
1850
1850
|
}}
|
|
1851
1851
|
`;
|
|
1852
1852
|
|
|
1853
|
-
const _excluded$
|
|
1854
|
-
const COMPONENT_NAME$
|
|
1855
|
-
const CLASSNAME$
|
|
1856
|
-
const DEFAULT_PROPS$
|
|
1853
|
+
const _excluded$J = ["children", "className", "divider", "gap"];
|
|
1854
|
+
const COMPONENT_NAME$J = 'Flexbox';
|
|
1855
|
+
const CLASSNAME$J = 'redsift-flex-box';
|
|
1856
|
+
const DEFAULT_PROPS$J = {
|
|
1857
1857
|
gap: '16px'
|
|
1858
1858
|
};
|
|
1859
1859
|
|
|
@@ -1867,7 +1867,7 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1867
1867
|
divider,
|
|
1868
1868
|
gap
|
|
1869
1869
|
} = props,
|
|
1870
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1870
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$J);
|
|
1871
1871
|
return /*#__PURE__*/React__default.createElement(StyledFlexbox, _extends$1({}, forwardedProps, {
|
|
1872
1872
|
gap: divider ? `${divider.rowGap}px ${divider.colGap}px` : gap,
|
|
1873
1873
|
className: classNames(Flexbox.className, className),
|
|
@@ -1875,14 +1875,14 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1875
1875
|
$divider: divider
|
|
1876
1876
|
}), children);
|
|
1877
1877
|
});
|
|
1878
|
-
Flexbox.className = CLASSNAME$
|
|
1879
|
-
Flexbox.defaultProps = DEFAULT_PROPS$
|
|
1880
|
-
Flexbox.displayName = COMPONENT_NAME$
|
|
1881
|
-
|
|
1882
|
-
const _excluded$
|
|
1883
|
-
const COMPONENT_NAME$
|
|
1884
|
-
const CLASSNAME$
|
|
1885
|
-
const DEFAULT_PROPS$
|
|
1878
|
+
Flexbox.className = CLASSNAME$J;
|
|
1879
|
+
Flexbox.defaultProps = DEFAULT_PROPS$J;
|
|
1880
|
+
Flexbox.displayName = COMPONENT_NAME$J;
|
|
1881
|
+
|
|
1882
|
+
const _excluded$I = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
|
|
1883
|
+
const COMPONENT_NAME$I = 'Alert';
|
|
1884
|
+
const CLASSNAME$I = 'redsift-alert';
|
|
1885
|
+
const DEFAULT_PROPS$I = {
|
|
1886
1886
|
variant: 'info'
|
|
1887
1887
|
};
|
|
1888
1888
|
const getVariant$1 = variant => {
|
|
@@ -1924,7 +1924,7 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1924
1924
|
title,
|
|
1925
1925
|
variant
|
|
1926
1926
|
} = props,
|
|
1927
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
1927
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$I);
|
|
1928
1928
|
const stringFormatter = useLocalizedStringFormatter(intlMessages$6);
|
|
1929
1929
|
const {
|
|
1930
1930
|
color,
|
|
@@ -1970,9 +1970,9 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
1970
1970
|
className: `${Alert.className}__content`
|
|
1971
1971
|
}, children) : null);
|
|
1972
1972
|
});
|
|
1973
|
-
Alert.className = CLASSNAME$
|
|
1974
|
-
Alert.defaultProps = DEFAULT_PROPS$
|
|
1975
|
-
Alert.displayName = COMPONENT_NAME$
|
|
1973
|
+
Alert.className = CLASSNAME$I;
|
|
1974
|
+
Alert.defaultProps = DEFAULT_PROPS$I;
|
|
1975
|
+
Alert.displayName = COMPONENT_NAME$I;
|
|
1976
1976
|
|
|
1977
1977
|
var expand$7 = "Expand left side panel";
|
|
1978
1978
|
var collapse$7 = "Collapse left side panel";
|
|
@@ -2043,8 +2043,8 @@ const StyledAppBar = styled.header`
|
|
|
2043
2043
|
$isSidePanelCollapsed
|
|
2044
2044
|
} = _ref2;
|
|
2045
2045
|
return !$isSidePanelCollapsed ? css`
|
|
2046
|
-
transform: translate(
|
|
2047
|
-
width: calc(
|
|
2046
|
+
transform: translate(254px);
|
|
2047
|
+
width: calc(100% - 254px);
|
|
2048
2048
|
` : css`
|
|
2049
2049
|
transform: translate(64px);
|
|
2050
2050
|
width: calc(100% - 64px);
|
|
@@ -2203,10 +2203,10 @@ const StyledHeading = styled.span`
|
|
|
2203
2203
|
}}
|
|
2204
2204
|
`;
|
|
2205
2205
|
|
|
2206
|
-
const _excluded$
|
|
2207
|
-
const COMPONENT_NAME$
|
|
2208
|
-
const CLASSNAME$
|
|
2209
|
-
const DEFAULT_PROPS$
|
|
2206
|
+
const _excluded$H = ["as", "children", "className", "noWrap", "variant"];
|
|
2207
|
+
const COMPONENT_NAME$H = 'Heading';
|
|
2208
|
+
const CLASSNAME$H = 'redsift-heading';
|
|
2209
|
+
const DEFAULT_PROPS$H = {};
|
|
2210
2210
|
|
|
2211
2211
|
/**
|
|
2212
2212
|
* The Heading component.
|
|
@@ -2219,7 +2219,7 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2219
2219
|
noWrap,
|
|
2220
2220
|
variant
|
|
2221
2221
|
} = props,
|
|
2222
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2222
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$H);
|
|
2223
2223
|
return /*#__PURE__*/React__default.createElement(StyledHeading, _extends$1({
|
|
2224
2224
|
as: as
|
|
2225
2225
|
}, forwardedProps, {
|
|
@@ -2229,9 +2229,9 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2229
2229
|
$variant: variant ? variant : as === 'span' ? 'body' : as
|
|
2230
2230
|
}), children);
|
|
2231
2231
|
});
|
|
2232
|
-
Heading.className = CLASSNAME$
|
|
2233
|
-
Heading.defaultProps = DEFAULT_PROPS$
|
|
2234
|
-
Heading.displayName = COMPONENT_NAME$
|
|
2232
|
+
Heading.className = CLASSNAME$H;
|
|
2233
|
+
Heading.defaultProps = DEFAULT_PROPS$H;
|
|
2234
|
+
Heading.displayName = COMPONENT_NAME$H;
|
|
2235
2235
|
|
|
2236
2236
|
/**
|
|
2237
2237
|
* Component variant.
|
|
@@ -2406,10 +2406,10 @@ const StyledAppSidePanel = styled.div`
|
|
|
2406
2406
|
}
|
|
2407
2407
|
`;
|
|
2408
2408
|
|
|
2409
|
-
const _excluded$
|
|
2410
|
-
const COMPONENT_NAME$
|
|
2411
|
-
const CLASSNAME$
|
|
2412
|
-
const DEFAULT_PROPS$
|
|
2409
|
+
const _excluded$G = ["children", "className", "featuredElements", "logo", "variant", "onOpen", "iconButtonProps", "iconButtonRef"];
|
|
2410
|
+
const COMPONENT_NAME$G = 'AppSidePanel';
|
|
2411
|
+
const CLASSNAME$G = 'redsift-app-side-panel';
|
|
2412
|
+
const DEFAULT_PROPS$G = {
|
|
2413
2413
|
variant: AppSidePanelVariant.standard
|
|
2414
2414
|
};
|
|
2415
2415
|
|
|
@@ -2427,7 +2427,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2427
2427
|
iconButtonProps,
|
|
2428
2428
|
iconButtonRef
|
|
2429
2429
|
} = props,
|
|
2430
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2430
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$G);
|
|
2431
2431
|
const {
|
|
2432
2432
|
width
|
|
2433
2433
|
} = useWindowSize();
|
|
@@ -2473,9 +2473,9 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2473
2473
|
className: `${AppSidePanel.className}__featured`
|
|
2474
2474
|
}, featuredElements) : null, children);
|
|
2475
2475
|
});
|
|
2476
|
-
AppSidePanel.className = CLASSNAME$
|
|
2477
|
-
AppSidePanel.defaultProps = DEFAULT_PROPS$
|
|
2478
|
-
AppSidePanel.displayName = COMPONENT_NAME$
|
|
2476
|
+
AppSidePanel.className = CLASSNAME$G;
|
|
2477
|
+
AppSidePanel.defaultProps = DEFAULT_PROPS$G;
|
|
2478
|
+
AppSidePanel.displayName = COMPONENT_NAME$G;
|
|
2479
2479
|
|
|
2480
2480
|
/**
|
|
2481
2481
|
* Component variant.
|
|
@@ -2764,10 +2764,10 @@ const StyledBadge = styled.div`
|
|
|
2764
2764
|
}}
|
|
2765
2765
|
`;
|
|
2766
2766
|
|
|
2767
|
-
const _excluded$
|
|
2768
|
-
const COMPONENT_NAME$
|
|
2769
|
-
const CLASSNAME$
|
|
2770
|
-
const DEFAULT_PROPS$
|
|
2767
|
+
const _excluded$F = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
|
|
2768
|
+
const COMPONENT_NAME$F = 'Badge';
|
|
2769
|
+
const CLASSNAME$F = 'redsift-badge';
|
|
2770
|
+
const DEFAULT_PROPS$F = {
|
|
2771
2771
|
color: NotificationsColorPalette.question,
|
|
2772
2772
|
variant: BadgeVariant.dot
|
|
2773
2773
|
};
|
|
@@ -2784,7 +2784,7 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2784
2784
|
isReversed,
|
|
2785
2785
|
variant
|
|
2786
2786
|
} = props,
|
|
2787
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2787
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$F);
|
|
2788
2788
|
return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
|
|
2789
2789
|
$autoBreak: autoBreak,
|
|
2790
2790
|
$color: color,
|
|
@@ -2794,18 +2794,18 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2794
2794
|
ref: ref
|
|
2795
2795
|
}), variant === BadgeVariant.standard ? children : null);
|
|
2796
2796
|
});
|
|
2797
|
-
Badge.className = CLASSNAME$
|
|
2798
|
-
Badge.defaultProps = DEFAULT_PROPS$
|
|
2799
|
-
Badge.displayName = COMPONENT_NAME$
|
|
2797
|
+
Badge.className = CLASSNAME$F;
|
|
2798
|
+
Badge.defaultProps = DEFAULT_PROPS$F;
|
|
2799
|
+
Badge.displayName = COMPONENT_NAME$F;
|
|
2800
2800
|
|
|
2801
2801
|
// Material Design Icons v7.2.96
|
|
2802
2802
|
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";
|
|
2803
2803
|
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";
|
|
2804
2804
|
|
|
2805
|
-
const _excluded$
|
|
2806
|
-
const COMPONENT_NAME$
|
|
2807
|
-
const CLASSNAME$
|
|
2808
|
-
const DEFAULT_PROPS$
|
|
2805
|
+
const _excluded$E = ["as", "badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex"];
|
|
2806
|
+
const COMPONENT_NAME$E = 'SideNavigationMenuItem';
|
|
2807
|
+
const CLASSNAME$E = 'redsift-side-navigation-menu-item';
|
|
2808
|
+
const DEFAULT_PROPS$E = {};
|
|
2809
2809
|
|
|
2810
2810
|
/**
|
|
2811
2811
|
* The SideNavigationMenuItem component.
|
|
@@ -2829,7 +2829,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2829
2829
|
onKeyDown,
|
|
2830
2830
|
tabIndex
|
|
2831
2831
|
} = props,
|
|
2832
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
2832
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$E);
|
|
2833
2833
|
warnIfNoAccessibleLabelFound(props, [children]);
|
|
2834
2834
|
const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
|
|
2835
2835
|
const sideNavigationMenuContext = useContext(SideNavigationMenuContext);
|
|
@@ -2887,9 +2887,9 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
2887
2887
|
color: "error"
|
|
2888
2888
|
}, badgeProps), badge) : null));
|
|
2889
2889
|
});
|
|
2890
|
-
SideNavigationMenuItem.className = CLASSNAME$
|
|
2891
|
-
SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$
|
|
2892
|
-
SideNavigationMenuItem.displayName = COMPONENT_NAME$
|
|
2890
|
+
SideNavigationMenuItem.className = CLASSNAME$E;
|
|
2891
|
+
SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$E;
|
|
2892
|
+
SideNavigationMenuItem.displayName = COMPONENT_NAME$E;
|
|
2893
2893
|
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Component style.
|
|
@@ -3108,10 +3108,10 @@ const StyledAppContainer = styled.div`
|
|
|
3108
3108
|
box-sizing: content-box;
|
|
3109
3109
|
`;
|
|
3110
3110
|
|
|
3111
|
-
const _excluded$
|
|
3112
|
-
const COMPONENT_NAME$
|
|
3113
|
-
const CLASSNAME$
|
|
3114
|
-
const DEFAULT_PROPS$
|
|
3111
|
+
const _excluded$D = ["children", "className", "locale", "product"];
|
|
3112
|
+
const COMPONENT_NAME$D = 'AppContainer';
|
|
3113
|
+
const CLASSNAME$D = 'redsift-app-container';
|
|
3114
|
+
const DEFAULT_PROPS$D = {};
|
|
3115
3115
|
|
|
3116
3116
|
/**
|
|
3117
3117
|
* The AppContainer component.
|
|
@@ -3123,7 +3123,7 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3123
3123
|
locale,
|
|
3124
3124
|
product
|
|
3125
3125
|
} = props,
|
|
3126
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3126
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$D);
|
|
3127
3127
|
const [sidePanelVariant, setSidePanelVariant] = useState(AppSidePanelVariant.standard);
|
|
3128
3128
|
const [breadcrumbs, setBreadcrumbs] = useState();
|
|
3129
3129
|
const state = {
|
|
@@ -3152,14 +3152,14 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3152
3152
|
locale: locale
|
|
3153
3153
|
}, children)));
|
|
3154
3154
|
});
|
|
3155
|
-
AppContainer.className = CLASSNAME$
|
|
3156
|
-
AppContainer.defaultProps = DEFAULT_PROPS$
|
|
3157
|
-
AppContainer.displayName = COMPONENT_NAME$
|
|
3155
|
+
AppContainer.className = CLASSNAME$D;
|
|
3156
|
+
AppContainer.defaultProps = DEFAULT_PROPS$D;
|
|
3157
|
+
AppContainer.displayName = COMPONENT_NAME$D;
|
|
3158
3158
|
|
|
3159
|
-
const _excluded$
|
|
3160
|
-
const COMPONENT_NAME$
|
|
3161
|
-
const CLASSNAME$
|
|
3162
|
-
const DEFAULT_PROPS$
|
|
3159
|
+
const _excluded$C = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "id", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex"];
|
|
3160
|
+
const COMPONENT_NAME$C = 'SideNavigationMenu';
|
|
3161
|
+
const CLASSNAME$C = 'redsift-side-navigation-menu';
|
|
3162
|
+
const DEFAULT_PROPS$C = {};
|
|
3163
3163
|
|
|
3164
3164
|
/**
|
|
3165
3165
|
* The SideNavigationMenu component.
|
|
@@ -3182,7 +3182,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3182
3182
|
menuRef = useRef(),
|
|
3183
3183
|
tabIndex
|
|
3184
3184
|
} = props,
|
|
3185
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3185
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$C);
|
|
3186
3186
|
const [_id] = useId$1();
|
|
3187
3187
|
const id = propsId !== null && propsId !== void 0 ? propsId : _id;
|
|
3188
3188
|
warnIfNoAccessibleLabelFound(props);
|
|
@@ -3488,9 +3488,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3488
3488
|
role: "menu"
|
|
3489
3489
|
}, menuItemListEventHandler), renderedMenuItems)))));
|
|
3490
3490
|
});
|
|
3491
|
-
SideNavigationMenu.className = CLASSNAME$
|
|
3492
|
-
SideNavigationMenu.defaultProps = DEFAULT_PROPS$
|
|
3493
|
-
SideNavigationMenu.displayName = COMPONENT_NAME$
|
|
3491
|
+
SideNavigationMenu.className = CLASSNAME$C;
|
|
3492
|
+
SideNavigationMenu.defaultProps = DEFAULT_PROPS$C;
|
|
3493
|
+
SideNavigationMenu.displayName = COMPONENT_NAME$C;
|
|
3494
3494
|
|
|
3495
3495
|
/**
|
|
3496
3496
|
* Component style.
|
|
@@ -3556,10 +3556,10 @@ const StyledSideNavigationMenuBar = styled.nav`
|
|
|
3556
3556
|
}
|
|
3557
3557
|
`;
|
|
3558
3558
|
|
|
3559
|
-
const _excluded$
|
|
3560
|
-
const COMPONENT_NAME$
|
|
3561
|
-
const CLASSNAME$
|
|
3562
|
-
const DEFAULT_PROPS$
|
|
3559
|
+
const _excluded$B = ["aria-label", "aria-labelledby", "canHaveMultipleMenuOpenAtOnce", "children", "className", "isDisabled", "menubarProps", "menubarRef", "variant"];
|
|
3560
|
+
const COMPONENT_NAME$B = 'SideNavigationMenuBar';
|
|
3561
|
+
const CLASSNAME$B = 'redsift-side-navigation-menu-bar';
|
|
3562
|
+
const DEFAULT_PROPS$B = {
|
|
3563
3563
|
variant: SideNavigationMenuBarVariant.standard
|
|
3564
3564
|
};
|
|
3565
3565
|
|
|
@@ -3590,7 +3590,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3590
3590
|
menubarRef = useRef(),
|
|
3591
3591
|
variant: propsVariant
|
|
3592
3592
|
} = props,
|
|
3593
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3593
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$B);
|
|
3594
3594
|
warnIfNoAccessibleLabelFound(props);
|
|
3595
3595
|
const appContainerState = useContext(AppContainerContext);
|
|
3596
3596
|
const {
|
|
@@ -3748,13 +3748,13 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3748
3748
|
role: "menubar"
|
|
3749
3749
|
}), navItems)));
|
|
3750
3750
|
});
|
|
3751
|
-
SideNavigationMenuBar.className = CLASSNAME$
|
|
3752
|
-
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$
|
|
3753
|
-
SideNavigationMenuBar.displayName = COMPONENT_NAME$
|
|
3751
|
+
SideNavigationMenuBar.className = CLASSNAME$B;
|
|
3752
|
+
SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$B;
|
|
3753
|
+
SideNavigationMenuBar.displayName = COMPONENT_NAME$B;
|
|
3754
3754
|
|
|
3755
|
-
const _excluded$
|
|
3755
|
+
const _excluded$A = ["title", "href", "ref"],
|
|
3756
3756
|
_excluded2$1 = ["title", "children", "ref"],
|
|
3757
|
-
_excluded3
|
|
3757
|
+
_excluded3 = ["title", "href", "ref"];
|
|
3758
3758
|
const isMenu = item => {
|
|
3759
3759
|
return item.children !== undefined;
|
|
3760
3760
|
};
|
|
@@ -3771,7 +3771,7 @@ const useSideNavigationMenuBar = _ref => {
|
|
|
3771
3771
|
href,
|
|
3772
3772
|
ref
|
|
3773
3773
|
} = item,
|
|
3774
|
-
rest = _objectWithoutProperties(item, _excluded$
|
|
3774
|
+
rest = _objectWithoutProperties(item, _excluded$A);
|
|
3775
3775
|
menuBarChildren.push( /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
|
|
3776
3776
|
key: title,
|
|
3777
3777
|
isCurrent: isActive ? isActive(href) : undefined
|
|
@@ -3799,7 +3799,7 @@ const useSideNavigationMenuBar = _ref => {
|
|
|
3799
3799
|
href,
|
|
3800
3800
|
ref
|
|
3801
3801
|
} = child,
|
|
3802
|
-
rest = _objectWithoutProperties(child, _excluded3
|
|
3802
|
+
rest = _objectWithoutProperties(child, _excluded3);
|
|
3803
3803
|
return /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
|
|
3804
3804
|
key: title,
|
|
3805
3805
|
href: href,
|
|
@@ -3875,10 +3875,10 @@ const StyledBreadcrumbItem = styled.a`
|
|
|
3875
3875
|
}
|
|
3876
3876
|
`;
|
|
3877
3877
|
|
|
3878
|
-
const _excluded$
|
|
3879
|
-
const COMPONENT_NAME$
|
|
3880
|
-
const CLASSNAME$
|
|
3881
|
-
const DEFAULT_PROPS$
|
|
3878
|
+
const _excluded$z = ["as", "children", "className", "href", "isCurrent", "isDisabled"];
|
|
3879
|
+
const COMPONENT_NAME$A = 'BreadcrumbItem';
|
|
3880
|
+
const CLASSNAME$A = 'redsift-breadcrumb-item';
|
|
3881
|
+
const DEFAULT_PROPS$A = {};
|
|
3882
3882
|
|
|
3883
3883
|
/**
|
|
3884
3884
|
* The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
|
|
@@ -3892,7 +3892,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3892
3892
|
isCurrent,
|
|
3893
3893
|
isDisabled
|
|
3894
3894
|
} = props,
|
|
3895
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3895
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$z);
|
|
3896
3896
|
warnIfNoAccessibleLabelFound(props, [children]);
|
|
3897
3897
|
return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
|
|
3898
3898
|
as: as || 'a',
|
|
@@ -3908,9 +3908,9 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3908
3908
|
ref: ref
|
|
3909
3909
|
}), children);
|
|
3910
3910
|
});
|
|
3911
|
-
BreadcrumbItem.className = CLASSNAME$
|
|
3912
|
-
BreadcrumbItem.defaultProps = DEFAULT_PROPS$
|
|
3913
|
-
BreadcrumbItem.displayName = COMPONENT_NAME$
|
|
3911
|
+
BreadcrumbItem.className = CLASSNAME$A;
|
|
3912
|
+
BreadcrumbItem.defaultProps = DEFAULT_PROPS$A;
|
|
3913
|
+
BreadcrumbItem.displayName = COMPONENT_NAME$A;
|
|
3914
3914
|
|
|
3915
3915
|
/**
|
|
3916
3916
|
* Component style.
|
|
@@ -3944,10 +3944,10 @@ const StyledBreadcrumbs = styled.nav`
|
|
|
3944
3944
|
}
|
|
3945
3945
|
`;
|
|
3946
3946
|
|
|
3947
|
-
const _excluded$
|
|
3948
|
-
const COMPONENT_NAME$
|
|
3949
|
-
const CLASSNAME$
|
|
3950
|
-
const DEFAULT_PROPS$
|
|
3947
|
+
const _excluded$y = ["children", "className", "isDisabled"];
|
|
3948
|
+
const COMPONENT_NAME$z = 'Breadcrumbs';
|
|
3949
|
+
const CLASSNAME$z = 'redsift-breadcrumbs';
|
|
3950
|
+
const DEFAULT_PROPS$z = {};
|
|
3951
3951
|
|
|
3952
3952
|
/**
|
|
3953
3953
|
* The Breadcrumbs components is a list of links to the parent pages of the current page in hierarchical order.
|
|
@@ -3958,7 +3958,7 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3958
3958
|
className,
|
|
3959
3959
|
isDisabled
|
|
3960
3960
|
} = props,
|
|
3961
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
3961
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$y);
|
|
3962
3962
|
warnIfNoAccessibleLabelFound(props);
|
|
3963
3963
|
const childArray = filterComponents([Breadcrumbs.Item])(children);
|
|
3964
3964
|
const breadcrumbItems = childArray.map((child, index) => {
|
|
@@ -3981,17 +3981,17 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
3981
3981
|
ref: ref
|
|
3982
3982
|
}), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
|
|
3983
3983
|
});
|
|
3984
|
-
BaseBreadcrumbs.className = CLASSNAME$
|
|
3985
|
-
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$
|
|
3986
|
-
BaseBreadcrumbs.displayName = COMPONENT_NAME$
|
|
3984
|
+
BaseBreadcrumbs.className = CLASSNAME$z;
|
|
3985
|
+
BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$z;
|
|
3986
|
+
BaseBreadcrumbs.displayName = COMPONENT_NAME$z;
|
|
3987
3987
|
const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
|
|
3988
3988
|
Item: BreadcrumbItem
|
|
3989
3989
|
});
|
|
3990
3990
|
|
|
3991
|
-
const _excluded$
|
|
3992
|
-
const COMPONENT_NAME$
|
|
3993
|
-
const CLASSNAME$
|
|
3994
|
-
const DEFAULT_PROPS$
|
|
3991
|
+
const _excluded$x = ["breadcrumbs", "children", "className", "iconButtonProps", "iconButtonRef", "fallbackTitle", "title"];
|
|
3992
|
+
const COMPONENT_NAME$y = 'AppBar';
|
|
3993
|
+
const CLASSNAME$y = 'redsift-app-bar';
|
|
3994
|
+
const DEFAULT_PROPS$y = {};
|
|
3995
3995
|
|
|
3996
3996
|
/**
|
|
3997
3997
|
* The AppBar component.
|
|
@@ -4007,7 +4007,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4007
4007
|
fallbackTitle,
|
|
4008
4008
|
title: propsTitle
|
|
4009
4009
|
} = props,
|
|
4010
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4010
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$x);
|
|
4011
4011
|
const [scroll, setScroll] = useState(false);
|
|
4012
4012
|
useEffect(() => {
|
|
4013
4013
|
window.addEventListener('scroll', () => {
|
|
@@ -4055,13 +4055,13 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4055
4055
|
as: index === breadcrumbs.length - 1 ? 'h1' : breadcrumbItem.href === undefined ? 'span' : breadcrumbItem.as || 'a'
|
|
4056
4056
|
})))) : fallbackTitle ? /*#__PURE__*/React__default.createElement(Heading, {
|
|
4057
4057
|
as: "h1"
|
|
4058
|
-
}, fallbackTitle) : null), /*#__PURE__*/React__default.createElement("div", {
|
|
4058
|
+
}, fallbackTitle) : null), children ? /*#__PURE__*/React__default.createElement("div", {
|
|
4059
4059
|
className: `${AppBar.className}__right`
|
|
4060
|
-
}, children));
|
|
4060
|
+
}, children) : null);
|
|
4061
4061
|
});
|
|
4062
|
-
AppBar.className = CLASSNAME$
|
|
4063
|
-
AppBar.defaultProps = DEFAULT_PROPS$
|
|
4064
|
-
AppBar.displayName = COMPONENT_NAME$
|
|
4062
|
+
AppBar.className = CLASSNAME$y;
|
|
4063
|
+
AppBar.defaultProps = DEFAULT_PROPS$y;
|
|
4064
|
+
AppBar.displayName = COMPONENT_NAME$y;
|
|
4065
4065
|
|
|
4066
4066
|
/**
|
|
4067
4067
|
* Component style.
|
|
@@ -4100,10 +4100,10 @@ const StyledAppContent = styled.main`
|
|
|
4100
4100
|
}}
|
|
4101
4101
|
`;
|
|
4102
4102
|
|
|
4103
|
-
const _excluded$
|
|
4104
|
-
const COMPONENT_NAME$
|
|
4105
|
-
const CLASSNAME$
|
|
4106
|
-
const DEFAULT_PROPS$
|
|
4103
|
+
const _excluded$w = ["children", "className"];
|
|
4104
|
+
const COMPONENT_NAME$x = 'AppContent';
|
|
4105
|
+
const CLASSNAME$x = 'redsift-app-content';
|
|
4106
|
+
const DEFAULT_PROPS$x = {};
|
|
4107
4107
|
|
|
4108
4108
|
/**
|
|
4109
4109
|
* The AppContent component.
|
|
@@ -4113,7 +4113,7 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4113
4113
|
children,
|
|
4114
4114
|
className
|
|
4115
4115
|
} = props,
|
|
4116
|
-
forwardedProps = _objectWithoutProperties(props, _excluded$
|
|
4116
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$w);
|
|
4117
4117
|
const {
|
|
4118
4118
|
isLoaded
|
|
4119
4119
|
} = useIsLoaded();
|
|
@@ -4125,9 +4125,166 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
4125
4125
|
ref: ref
|
|
4126
4126
|
}), children);
|
|
4127
4127
|
});
|
|
4128
|
-
AppContent.className = CLASSNAME$
|
|
4129
|
-
AppContent.defaultProps = DEFAULT_PROPS$
|
|
4130
|
-
AppContent.displayName = COMPONENT_NAME$
|
|
4128
|
+
AppContent.className = CLASSNAME$x;
|
|
4129
|
+
AppContent.defaultProps = DEFAULT_PROPS$x;
|
|
4130
|
+
AppContent.displayName = COMPONENT_NAME$x;
|
|
4131
|
+
|
|
4132
|
+
/**
|
|
4133
|
+
* Component variant.
|
|
4134
|
+
*/
|
|
4135
|
+
const ButtonGroupVariant = {
|
|
4136
|
+
primary: 'primary',
|
|
4137
|
+
secondary: 'secondary',
|
|
4138
|
+
unstyled: 'unstyled'
|
|
4139
|
+
};
|
|
4140
|
+
|
|
4141
|
+
/**
|
|
4142
|
+
* Component color.
|
|
4143
|
+
*/
|
|
4144
|
+
|
|
4145
|
+
/**
|
|
4146
|
+
* Component props.
|
|
4147
|
+
*/
|
|
4148
|
+
|
|
4149
|
+
/**
|
|
4150
|
+
* Component style.
|
|
4151
|
+
*/
|
|
4152
|
+
const StyledButtonGroup = styled.div`
|
|
4153
|
+
display: ${_ref => {
|
|
4154
|
+
let {
|
|
4155
|
+
inline
|
|
4156
|
+
} = _ref;
|
|
4157
|
+
return inline ? 'inline-flex' : 'flex';
|
|
4158
|
+
}};
|
|
4159
|
+
|
|
4160
|
+
${baseStyling}
|
|
4161
|
+
${baseFlexbox}
|
|
4162
|
+
|
|
4163
|
+
${_ref2 => {
|
|
4164
|
+
let {
|
|
4165
|
+
$color,
|
|
4166
|
+
$variant
|
|
4167
|
+
} = _ref2;
|
|
4168
|
+
return css`
|
|
4169
|
+
${$variant === ButtonGroupVariant.secondary ? css`
|
|
4170
|
+
.first-button {
|
|
4171
|
+
border-top-right-radius: 0;
|
|
4172
|
+
border-bottom-right-radius: 0;
|
|
4173
|
+
border-right-color: transparent;
|
|
4174
|
+
}
|
|
4175
|
+
|
|
4176
|
+
.middle-button {
|
|
4177
|
+
border-top-left-radius: 0;
|
|
4178
|
+
border-bottom-left-radius: 0;
|
|
4179
|
+
margin-left: -1px;
|
|
4180
|
+
border-top-right-radius: 0;
|
|
4181
|
+
border-bottom-right-radius: 0;
|
|
4182
|
+
border-right-color: transparent;
|
|
4183
|
+
}
|
|
4184
|
+
|
|
4185
|
+
.last-button {
|
|
4186
|
+
border-top-left-radius: 0;
|
|
4187
|
+
border-bottom-left-radius: 0;
|
|
4188
|
+
margin-left: -1px;
|
|
4189
|
+
}
|
|
4190
|
+
` : $variant === ButtonGroupVariant.unstyled ? css`
|
|
4191
|
+
.first-button {
|
|
4192
|
+
border-top-right-radius: 0;
|
|
4193
|
+
border-bottom-right-radius: 0;
|
|
4194
|
+
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4195
|
+
border-color: ${`var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-active)`};
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
.middle-button {
|
|
4199
|
+
border-top-left-radius: 0;
|
|
4200
|
+
border-bottom-left-radius: 0;
|
|
4201
|
+
border-top-right-radius: 0;
|
|
4202
|
+
border-bottom-right-radius: 0;
|
|
4203
|
+
border-right: 1px solid rgba(0, 0, 0, 0.23);
|
|
4204
|
+
border-color: ${`var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-active)`};
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4207
|
+
.last-button {
|
|
4208
|
+
border-top-left-radius: 0;
|
|
4209
|
+
border-bottom-left-radius: 0;
|
|
4210
|
+
}
|
|
4211
|
+
` : css`
|
|
4212
|
+
.first-button {
|
|
4213
|
+
border-top-right-radius: 0;
|
|
4214
|
+
border-bottom-right-radius: 0;
|
|
4215
|
+
border-right: 1px solid #bdbdbd;
|
|
4216
|
+
border-color: ${`var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-hover)`};
|
|
4217
|
+
}
|
|
4218
|
+
|
|
4219
|
+
.middle-button {
|
|
4220
|
+
border-top-left-radius: 0;
|
|
4221
|
+
border-bottom-left-radius: 0;
|
|
4222
|
+
border-top-right-radius: 0;
|
|
4223
|
+
border-bottom-right-radius: 0;
|
|
4224
|
+
border-right: 1px solid #bdbdbd;
|
|
4225
|
+
border-color: ${`var(--redsift-color-${Object.keys(CtasColorPalette).includes($color) ? 'ctas' : 'notifications'}-${$color}-button-hover)`};
|
|
4226
|
+
}
|
|
4227
|
+
|
|
4228
|
+
.last-button {
|
|
4229
|
+
border-top-left-radius: 0;
|
|
4230
|
+
border-bottom-left-radius: 0;
|
|
4231
|
+
}
|
|
4232
|
+
`}
|
|
4233
|
+
`;
|
|
4234
|
+
}};
|
|
4235
|
+
`;
|
|
4236
|
+
|
|
4237
|
+
const _excluded$v = ["children", "className", "color", "variant"];
|
|
4238
|
+
const COMPONENT_NAME$w = 'ButtonGroup';
|
|
4239
|
+
const CLASSNAME$w = 'redsift-button-group';
|
|
4240
|
+
const DEFAULT_PROPS$w = {
|
|
4241
|
+
variant: 'primary'
|
|
4242
|
+
};
|
|
4243
|
+
|
|
4244
|
+
/**
|
|
4245
|
+
* The ButtonGroup component.
|
|
4246
|
+
*/
|
|
4247
|
+
const ButtonGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
4248
|
+
const {
|
|
4249
|
+
children,
|
|
4250
|
+
className,
|
|
4251
|
+
color,
|
|
4252
|
+
variant
|
|
4253
|
+
} = props,
|
|
4254
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$v);
|
|
4255
|
+
|
|
4256
|
+
/**
|
|
4257
|
+
* Create an array containing only valid children being either Button, IconButton, ButtonLink or MenuButton.
|
|
4258
|
+
*/
|
|
4259
|
+
const childArray = filterComponents(['Button', 'IconButton', 'ButtonLink', 'MenuButton'])(children);
|
|
4260
|
+
const buttons = childArray.map((child, index) => {
|
|
4261
|
+
var _key;
|
|
4262
|
+
if (isComponent('MenuButton')(child)) {
|
|
4263
|
+
var _child$key;
|
|
4264
|
+
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4265
|
+
color,
|
|
4266
|
+
variant,
|
|
4267
|
+
key: (_child$key = child.key) !== null && _child$key !== void 0 ? _child$key : index,
|
|
4268
|
+
triggerClassName: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
4269
|
+
});
|
|
4270
|
+
}
|
|
4271
|
+
return /*#__PURE__*/React__default.cloneElement(child, {
|
|
4272
|
+
color,
|
|
4273
|
+
variant,
|
|
4274
|
+
key: (_key = child.key) !== null && _key !== void 0 ? _key : index,
|
|
4275
|
+
className: index === 0 ? 'first-button' : index === childArray.length - 1 ? 'last-button' : 'middle-button'
|
|
4276
|
+
});
|
|
4277
|
+
});
|
|
4278
|
+
return /*#__PURE__*/React__default.createElement(StyledButtonGroup, _extends$1({}, forwardedProps, {
|
|
4279
|
+
className: classNames(ButtonGroup.className, className),
|
|
4280
|
+
ref: ref,
|
|
4281
|
+
$color: color,
|
|
4282
|
+
$variant: variant
|
|
4283
|
+
}), buttons);
|
|
4284
|
+
});
|
|
4285
|
+
ButtonGroup.className = CLASSNAME$w;
|
|
4286
|
+
ButtonGroup.defaultProps = DEFAULT_PROPS$w;
|
|
4287
|
+
ButtonGroup.displayName = COMPONENT_NAME$w;
|
|
4131
4288
|
|
|
4132
4289
|
const _excluded$u = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
|
|
4133
4290
|
const COMPONENT_NAME$v = 'ButtonLink';
|
|
@@ -4570,10 +4727,10 @@ const StyledCardBody = styled.div`
|
|
|
4570
4727
|
${baseContainer}
|
|
4571
4728
|
|
|
4572
4729
|
color: var(--redsift-color-neutral-darkgrey);
|
|
4573
|
-
font-family: var(--redsift-typography-
|
|
4574
|
-
font-size: var(--redsift-typography-
|
|
4575
|
-
font-weight: var(--redsift-typography-
|
|
4576
|
-
line-height: var(--redsift-typography-
|
|
4730
|
+
font-family: var(--redsift-typography-body-font-family);
|
|
4731
|
+
font-size: var(--redsift-typography-body-font-size);
|
|
4732
|
+
font-weight: var(--redsift-typography-body-font-weight);
|
|
4733
|
+
line-height: var(--redsift-typography-body-line-height);
|
|
4577
4734
|
padding: 16px 0px;
|
|
4578
4735
|
`;
|
|
4579
4736
|
|
|
@@ -4904,7 +5061,7 @@ const StyledCheckbox = styled.label`
|
|
|
4904
5061
|
$isInvalid
|
|
4905
5062
|
} = _ref;
|
|
4906
5063
|
return $isDisabled ? css`
|
|
4907
|
-
color: var(--redsift-color-neutral-
|
|
5064
|
+
color: var(--redsift-color-neutral-lightgrey);
|
|
4908
5065
|
` : $isInvalid ? css`
|
|
4909
5066
|
color: var(--redsift-color-notifications-error-primary);
|
|
4910
5067
|
` : css`
|
|
@@ -4939,7 +5096,7 @@ const StyledCheckbox = styled.label`
|
|
|
4939
5096
|
} = _ref2;
|
|
4940
5097
|
return css`
|
|
4941
5098
|
${$isDisabled ? css`
|
|
4942
|
-
color: var(--redsift-color-neutral-
|
|
5099
|
+
color: var(--redsift-color-neutral-lightgrey);
|
|
4943
5100
|
` : $isInvalid ? css`
|
|
4944
5101
|
color: var(--redsift-color-notifications-error-primary);
|
|
4945
5102
|
` : css`
|
|
@@ -10696,6 +10853,7 @@ function useListboxItem(props) {
|
|
|
10696
10853
|
function useMenuItem(props) {
|
|
10697
10854
|
const {
|
|
10698
10855
|
domElementRef,
|
|
10856
|
+
value,
|
|
10699
10857
|
id,
|
|
10700
10858
|
isDisabled,
|
|
10701
10859
|
onClick
|
|
@@ -10708,7 +10866,8 @@ function useMenuItem(props) {
|
|
|
10708
10866
|
} = useFocusOnListItem({
|
|
10709
10867
|
domElementRef,
|
|
10710
10868
|
isDisabled: isDisabled,
|
|
10711
|
-
id
|
|
10869
|
+
id,
|
|
10870
|
+
value
|
|
10712
10871
|
});
|
|
10713
10872
|
const handleKeyDown = useCallback(event => {
|
|
10714
10873
|
const code = event.code;
|
|
@@ -10737,8 +10896,7 @@ function useMenuItem(props) {
|
|
|
10737
10896
|
}
|
|
10738
10897
|
|
|
10739
10898
|
const _excluded$b = ["children", "className", "defaultSelected", "id", "isActive", "isDisabled", "isHovered", "isSelected", "value"],
|
|
10740
|
-
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "onClick"]
|
|
10741
|
-
_excluded3 = ["value"];
|
|
10899
|
+
_excluded2 = ["children", "className", "id", "isActive", "isDisabled", "isHovered", "onClick", "value"];
|
|
10742
10900
|
const COMPONENT_NAME$9 = 'Item';
|
|
10743
10901
|
const CLASSNAME$9 = 'redsift-item';
|
|
10744
10902
|
const DEFAULT_PROPS$9 = {};
|
|
@@ -10793,13 +10951,15 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10793
10951
|
const {
|
|
10794
10952
|
children,
|
|
10795
10953
|
className,
|
|
10796
|
-
id,
|
|
10954
|
+
id: propsId,
|
|
10797
10955
|
isActive,
|
|
10798
10956
|
isDisabled: propsIsDisabled,
|
|
10799
10957
|
isHovered,
|
|
10800
|
-
onClick
|
|
10958
|
+
onClick,
|
|
10959
|
+
value
|
|
10801
10960
|
} = props,
|
|
10802
10961
|
forwardedProps = _objectWithoutProperties(props, _excluded2);
|
|
10962
|
+
const id = propsId !== null && propsId !== void 0 ? propsId : value;
|
|
10803
10963
|
const _ref = useRef();
|
|
10804
10964
|
const divRef = ref !== null && ref !== void 0 ? ref : _ref;
|
|
10805
10965
|
const {
|
|
@@ -10810,6 +10970,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10810
10970
|
handleClick
|
|
10811
10971
|
} = useMenuItem({
|
|
10812
10972
|
domElementRef: divRef,
|
|
10973
|
+
value,
|
|
10813
10974
|
id,
|
|
10814
10975
|
isDisabled: propsIsDisabled,
|
|
10815
10976
|
onClick: onClick
|
|
@@ -10828,7 +10989,7 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10828
10989
|
ref: divRef,
|
|
10829
10990
|
onKeyDown: handleKeyDown,
|
|
10830
10991
|
tabIndex: tabIndex
|
|
10831
|
-
}), children);
|
|
10992
|
+
}), children !== null && children !== void 0 ? children : value);
|
|
10832
10993
|
});
|
|
10833
10994
|
|
|
10834
10995
|
/**
|
|
@@ -10836,14 +10997,12 @@ const RenderedMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10836
10997
|
*/
|
|
10837
10998
|
const Item = /*#__PURE__*/forwardRef((props, ref) => {
|
|
10838
10999
|
const {
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
forwardedProps = _objectWithoutProperties(props, _excluded3);
|
|
11000
|
+
value
|
|
11001
|
+
} = props;
|
|
10842
11002
|
const focusContext = useContext(FocusWithinGroupContext);
|
|
10843
11003
|
const isListbox = focusContext.state.listRole === 'listbox';
|
|
10844
11004
|
if (!focusContext.state.filter) {
|
|
10845
|
-
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({},
|
|
10846
|
-
value: value,
|
|
11005
|
+
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({}, props, {
|
|
10847
11006
|
ref: ref
|
|
10848
11007
|
})) : /*#__PURE__*/React__default.createElement(RenderedMenuItem, _extends$1({}, props, {
|
|
10849
11008
|
ref: ref
|
|
@@ -10855,22 +11014,19 @@ const Item = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
10855
11014
|
caseSensitive
|
|
10856
11015
|
} = focusContext.state.filter;
|
|
10857
11016
|
if (!filterValue) {
|
|
10858
|
-
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({},
|
|
10859
|
-
value: value,
|
|
11017
|
+
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({}, props, {
|
|
10860
11018
|
ref: ref
|
|
10861
11019
|
})) : /*#__PURE__*/React__default.createElement(RenderedMenuItem, _extends$1({}, props, {
|
|
10862
11020
|
ref: ref
|
|
10863
11021
|
}));
|
|
10864
11022
|
} else if (caseSensitive && (type === 'startsWith' && value.startsWith(filterValue) || type === 'contains' && value.includes(filterValue) || type === 'endsWith' && value.endsWith(filterValue))) {
|
|
10865
|
-
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({},
|
|
10866
|
-
value: value,
|
|
11023
|
+
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({}, props, {
|
|
10867
11024
|
ref: ref
|
|
10868
11025
|
})) : /*#__PURE__*/React__default.createElement(RenderedMenuItem, _extends$1({}, props, {
|
|
10869
11026
|
ref: ref
|
|
10870
11027
|
}));
|
|
10871
11028
|
} else if (!caseSensitive && (type === 'startsWith' && value.toLowerCase().startsWith(filterValue.toLowerCase()) || type === 'contains' && value.toLowerCase().includes(filterValue.toLowerCase()) || type === 'endsWith' && value.toLowerCase().endsWith(filterValue.toLowerCase()))) {
|
|
10872
|
-
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({},
|
|
10873
|
-
value: value,
|
|
11029
|
+
return isListbox ? /*#__PURE__*/React__default.createElement(RenderedListboxItem, _extends$1({}, props, {
|
|
10874
11030
|
ref: ref
|
|
10875
11031
|
})) : /*#__PURE__*/React__default.createElement(RenderedMenuItem, _extends$1({}, props, {
|
|
10876
11032
|
ref: ref
|
|
@@ -12290,11 +12446,8 @@ const StyledTextField = styled.div`
|
|
|
12290
12446
|
max-width: calc(100% - 24px);
|
|
12291
12447
|
transform: translate(${$variant === TextFieldVariant.underline ? '0px' : '14px'}, 16px) scale(1);
|
|
12292
12448
|
` : css`
|
|
12293
|
-
font-family: var(--redsift-typography-body2-font-family);
|
|
12294
|
-
font-size: var(--redsift-typography-body2-font-size);
|
|
12295
|
-
font-weight: var(--redsift-typography-body2-font-weight);
|
|
12296
12449
|
max-width: calc(133% - 32px);
|
|
12297
|
-
transform: translate(${$variant === TextFieldVariant.underline ? '0px' : '14px'},
|
|
12450
|
+
transform: translate(${$variant === TextFieldVariant.underline ? '0px' : '14px'}, 1px) scale(0.733);
|
|
12298
12451
|
`}
|
|
12299
12452
|
|
|
12300
12453
|
${$isDisabled ? css`
|
|
@@ -12353,7 +12506,7 @@ const StyledTextField = styled.div`
|
|
|
12353
12506
|
.redsift-text-field-input-wrapper__fieldset {
|
|
12354
12507
|
border-style: solid;
|
|
12355
12508
|
bottom: 0;
|
|
12356
|
-
left:
|
|
12509
|
+
left: 1px;
|
|
12357
12510
|
margin: 0;
|
|
12358
12511
|
min-width: 0%;
|
|
12359
12512
|
overflow: hidden;
|
|
@@ -12385,7 +12538,7 @@ const StyledTextField = styled.div`
|
|
|
12385
12538
|
.redsift-text-field-input-wrapper-fieldset__legend {
|
|
12386
12539
|
display: block;
|
|
12387
12540
|
float: unset;
|
|
12388
|
-
font-size:
|
|
12541
|
+
font-size: 11px;
|
|
12389
12542
|
height: 11px;
|
|
12390
12543
|
overflow: hidden;
|
|
12391
12544
|
padding: 0;
|
|
@@ -12488,10 +12641,8 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12488
12641
|
} = useFocusWithin({
|
|
12489
12642
|
onFocusWithinChange: isFocusWithin => setFocusWithin(isFocusWithin)
|
|
12490
12643
|
});
|
|
12491
|
-
const [value, setValue] = useState(
|
|
12492
|
-
|
|
12493
|
-
setValue(propsValue !== null && propsValue !== void 0 ? propsValue : defaultValue);
|
|
12494
|
-
}, [propsValue, defaultValue]);
|
|
12644
|
+
const [value, setValue] = useState(defaultValue);
|
|
12645
|
+
const isControlled = propsValue !== null && propsValue !== undefined;
|
|
12495
12646
|
warnIfNoAccessibleLabelFound(props, [label]);
|
|
12496
12647
|
const handleChange = useCallback(event => {
|
|
12497
12648
|
if (isDisabled || isReadOnly) {
|
|
@@ -12519,12 +12670,12 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12519
12670
|
setValue('');
|
|
12520
12671
|
}, [onChange]);
|
|
12521
12672
|
return /*#__PURE__*/React__default.createElement(StyledTextField, _extends$1({}, focusWithinProps, forwardedProps, {
|
|
12522
|
-
$hasContent: isFocusWithin || Boolean(value) || Boolean(placeholder),
|
|
12673
|
+
$hasContent: isFocusWithin || Boolean(isControlled ? propsValue : value) || Boolean(placeholder),
|
|
12523
12674
|
$hasLeftIcon: Boolean(leftIcon),
|
|
12524
12675
|
$isColored: isColored,
|
|
12525
12676
|
$isDisabled: isDisabled,
|
|
12526
12677
|
$isFocusVisible: isFocusVisible,
|
|
12527
|
-
$isInvalid: isInvalid || isRequired && !value,
|
|
12678
|
+
$isInvalid: isInvalid || isRequired && !(isControlled ? propsValue : value),
|
|
12528
12679
|
$isRequired: isRequired,
|
|
12529
12680
|
$isFocused: isFocused,
|
|
12530
12681
|
$variant: variant,
|
|
@@ -12547,7 +12698,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12547
12698
|
onFocusProps === null || onFocusProps === void 0 ? void 0 : onFocusProps(event);
|
|
12548
12699
|
},
|
|
12549
12700
|
"aria-disabled": isDisabled,
|
|
12550
|
-
"aria-invalid": isInvalid || isRequired && !value,
|
|
12701
|
+
"aria-invalid": isInvalid || isRequired && !(isControlled ? propsValue : value),
|
|
12551
12702
|
"aria-label": ariaLabel,
|
|
12552
12703
|
"aria-labelledby": ariaLabelledby,
|
|
12553
12704
|
"aria-readonly": isReadOnly,
|
|
@@ -12560,7 +12711,7 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12560
12711
|
placeholder: placeholder,
|
|
12561
12712
|
ref: inputRef,
|
|
12562
12713
|
type: type,
|
|
12563
|
-
value: value
|
|
12714
|
+
value: isControlled ? propsValue : value
|
|
12564
12715
|
})), hasClearButton || internal || after ? /*#__PURE__*/React__default.createElement(Flexbox, {
|
|
12565
12716
|
className: `${TextField.className}-input-wrapper__toolbar`,
|
|
12566
12717
|
gap: "8px"
|
|
@@ -12571,11 +12722,11 @@ const TextField = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
12571
12722
|
}, hasClearButton !== true && hasClearButton, {
|
|
12572
12723
|
onClick: handleClear,
|
|
12573
12724
|
className: "right clear"
|
|
12574
|
-
})) : null, typeof internal === 'function' ? internal(value, isDisabled, isInvalid || isRequired && !value, isRequired) : internal, (hasClearButton || internal) && after ? /*#__PURE__*/React__default.createElement("span", {
|
|
12725
|
+
})) : null, typeof internal === 'function' ? internal(isControlled ? propsValue : value, isDisabled, isInvalid || isRequired && !(isControlled ? propsValue : value), isRequired) : internal, (hasClearButton || internal) && after ? /*#__PURE__*/React__default.createElement("span", {
|
|
12575
12726
|
style: {
|
|
12576
12727
|
borderLeft: '1px solid var(--redsift-color-neutral-midgrey)'
|
|
12577
12728
|
}
|
|
12578
|
-
}) : null, typeof after === 'function' ? after(value, isDisabled, isInvalid || isRequired && !value, isRequired) : after) : null, /*#__PURE__*/React__default.createElement("fieldset", {
|
|
12729
|
+
}) : null, typeof after === 'function' ? after(isControlled ? propsValue : value, isDisabled, isInvalid || isRequired && !(isControlled ? propsValue : value), isRequired) : after) : null, /*#__PURE__*/React__default.createElement("fieldset", {
|
|
12579
12730
|
"aria-hidden": "true",
|
|
12580
12731
|
className: `${TextField.className}-input-wrapper__fieldset`
|
|
12581
12732
|
}, /*#__PURE__*/React__default.createElement("legend", {
|
|
@@ -12586,5 +12737,5 @@ TextField.className = CLASSNAME;
|
|
|
12586
12737
|
TextField.defaultProps = DEFAULT_PROPS;
|
|
12587
12738
|
TextField.displayName = COMPONENT_NAME;
|
|
12588
12739
|
|
|
12589
|
-
export { ActiveDescendantListbox, Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, AppSidePanelVariant, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ConditionalWrapper, CtasColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, EventKey, FOCUS_WITHING_GROUP_INITIAL_STATE, FlexDirection, FlexWrap, Flexbox, FocusWithinGroup, FocusWithinGroupActionType, FocusWithinGroupContext, FocusWithinGroupReducer, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, Item, JustifyContent, JustifyItems, JustifySelf, LISTBOX_INITIAL_STATE, Link, LinkButton, Listbox, ListboxActionType, ListboxContext, ListboxReducer, ListboxVariant, Navigation, NeutralColorPalette, NotificationsColorPalette, Number$1 as Number, Pill, 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 };
|
|
12740
|
+
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 };
|
|
12590
12741
|
//# sourceMappingURL=index.js.map
|