@redsift/design-system 7.5.1 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -4,8 +4,8 @@ export { SSRProvider, useIsSSR } from '@react-aria/ssr';
4
4
  import * as React from 'react';
5
5
  import React__default, { useState, useEffect, forwardRef, useMemo, useContext, useRef, useCallback, useReducer, useLayoutEffect, useId as useId$1 } from 'react';
6
6
  import classNames from 'classnames';
7
- import { mdiClose, mdiAlert, mdiCheckCircle, mdiInformation, mdiMenu, mdiMenuOpen, mdiChevronDown, mdiChevronRight, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
8
- import styled, { css } from 'styled-components';
7
+ import { mdiClose, mdiAlert, mdiCheckCircle, mdiAlertCircle, mdiInformation, mdiMenu, mdiMenuOpen, mdiChevronDown, mdiChevronRight, mdiChevronUp, mdiCheckboxMarked, mdiMinusBox, mdiCheckboxBlankOutline, mdiPageLast, mdiKeyboardCaps, mdiRadioboxMarked, mdiRadioboxBlank } from '@redsift/icons';
8
+ import styled, { css, keyframes } from 'styled-components';
9
9
  import { useButton } from '@react-aria/button';
10
10
  import { useFocusRing } from '@react-aria/focus';
11
11
  import * as ReactDOM from 'react-dom';
@@ -675,12 +675,12 @@ const baseLayout = css`
675
675
  } = _ref;
676
676
  return css`
677
677
  ${flex ? `flex: ${flex};` : ''}
678
- ${flexGrow ? `flex-grow: ${flexGrow};` : ''}
679
- ${flexShrink ? `flex-shrink: ${flexShrink};` : ''}
678
+ ${flexGrow !== undefined ? `flex-grow: ${flexGrow};` : ''}
679
+ ${flexShrink !== undefined ? `flex-shrink: ${flexShrink};` : ''}
680
680
  ${flexBasis ? `flex-basis: ${flexBasis};` : ''}
681
681
  ${alignSelf ? `align-self: ${alignSelf};` : ''}
682
682
  ${justifySelf ? `justify-self: ${justifySelf};` : ''}
683
- ${order ? `order: ${order};` : ''}
683
+ ${order !== undefined ? `order: ${order};` : ''}
684
684
  ${gridArea ? `grid-area: ${gridArea};` : ''}
685
685
  ${gridColumn ? `grid-column: ${gridColumn};` : ''}
686
686
  ${gridRow ? `grid-row: ${gridRow};` : ''}
@@ -738,12 +738,12 @@ const baseSizing = css`
738
738
  width
739
739
  } = _ref4;
740
740
  return css`
741
- ${height ? `height: ${typeof height === 'number' ? `${height}px` : height};` : ''}
741
+ ${height !== undefined ? `height: ${typeof height === 'number' ? `${height}px` : height};` : ''}
742
742
  ${maxHeight ? `max-height: ${maxHeight};` : ''}
743
743
  ${maxWidth ? `max-width: ${maxWidth};` : ''}
744
744
  ${minHeight ? `min-height: ${minHeight};` : ''}
745
745
  ${minWidth ? `min-width: ${minWidth};` : ''}
746
- ${width ? `width: ${typeof width === 'number' ? `${width}px` : width};` : ''}
746
+ ${width !== undefined ? `width: ${typeof width === 'number' ? `${width}px` : width};` : ''}
747
747
  `;
748
748
  }}
749
749
  `;
@@ -974,10 +974,10 @@ const StyledIcon = styled.span`
974
974
  }}
975
975
  `;
976
976
 
977
- const _excluded$D = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
978
- const COMPONENT_NAME$F = 'Icon';
979
- const CLASSNAME$F = 'redsift-icon';
980
- const DEFAULT_PROPS$F = {
977
+ const _excluded$I = ["aria-hidden", "aria-label", "badge", "className", "color", "icon", "size", "svgProps"];
978
+ const COMPONENT_NAME$K = 'Icon';
979
+ const CLASSNAME$K = 'redsift-icon';
980
+ const DEFAULT_PROPS$K = {
981
981
  size: IconSize.medium
982
982
  };
983
983
 
@@ -995,7 +995,7 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
995
995
  size,
996
996
  svgProps
997
997
  } = props,
998
- forwardedProps = _objectWithoutProperties(props, _excluded$D);
998
+ forwardedProps = _objectWithoutProperties(props, _excluded$I);
999
999
  return /*#__PURE__*/React__default.createElement(StyledIcon, _extends$1({}, forwardedProps, {
1000
1000
  $color: color,
1001
1001
  $size: size,
@@ -1017,9 +1017,9 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
1017
1017
  fill: "currentColor"
1018
1018
  })), badge ? badge : null);
1019
1019
  });
1020
- Icon.className = CLASSNAME$F;
1021
- Icon.defaultProps = DEFAULT_PROPS$F;
1022
- Icon.displayName = COMPONENT_NAME$F;
1020
+ Icon.className = CLASSNAME$K;
1021
+ Icon.defaultProps = DEFAULT_PROPS$K;
1022
+ Icon.displayName = COMPONENT_NAME$K;
1023
1023
 
1024
1024
  /**
1025
1025
  * Component variant.
@@ -1188,6 +1188,8 @@ const AppContainerContext = /*#__PURE__*/React__default.createContext(null);
1188
1188
  * Component style.
1189
1189
  */
1190
1190
  const StyledAppContainer = styled.div`
1191
+ overflow: hidden;
1192
+
1191
1193
  ${_ref => {
1192
1194
  let {
1193
1195
  $productTheme
@@ -1215,10 +1217,10 @@ const StyledAppContainer = styled.div`
1215
1217
  }}
1216
1218
  `;
1217
1219
 
1218
- const _excluded$C = ["children", "className", "locale", "productTheme"];
1219
- const COMPONENT_NAME$E = 'AppContainer';
1220
- const CLASSNAME$E = 'redsift-app-container';
1221
- const DEFAULT_PROPS$E = {};
1220
+ const _excluded$H = ["children", "className", "locale", "productTheme"];
1221
+ const COMPONENT_NAME$J = 'AppContainer';
1222
+ const CLASSNAME$J = 'redsift-app-container';
1223
+ const DEFAULT_PROPS$J = {};
1222
1224
 
1223
1225
  /**
1224
1226
  * The AppContainer component.
@@ -1230,7 +1232,7 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
1230
1232
  locale,
1231
1233
  productTheme
1232
1234
  } = props,
1233
- forwardedProps = _objectWithoutProperties(props, _excluded$C);
1235
+ forwardedProps = _objectWithoutProperties(props, _excluded$H);
1234
1236
  const {
1235
1237
  hasAppBar,
1236
1238
  hasAppSidePanel,
@@ -1275,9 +1277,9 @@ const AppContainer = /*#__PURE__*/forwardRef((props, ref) => {
1275
1277
  locale: locale
1276
1278
  }, children)));
1277
1279
  });
1278
- AppContainer.className = CLASSNAME$E;
1279
- AppContainer.defaultProps = DEFAULT_PROPS$E;
1280
- AppContainer.displayName = COMPONENT_NAME$E;
1280
+ AppContainer.className = CLASSNAME$J;
1281
+ AppContainer.defaultProps = DEFAULT_PROPS$J;
1282
+ AppContainer.displayName = COMPONENT_NAME$J;
1281
1283
 
1282
1284
  var spinnerDefault = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzAwNzllMSIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiMwMDc5ZTEiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
1283
1285
 
@@ -1297,7 +1299,7 @@ var spinnerTools = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My
1297
1299
 
1298
1300
  var spinnerWebsite = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNDAwIDQwMCIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iIHRleHQtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogIDxzdHlsZT4KICAgIC5zcGlubmluZyB7CiAgICAgIGFuaW1hdGlvbjogc3Bpbm5pbmcta2V5ZnJhbWVzIDMwMDBtcyBsaW5lYXIgaW5maW5pdGUgbm9ybWFsIGZvcndhcmRzOwogICAgICB0cmFuc2Zvcm0tb3JpZ2luOiBjZW50ZXI7CiAgICAgIGFuaW1hdGlvbi10aW1pbmctZnVuY3Rpb246IGN1YmljLWJlemllcigwLjQyLCAwLCAwLjU4LCAxKTsKICAgIH0KICAgIEBrZXlmcmFtZXMgc3Bpbm5pbmcta2V5ZnJhbWVzIHsKICAgICAgMCUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgwZGVnKTsKICAgICAgfQoKICAgICAgMzMlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMTgwZGVnKTsKICAgICAgfQoKICAgICAgNTAlIHsKICAgICAgICB0cmFuc2Zvcm06IHJvdGF0ZSgxODBkZWcpOwogICAgICB9CgogICAgICA4MyUgewogICAgICAgIHRyYW5zZm9ybTogIHJvdGF0ZSgzNjBkZWcpOwogICAgICB9CgogICAgICAxMDAlIHsKICAgICAgICB0cmFuc2Zvcm06ICByb3RhdGUoMzYwZGVnKQogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MpIgogICAgZmlsbD0iIzAwNzllMSIKICAgIGQ9Ik0zMTggMTg2LjlWMTA4LjhMMjAwIDU3IDgyIDEwOC44djc4LjFDODIgMjU5IDEzMi4zIDMyNi40IDIwMCAzNDNjNjcuNy0xNi42IDExOC04NCAxMTgtMTU2LjF6TTQwMCAyMDBjMCAxMTAuNS04OS41IDIwMC0yMDAgMjAwUzAgMzEwLjUgMCAyMDAgODkuNSAwIDIwMCAwczIwMCA4OS41IDIwMCAyMDB6IgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrcyI+CiAgICA8cGF0aAogICAgICBjbGFzcz0ic3Bpbm5pbmciCiAgICAgIGQ9Ik0wLDIwMEMwLDg5LjU0MzA1LDg5LjU0MzA1LDAsMjAwLDB2NDAwQzg5LjU0MzA1LDQwMCwwLDMxMC40NTY5NSwwLDIwMFoiCiAgICAgIGZpbGw9IiNmZmYiCiAgICAvPgogIDwvbWFzaz4KICA8cGF0aAogICAgbWFzaz0idXJsKCNzcGlubmVyLXUtbWFza3MyKSIKICAgIGZpbGw9IiMwMDc5ZTEiCiAgICBkPSJNODIsMTg2LjkzOXYtNzguMDg5TDIwMCw1N2wxMTgsNTEuODV2NzguMDg5QzMxOCwyNTkuMDAyLDI2Ny42ODYsMzI2LjQwMiwyMDAsMzQzQzEzMi4zMTQsMzI2LjQwMiw4MiwyNTkuMDAyLDgyLDE4Ni45MzlaIgogIC8+CiAgPG1hc2sgaWQ9InNwaW5uZXItdS1tYXNrczIiPgogICAgPHBhdGgKICAgICAgY2xhc3M9InNwaW5uaW5nIgogICAgICBkPSJNNDAwIDIwMEM0MDAgMzEwLjUgMzEwLjUgNDAwIDIwMCA0MDBWMGMxMTAuNSAwIDIwMCA4OS41IDIwMCAyMDB6IgogICAgICBmaWxsPSIjZmZmIgogICAgLz4KICA8L21hc2s+Cjwvc3ZnPg==';
1299
1301
 
1300
- const _excluded$B = ["aria-hidden", "aria-label", "className", "color", "size"];
1302
+ const _excluded$G = ["aria-hidden", "aria-label", "className", "color", "size"];
1301
1303
  const colorToFile = {
1302
1304
  default: spinnerDefault,
1303
1305
  hardenize: spinnerHardenize,
@@ -1309,9 +1311,9 @@ const colorToFile = {
1309
1311
  tools: spinnerTools,
1310
1312
  website: spinnerWebsite
1311
1313
  };
1312
- const COMPONENT_NAME$D = 'Spinner';
1313
- const CLASSNAME$D = 'redsift-shield';
1314
- const DEFAULT_PROPS$D = {
1314
+ const COMPONENT_NAME$I = 'Spinner';
1315
+ const CLASSNAME$I = 'redsift-shield';
1316
+ const DEFAULT_PROPS$I = {
1315
1317
  color: ColorPalette.default,
1316
1318
  size: SpinnerSize.medium
1317
1319
  };
@@ -1352,7 +1354,7 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
1352
1354
  color: propsColor,
1353
1355
  size
1354
1356
  } = props,
1355
- forwardedProps = _objectWithoutProperties(props, _excluded$B);
1357
+ forwardedProps = _objectWithoutProperties(props, _excluded$G);
1356
1358
  const {
1357
1359
  width,
1358
1360
  height
@@ -1374,14 +1376,14 @@ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
1374
1376
  $size: size
1375
1377
  }));
1376
1378
  });
1377
- Spinner.className = CLASSNAME$D;
1378
- Spinner.defaultProps = DEFAULT_PROPS$D;
1379
- Spinner.displayName = COMPONENT_NAME$D;
1380
-
1381
- const _excluded$A = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isLoading", "leftIcon", "onPress", "rightIcon", "variant"];
1382
- const COMPONENT_NAME$C = 'Button';
1383
- const CLASSNAME$C = 'redsift-button';
1384
- const DEFAULT_PROPS$C = {
1379
+ Spinner.className = CLASSNAME$I;
1380
+ Spinner.defaultProps = DEFAULT_PROPS$I;
1381
+ Spinner.displayName = COMPONENT_NAME$I;
1382
+
1383
+ const _excluded$F = ["children", "className", "color", "disabled", "fullWidth", "isActive", "isDisabled", "isLoading", "leftIcon", "onPress", "rightIcon", "variant"];
1384
+ const COMPONENT_NAME$H = 'Button';
1385
+ const CLASSNAME$H = 'redsift-button';
1386
+ const DEFAULT_PROPS$H = {
1385
1387
  color: ColorPalette.default,
1386
1388
  height: 'fit-content',
1387
1389
  variant: ButtonVariant.primary
@@ -1418,7 +1420,7 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
1418
1420
  rightIcon,
1419
1421
  variant
1420
1422
  } = props,
1421
- forwardedProps = _objectWithoutProperties(props, _excluded$A);
1423
+ forwardedProps = _objectWithoutProperties(props, _excluded$F);
1422
1424
  return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({}, forwardedProps, buttonProps, {
1423
1425
  $color: color,
1424
1426
  $fullWidth: fullWidth,
@@ -1442,9 +1444,9 @@ const Button = /*#__PURE__*/forwardRef((props, ref) => {
1442
1444
  className: "right"
1443
1445
  }) : null);
1444
1446
  });
1445
- Button.className = CLASSNAME$C;
1446
- Button.defaultProps = DEFAULT_PROPS$C;
1447
- Button.displayName = COMPONENT_NAME$C;
1447
+ Button.className = CLASSNAME$H;
1448
+ Button.defaultProps = DEFAULT_PROPS$H;
1449
+ Button.displayName = COMPONENT_NAME$H;
1448
1450
 
1449
1451
  /**
1450
1452
  * Component style.
@@ -1460,10 +1462,10 @@ const StyledIconButton = styled(StyledButton)`
1460
1462
  }};
1461
1463
  `;
1462
1464
 
1463
- const _excluded$z = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "onPress", "variant"];
1464
- const COMPONENT_NAME$B = 'IconButton';
1465
- const CLASSNAME$B = 'redsift-icon-button';
1466
- const DEFAULT_PROPS$B = {
1465
+ const _excluded$E = ["className", "color", "disabled", "icon", "isActive", "isDisabled", "onPress", "variant"];
1466
+ const COMPONENT_NAME$G = 'IconButton';
1467
+ const CLASSNAME$G = 'redsift-icon-button';
1468
+ const DEFAULT_PROPS$G = {
1467
1469
  color: ColorPalette.default,
1468
1470
  height: 'fit-content',
1469
1471
  variant: IconButtonVariant.unstyled
@@ -1495,7 +1497,7 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
1495
1497
  onPress,
1496
1498
  variant
1497
1499
  } = props,
1498
- forwardedProps = _objectWithoutProperties(props, _excluded$z);
1500
+ forwardedProps = _objectWithoutProperties(props, _excluded$E);
1499
1501
  warnIfNoAccessibleLabelFound(props);
1500
1502
  return /*#__PURE__*/React__default.createElement(StyledIconButton, _extends$1({}, forwardedProps, buttonProps, {
1501
1503
  $color: isDisabled || disabled ? undefined : color,
@@ -1511,9 +1513,9 @@ const IconButton = /*#__PURE__*/forwardRef((props, ref) => {
1511
1513
  color: isDisabled || disabled ? undefined : color
1512
1514
  }));
1513
1515
  });
1514
- IconButton.className = CLASSNAME$B;
1515
- IconButton.defaultProps = DEFAULT_PROPS$B;
1516
- IconButton.displayName = COMPONENT_NAME$B;
1516
+ IconButton.className = CLASSNAME$G;
1517
+ IconButton.defaultProps = DEFAULT_PROPS$G;
1518
+ IconButton.displayName = COMPONENT_NAME$G;
1517
1519
 
1518
1520
  /**
1519
1521
  * Component style.
@@ -1653,10 +1655,10 @@ const StyledHeading = styled.span`
1653
1655
  }}
1654
1656
  `;
1655
1657
 
1656
- const _excluded$y = ["as", "children", "className", "noWrap", "variant"];
1657
- const COMPONENT_NAME$A = 'Heading';
1658
- const CLASSNAME$A = 'redsift-heading';
1659
- const DEFAULT_PROPS$A = {};
1658
+ const _excluded$D = ["as", "children", "className", "noWrap", "variant"];
1659
+ const COMPONENT_NAME$F = 'Heading';
1660
+ const CLASSNAME$F = 'redsift-heading';
1661
+ const DEFAULT_PROPS$F = {};
1660
1662
 
1661
1663
  /**
1662
1664
  * The Heading component.
@@ -1669,7 +1671,7 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
1669
1671
  noWrap,
1670
1672
  variant
1671
1673
  } = props,
1672
- forwardedProps = _objectWithoutProperties(props, _excluded$y);
1674
+ forwardedProps = _objectWithoutProperties(props, _excluded$D);
1673
1675
  return /*#__PURE__*/React__default.createElement(StyledHeading, _extends$1({
1674
1676
  as: as
1675
1677
  }, forwardedProps, {
@@ -1679,9 +1681,9 @@ const Heading = /*#__PURE__*/forwardRef((props, ref) => {
1679
1681
  $variant: variant ? variant : as === 'span' ? 'body' : as
1680
1682
  }), children);
1681
1683
  });
1682
- Heading.className = CLASSNAME$A;
1683
- Heading.defaultProps = DEFAULT_PROPS$A;
1684
- Heading.displayName = COMPONENT_NAME$A;
1684
+ Heading.className = CLASSNAME$F;
1685
+ Heading.defaultProps = DEFAULT_PROPS$F;
1686
+ Heading.displayName = COMPONENT_NAME$F;
1685
1687
 
1686
1688
  /**
1687
1689
  * Component style.
@@ -1699,10 +1701,10 @@ const StyledFlexbox = styled.div`
1699
1701
  ${baseFlexbox}
1700
1702
  `;
1701
1703
 
1702
- const _excluded$x = ["children", "className"];
1703
- const COMPONENT_NAME$z = 'Flexbox';
1704
- const CLASSNAME$z = 'redsift-flex-box';
1705
- const DEFAULT_PROPS$z = {
1704
+ const _excluded$C = ["children", "className"];
1705
+ const COMPONENT_NAME$E = 'Flexbox';
1706
+ const CLASSNAME$E = 'redsift-flex-box';
1707
+ const DEFAULT_PROPS$E = {
1706
1708
  gap: '16px'
1707
1709
  };
1708
1710
 
@@ -1714,20 +1716,20 @@ const Flexbox = /*#__PURE__*/forwardRef((props, ref) => {
1714
1716
  children,
1715
1717
  className
1716
1718
  } = props,
1717
- forwardedProps = _objectWithoutProperties(props, _excluded$x);
1719
+ forwardedProps = _objectWithoutProperties(props, _excluded$C);
1718
1720
  return /*#__PURE__*/React__default.createElement(StyledFlexbox, _extends$1({}, forwardedProps, {
1719
1721
  className: classNames(Flexbox.className, className),
1720
1722
  ref: ref
1721
1723
  }), children);
1722
1724
  });
1723
- Flexbox.className = CLASSNAME$z;
1724
- Flexbox.defaultProps = DEFAULT_PROPS$z;
1725
- Flexbox.displayName = COMPONENT_NAME$z;
1726
-
1727
- const _excluded$w = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
1728
- const COMPONENT_NAME$y = 'Alert';
1729
- const CLASSNAME$y = 'redsift-alert';
1730
- const DEFAULT_PROPS$y = {
1725
+ Flexbox.className = CLASSNAME$E;
1726
+ Flexbox.defaultProps = DEFAULT_PROPS$E;
1727
+ Flexbox.displayName = COMPONENT_NAME$E;
1728
+
1729
+ const _excluded$B = ["children", "className", "isClosable", "isClosed", "onClose", "title", "variant"];
1730
+ const COMPONENT_NAME$D = 'Alert';
1731
+ const CLASSNAME$D = 'redsift-alert';
1732
+ const DEFAULT_PROPS$D = {
1731
1733
  variant: 'info'
1732
1734
  };
1733
1735
  const getVariant$1 = variant => {
@@ -1741,7 +1743,7 @@ const getVariant$1 = variant => {
1741
1743
  case AlertVariant.error:
1742
1744
  return {
1743
1745
  color: ColorPalette.error,
1744
- icon: mdiInformation
1746
+ icon: mdiAlertCircle
1745
1747
  };
1746
1748
  case AlertVariant.success:
1747
1749
  return {
@@ -1769,7 +1771,7 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
1769
1771
  title,
1770
1772
  variant
1771
1773
  } = props,
1772
- forwardedProps = _objectWithoutProperties(props, _excluded$w);
1774
+ forwardedProps = _objectWithoutProperties(props, _excluded$B);
1773
1775
  const stringFormatter = useLocalizedStringFormatter(intlMessages$5);
1774
1776
  const {
1775
1777
  color,
@@ -1815,9 +1817,9 @@ const Alert = /*#__PURE__*/forwardRef((props, ref) => {
1815
1817
  className: `${Alert.className}__content`
1816
1818
  }, children) : null);
1817
1819
  });
1818
- Alert.className = CLASSNAME$y;
1819
- Alert.defaultProps = DEFAULT_PROPS$y;
1820
- Alert.displayName = COMPONENT_NAME$y;
1820
+ Alert.className = CLASSNAME$D;
1821
+ Alert.defaultProps = DEFAULT_PROPS$D;
1822
+ Alert.displayName = COMPONENT_NAME$D;
1821
1823
 
1822
1824
  var expand$5 = "Expand left side panel";
1823
1825
  var collapse$5 = "Collapse left side panel";
@@ -1914,10 +1916,10 @@ const StyledAppBar = styled.header`
1914
1916
  }
1915
1917
  `;
1916
1918
 
1917
- const _excluded$v = ["children", "className", "collapseIconButtonProps", "collapseIconButtonRef", "expandIconButtonProps", "expandIconButtonRef", "fallbackTitle", "title"];
1918
- const COMPONENT_NAME$x = 'AppBar';
1919
- const CLASSNAME$x = 'redsift-app-bar';
1920
- const DEFAULT_PROPS$x = {};
1919
+ const _excluded$A = ["children", "className", "collapseIconButtonProps", "collapseIconButtonRef", "expandIconButtonProps", "expandIconButtonRef", "fallbackTitle", "title"];
1920
+ const COMPONENT_NAME$C = 'AppBar';
1921
+ const CLASSNAME$C = 'redsift-app-bar';
1922
+ const DEFAULT_PROPS$C = {};
1921
1923
 
1922
1924
  /**
1923
1925
  * The AppBar component.
@@ -1933,7 +1935,7 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
1933
1935
  fallbackTitle,
1934
1936
  title: propsTitle
1935
1937
  } = props,
1936
- forwardedProps = _objectWithoutProperties(props, _excluded$v);
1938
+ forwardedProps = _objectWithoutProperties(props, _excluded$A);
1937
1939
  const {
1938
1940
  isLoaded
1939
1941
  } = useIsLoaded();
@@ -1972,9 +1974,9 @@ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
1972
1974
  className: `${AppBar.className}__right`
1973
1975
  }, children));
1974
1976
  });
1975
- AppBar.className = CLASSNAME$x;
1976
- AppBar.defaultProps = DEFAULT_PROPS$x;
1977
- AppBar.displayName = COMPONENT_NAME$x;
1977
+ AppBar.className = CLASSNAME$C;
1978
+ AppBar.defaultProps = DEFAULT_PROPS$C;
1979
+ AppBar.displayName = COMPONENT_NAME$C;
1978
1980
 
1979
1981
  /**
1980
1982
  * Component style.
@@ -2040,10 +2042,10 @@ const StyledAppContent = styled.main`
2040
2042
  }}
2041
2043
  `;
2042
2044
 
2043
- const _excluded$u = ["children", "className", "productTheme"];
2044
- const COMPONENT_NAME$w = 'AppContent';
2045
- const CLASSNAME$w = 'redsift-app-content';
2046
- const DEFAULT_PROPS$w = {};
2045
+ const _excluded$z = ["children", "className", "productTheme"];
2046
+ const COMPONENT_NAME$B = 'AppContent';
2047
+ const CLASSNAME$B = 'redsift-app-content';
2048
+ const DEFAULT_PROPS$B = {};
2047
2049
 
2048
2050
  /**
2049
2051
  * The AppContent component.
@@ -2054,7 +2056,7 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
2054
2056
  className,
2055
2057
  productTheme
2056
2058
  } = props,
2057
- forwardedProps = _objectWithoutProperties(props, _excluded$u);
2059
+ forwardedProps = _objectWithoutProperties(props, _excluded$z);
2058
2060
  const {
2059
2061
  isLoaded
2060
2062
  } = useIsLoaded();
@@ -2067,9 +2069,9 @@ const AppContent = /*#__PURE__*/forwardRef((props, ref) => {
2067
2069
  ref: ref
2068
2070
  }), children);
2069
2071
  });
2070
- AppContent.className = CLASSNAME$w;
2071
- AppContent.defaultProps = DEFAULT_PROPS$w;
2072
- AppContent.displayName = COMPONENT_NAME$w;
2072
+ AppContent.className = CLASSNAME$B;
2073
+ AppContent.defaultProps = DEFAULT_PROPS$B;
2074
+ AppContent.displayName = COMPONENT_NAME$B;
2073
2075
 
2074
2076
  /**
2075
2077
  * Component style.
@@ -2163,10 +2165,10 @@ const StyledAppSidePanel = styled.div`
2163
2165
  }
2164
2166
  `;
2165
2167
 
2166
- const _excluded$t = ["children", "className", "featuredElements", "isCollapsed", "logo"];
2167
- const COMPONENT_NAME$v = 'AppSidePanel';
2168
- const CLASSNAME$v = 'redsift-app-side-panel';
2169
- const DEFAULT_PROPS$v = {};
2168
+ const _excluded$y = ["children", "className", "featuredElements", "isCollapsed", "logo"];
2169
+ const COMPONENT_NAME$A = 'AppSidePanel';
2170
+ const CLASSNAME$A = 'redsift-app-side-panel';
2171
+ const DEFAULT_PROPS$A = {};
2170
2172
 
2171
2173
  /**
2172
2174
  * The AppSidePanel component.
@@ -2179,7 +2181,7 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
2179
2181
  isCollapsed = false,
2180
2182
  logo
2181
2183
  } = props,
2182
- forwardedProps = _objectWithoutProperties(props, _excluded$t);
2184
+ forwardedProps = _objectWithoutProperties(props, _excluded$y);
2183
2185
  const appContainerState = useContext(AppContainerContext);
2184
2186
  return /*#__PURE__*/React__default.createElement(StyledAppSidePanel, _extends$1({}, forwardedProps, {
2185
2187
  $isCollapsed: !!(isCollapsed || appContainerState !== null && appContainerState !== void 0 && appContainerState.isSidePanelCollapsed),
@@ -2194,9 +2196,9 @@ const AppSidePanel = /*#__PURE__*/forwardRef((props, ref) => {
2194
2196
  className: `${AppSidePanel.className}__featured`
2195
2197
  }, featuredElements) : null, children);
2196
2198
  });
2197
- AppSidePanel.className = CLASSNAME$v;
2198
- AppSidePanel.defaultProps = DEFAULT_PROPS$v;
2199
- AppSidePanel.displayName = COMPONENT_NAME$v;
2199
+ AppSidePanel.className = CLASSNAME$A;
2200
+ AppSidePanel.defaultProps = DEFAULT_PROPS$A;
2201
+ AppSidePanel.displayName = COMPONENT_NAME$A;
2200
2202
 
2201
2203
  /**
2202
2204
  * Context props.
@@ -2412,10 +2414,10 @@ const StyledBadge = styled.div`
2412
2414
  }}
2413
2415
  `;
2414
2416
 
2415
- const _excluded$s = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
2416
- const COMPONENT_NAME$u = 'Badge';
2417
- const CLASSNAME$u = 'redsift-badge';
2418
- const DEFAULT_PROPS$u = {
2417
+ const _excluded$x = ["autoBreak", "children", "className", "color", "isReversed", "variant"];
2418
+ const COMPONENT_NAME$z = 'Badge';
2419
+ const CLASSNAME$z = 'redsift-badge';
2420
+ const DEFAULT_PROPS$z = {
2419
2421
  color: ColorPalette.question,
2420
2422
  variant: BadgeVariant.dot
2421
2423
  };
@@ -2432,7 +2434,7 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2432
2434
  isReversed,
2433
2435
  variant
2434
2436
  } = props,
2435
- forwardedProps = _objectWithoutProperties(props, _excluded$s);
2437
+ forwardedProps = _objectWithoutProperties(props, _excluded$x);
2436
2438
  return /*#__PURE__*/React__default.createElement(StyledBadge, _extends$1({}, forwardedProps, {
2437
2439
  $autoBreak: autoBreak,
2438
2440
  $color: color,
@@ -2442,14 +2444,14 @@ const Badge = /*#__PURE__*/forwardRef((props, ref) => {
2442
2444
  ref: ref
2443
2445
  }), variant === BadgeVariant.standard ? children : null);
2444
2446
  });
2445
- Badge.className = CLASSNAME$u;
2446
- Badge.defaultProps = DEFAULT_PROPS$u;
2447
- Badge.displayName = COMPONENT_NAME$u;
2447
+ Badge.className = CLASSNAME$z;
2448
+ Badge.defaultProps = DEFAULT_PROPS$z;
2449
+ Badge.displayName = COMPONENT_NAME$z;
2448
2450
 
2449
- const _excluded$r = ["badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "withoutIcons"];
2450
- const COMPONENT_NAME$t = 'SideNavigationMenuItem';
2451
- const CLASSNAME$t = 'redsift-side-navigation-menu-item';
2452
- const DEFAULT_PROPS$t = {};
2451
+ const _excluded$w = ["badge", "badgeProps", "children", "className", "href", "icon", "iconProps", "iconRef", "isCurrent", "isDisabled", "isSecondLevel", "onClick", "onKeyDown", "tabIndex", "withoutIcons"];
2452
+ const COMPONENT_NAME$y = 'SideNavigationMenuItem';
2453
+ const CLASSNAME$y = 'redsift-side-navigation-menu-item';
2454
+ const DEFAULT_PROPS$y = {};
2453
2455
 
2454
2456
  /**
2455
2457
  * The SideNavigationMenuItem component.
@@ -2473,7 +2475,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2473
2475
  tabIndex,
2474
2476
  withoutIcons
2475
2477
  } = props,
2476
- forwardedProps = _objectWithoutProperties(props, _excluded$r);
2478
+ forwardedProps = _objectWithoutProperties(props, _excluded$w);
2477
2479
  warnIfNoAccessibleLabelFound(props, [children]);
2478
2480
  const appContainerState = useContext(AppContainerContext);
2479
2481
  useEffect(() => {
@@ -2535,9 +2537,9 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
2535
2537
  color: "error"
2536
2538
  }, badgeProps), badge) : null);
2537
2539
  });
2538
- SideNavigationMenuItem.className = CLASSNAME$t;
2539
- SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$t;
2540
- SideNavigationMenuItem.displayName = COMPONENT_NAME$t;
2540
+ SideNavigationMenuItem.className = CLASSNAME$y;
2541
+ SideNavigationMenuItem.defaultProps = DEFAULT_PROPS$y;
2542
+ SideNavigationMenuItem.displayName = COMPONENT_NAME$y;
2541
2543
 
2542
2544
  /**
2543
2545
  * Component style.
@@ -2676,10 +2678,10 @@ const SideNavigationMenuReducer = (state, action) => {
2676
2678
  }
2677
2679
  };
2678
2680
 
2679
- const _excluded$q = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "withoutIcons"];
2680
- const COMPONENT_NAME$s = 'SideNavigationMenu';
2681
- const CLASSNAME$s = 'redsift-side-navigation-menu';
2682
- const DEFAULT_PROPS$s = {};
2681
+ const _excluded$v = ["aria-label", "buttonProps", "buttonRef", "children", "className", "hasBadge", "icon", "iconProps", "iconRef", "isDisabled", "isExpanded", "menuProps", "menuRef", "tabIndex", "withoutIcons"];
2682
+ const COMPONENT_NAME$x = 'SideNavigationMenu';
2683
+ const CLASSNAME$x = 'redsift-side-navigation-menu';
2684
+ const DEFAULT_PROPS$x = {};
2683
2685
 
2684
2686
  /**
2685
2687
  * The SideNavigationMenu component.
@@ -2702,7 +2704,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
2702
2704
  tabIndex,
2703
2705
  withoutIcons
2704
2706
  } = props,
2705
- forwardedProps = _objectWithoutProperties(props, _excluded$q);
2707
+ forwardedProps = _objectWithoutProperties(props, _excluded$v);
2706
2708
  warnIfNoAccessibleLabelFound(props);
2707
2709
  const sideNavigationMenuBarContext = useContext(SideNavigationMenuBarContext);
2708
2710
  const [isFirstChild, setIsFirstChild] = useState(false);
@@ -2971,9 +2973,9 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
2971
2973
  role: "menu"
2972
2974
  }, menuItemListEventHandler), renderedMenuItems)));
2973
2975
  });
2974
- SideNavigationMenu.className = CLASSNAME$s;
2975
- SideNavigationMenu.defaultProps = DEFAULT_PROPS$s;
2976
- SideNavigationMenu.displayName = COMPONENT_NAME$s;
2976
+ SideNavigationMenu.className = CLASSNAME$x;
2977
+ SideNavigationMenu.defaultProps = DEFAULT_PROPS$x;
2978
+ SideNavigationMenu.displayName = COMPONENT_NAME$x;
2977
2979
 
2978
2980
  /**
2979
2981
  * Component style.
@@ -3044,10 +3046,10 @@ const useBoundingClientRect = (ref, deps) => {
3044
3046
  return boundingRect;
3045
3047
  };
3046
3048
 
3047
- const _excluded$p = ["aria-label", "aria-labelledby", "children", "className", "isDisabled", "menubarProps", "menubarRef", "withoutIcons"];
3048
- const COMPONENT_NAME$r = 'SideNavigationMenuBar';
3049
- const CLASSNAME$r = 'redsift-side-navigation-menu-bar';
3050
- const DEFAULT_PROPS$r = {};
3049
+ const _excluded$u = ["aria-label", "aria-labelledby", "children", "className", "isDisabled", "menubarProps", "menubarRef", "withoutIcons"];
3050
+ const COMPONENT_NAME$w = 'SideNavigationMenuBar';
3051
+ const CLASSNAME$w = 'redsift-side-navigation-menu-bar';
3052
+ const DEFAULT_PROPS$w = {};
3051
3053
 
3052
3054
  /**
3053
3055
  * Hook to store the previous index for further use
@@ -3075,7 +3077,7 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3075
3077
  menubarRef = useRef(),
3076
3078
  withoutIcons
3077
3079
  } = props,
3078
- forwardedProps = _objectWithoutProperties(props, _excluded$p);
3080
+ forwardedProps = _objectWithoutProperties(props, _excluded$u);
3079
3081
  warnIfNoAccessibleLabelFound(props);
3080
3082
  const {
3081
3083
  top
@@ -3217,11 +3219,11 @@ const SideNavigationMenuBar = /*#__PURE__*/forwardRef((props, ref) => {
3217
3219
  role: "menubar"
3218
3220
  }), navItems)));
3219
3221
  });
3220
- SideNavigationMenuBar.className = CLASSNAME$r;
3221
- SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$r;
3222
- SideNavigationMenuBar.displayName = COMPONENT_NAME$r;
3222
+ SideNavigationMenuBar.className = CLASSNAME$w;
3223
+ SideNavigationMenuBar.defaultProps = DEFAULT_PROPS$w;
3224
+ SideNavigationMenuBar.displayName = COMPONENT_NAME$w;
3223
3225
 
3224
- const _excluded$o = ["title", "href", "ref"],
3226
+ const _excluded$t = ["title", "href", "ref"],
3225
3227
  _excluded2 = ["title", "children", "ref"],
3226
3228
  _excluded3 = ["title", "href", "ref"];
3227
3229
  const isMenu = item => {
@@ -3240,7 +3242,7 @@ const useSideNavigationMenuBar = _ref => {
3240
3242
  href,
3241
3243
  ref
3242
3244
  } = item,
3243
- rest = _objectWithoutProperties(item, _excluded$o);
3245
+ rest = _objectWithoutProperties(item, _excluded$t);
3244
3246
  menuBarChildren.push( /*#__PURE__*/React__default.createElement(SideNavigationMenuItem, _extends$1({
3245
3247
  key: title,
3246
3248
  isCurrent: isActive ? isActive(href) : undefined
@@ -3343,10 +3345,10 @@ const StyledBreadcrumbItem = styled.a`
3343
3345
  }
3344
3346
  `;
3345
3347
 
3346
- const _excluded$n = ["children", "className", "href", "isCurrent", "isDisabled"];
3347
- const COMPONENT_NAME$q = 'BreadcrumbItem';
3348
- const CLASSNAME$q = 'redsift-breadcrumb-item';
3349
- const DEFAULT_PROPS$q = {};
3348
+ const _excluded$s = ["children", "className", "href", "isCurrent", "isDisabled"];
3349
+ const COMPONENT_NAME$v = 'BreadcrumbItem';
3350
+ const CLASSNAME$v = 'redsift-breadcrumb-item';
3351
+ const DEFAULT_PROPS$v = {};
3350
3352
 
3351
3353
  /**
3352
3354
  * The BreadcrumbItem components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3359,7 +3361,7 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3359
3361
  isCurrent,
3360
3362
  isDisabled
3361
3363
  } = props,
3362
- forwardedProps = _objectWithoutProperties(props, _excluded$n);
3364
+ forwardedProps = _objectWithoutProperties(props, _excluded$s);
3363
3365
  warnIfNoAccessibleLabelFound(props, [children]);
3364
3366
  return /*#__PURE__*/React__default.createElement(StyledBreadcrumbItem, _extends$1({
3365
3367
  role: "link",
@@ -3374,9 +3376,9 @@ const BreadcrumbItem = /*#__PURE__*/forwardRef((props, ref) => {
3374
3376
  ref: ref
3375
3377
  }), children);
3376
3378
  });
3377
- BreadcrumbItem.className = CLASSNAME$q;
3378
- BreadcrumbItem.defaultProps = DEFAULT_PROPS$q;
3379
- BreadcrumbItem.displayName = COMPONENT_NAME$q;
3379
+ BreadcrumbItem.className = CLASSNAME$v;
3380
+ BreadcrumbItem.defaultProps = DEFAULT_PROPS$v;
3381
+ BreadcrumbItem.displayName = COMPONENT_NAME$v;
3380
3382
 
3381
3383
  /**
3382
3384
  * Component style.
@@ -3410,10 +3412,10 @@ const StyledBreadcrumbs = styled.nav`
3410
3412
  }
3411
3413
  `;
3412
3414
 
3413
- const _excluded$m = ["children", "className", "isDisabled"];
3414
- const COMPONENT_NAME$p = 'Breadcrumbs';
3415
- const CLASSNAME$p = 'redsift-breadcrumbs';
3416
- const DEFAULT_PROPS$p = {};
3415
+ const _excluded$r = ["children", "className", "isDisabled"];
3416
+ const COMPONENT_NAME$u = 'Breadcrumbs';
3417
+ const CLASSNAME$u = 'redsift-breadcrumbs';
3418
+ const DEFAULT_PROPS$u = {};
3417
3419
 
3418
3420
  /**
3419
3421
  * The Breadcrumbs components is a list of links to the parent pages of the current page in hierarchical order.
@@ -3424,7 +3426,7 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3424
3426
  className,
3425
3427
  isDisabled
3426
3428
  } = props,
3427
- forwardedProps = _objectWithoutProperties(props, _excluded$m);
3429
+ forwardedProps = _objectWithoutProperties(props, _excluded$r);
3428
3430
  warnIfNoAccessibleLabelFound(props);
3429
3431
  const childArray = filterComponents([Breadcrumbs.Item])(children);
3430
3432
  const breadcrumbItems = childArray.map((child, index) => {
@@ -3447,17 +3449,17 @@ const BaseBreadcrumbs = /*#__PURE__*/forwardRef((props, ref) => {
3447
3449
  ref: ref
3448
3450
  }), /*#__PURE__*/React__default.createElement("ol", null, breadcrumbItems));
3449
3451
  });
3450
- BaseBreadcrumbs.className = CLASSNAME$p;
3451
- BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$p;
3452
- BaseBreadcrumbs.displayName = COMPONENT_NAME$p;
3452
+ BaseBreadcrumbs.className = CLASSNAME$u;
3453
+ BaseBreadcrumbs.defaultProps = DEFAULT_PROPS$u;
3454
+ BaseBreadcrumbs.displayName = COMPONENT_NAME$u;
3453
3455
  const Breadcrumbs = Object.assign(BaseBreadcrumbs, {
3454
3456
  Item: BreadcrumbItem
3455
3457
  });
3456
3458
 
3457
- const _excluded$l = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
3458
- const COMPONENT_NAME$o = 'ButtonLink';
3459
- const CLASSNAME$o = 'redsift-button-link';
3460
- const DEFAULT_PROPS$o = {
3459
+ const _excluded$q = ["as", "children", "className", "color", "href", "isActive", "isDisabled", "leftIcon", "rightIcon", "target", "variant"];
3460
+ const COMPONENT_NAME$t = 'ButtonLink';
3461
+ const CLASSNAME$t = 'redsift-button-link';
3462
+ const DEFAULT_PROPS$t = {
3461
3463
  color: ColorPalette.default,
3462
3464
  height: 'fit-content',
3463
3465
  variant: ButtonVariant.primary
@@ -3484,7 +3486,7 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3484
3486
  target,
3485
3487
  variant
3486
3488
  } = props,
3487
- forwardedProps = _objectWithoutProperties(props, _excluded$l);
3489
+ forwardedProps = _objectWithoutProperties(props, _excluded$q);
3488
3490
  return /*#__PURE__*/React__default.createElement(StyledButton, _extends$1({
3489
3491
  as: as || 'a',
3490
3492
  role: "link",
@@ -3508,9 +3510,9 @@ const ButtonLink = /*#__PURE__*/forwardRef((props, ref) => {
3508
3510
  className: "right"
3509
3511
  }) : null);
3510
3512
  });
3511
- ButtonLink.className = CLASSNAME$o;
3512
- ButtonLink.defaultProps = DEFAULT_PROPS$o;
3513
- ButtonLink.displayName = COMPONENT_NAME$o;
3513
+ ButtonLink.className = CLASSNAME$t;
3514
+ ButtonLink.defaultProps = DEFAULT_PROPS$t;
3515
+ ButtonLink.displayName = COMPONENT_NAME$t;
3514
3516
 
3515
3517
  var collapse$3 = "Collapse";
3516
3518
  var expand$3 = "Expand";
@@ -3612,10 +3614,241 @@ const StyledCardHeader = styled.div`
3612
3614
  }
3613
3615
  `;
3614
3616
 
3615
- const _excluded$k = ["children", "className", "header", "headingProps", "icon", "subheader"];
3616
- const COMPONENT_NAME$n = 'CardHeader';
3617
- const CLASSNAME$n = 'redsift-card-header';
3618
- const DEFAULT_PROPS$n = {};
3617
+ /**
3618
+ * Component style.
3619
+ */
3620
+ const wave = keyframes`
3621
+ 0% {
3622
+ -webkit-transform: translateX(-100%);
3623
+ -moz-transform: translateX(-100%);
3624
+ -ms-transform: translateX(-100%);
3625
+ transform: translateX(-100%);
3626
+ }
3627
+
3628
+ 50% {
3629
+ -webkit-transform: translateX(100%);
3630
+ -moz-transform: translateX(100%);
3631
+ -ms-transform: translateX(100%);
3632
+ transform: translateX(100%);
3633
+ }
3634
+
3635
+ 100% {
3636
+ -webkit-transform: translateX(100%);
3637
+ -moz-transform: translateX(100%);
3638
+ -ms-transform: translateX(100%);
3639
+ transform: translateX(100%);
3640
+ }
3641
+ `;
3642
+ const StyledSkeleton = styled.div`
3643
+ height: fit-content;
3644
+ width: fit-content;
3645
+
3646
+ > * {
3647
+ visibility: hidden;
3648
+ }
3649
+
3650
+ flex: 0 0 auto;
3651
+
3652
+ ${baseStyling}
3653
+ ${baseInternalSpacing}
3654
+
3655
+ display: block;
3656
+ background-color: rgba(0, 0, 0, 0.11);
3657
+ position: relative;
3658
+ overflow: hidden;
3659
+ -webkit-mask-image: -webkit-radial-gradient(white, black);
3660
+
3661
+ &::after {
3662
+ -webkit-animation: ${wave} 1.6s linear 0.5s infinite;
3663
+ animation: ${wave} 1.6s linear 0.5s infinite;
3664
+ background: linear-gradient(
3665
+ 90deg,
3666
+ transparent,
3667
+ rgba(0, 0, 0, 0.04),
3668
+ transparent
3669
+ );
3670
+ background-clip: content-box;
3671
+ content: '';
3672
+ position: absolute;
3673
+ -webkit-transform: translateX(-100%);
3674
+ -moz-transform: translateX(-100%);
3675
+ -ms-transform: translateX(-100%);
3676
+ transform: translateX(-100%);
3677
+ bottom: 0;
3678
+ left: 0;
3679
+ right: 0;
3680
+ top: 0;
3681
+ }
3682
+ `;
3683
+
3684
+ /**
3685
+ * Component style.
3686
+ */
3687
+ const StyledSkeletonCircle = styled(StyledSkeleton)`
3688
+ border-radius: 50%;
3689
+
3690
+ ${_ref => {
3691
+ let {
3692
+ height,
3693
+ width
3694
+ } = _ref;
3695
+ return css`
3696
+ &,
3697
+ &::after {
3698
+ ${height ? `height: ${height};` : width ? `height: ${width};` : ''}
3699
+ ${width ? `width: ${width};` : height ? `width: ${height};` : ''}
3700
+ }
3701
+ `;
3702
+ }}
3703
+ `;
3704
+
3705
+ const _excluded$p = ["children", "className", "isLoaded"];
3706
+ const COMPONENT_NAME$s = 'SkeletonCircle';
3707
+ const CLASSNAME$s = 'redsift-skeleton-circle';
3708
+ const DEFAULT_PROPS$s = {};
3709
+
3710
+ /**
3711
+ * The SkeletonCircle component.
3712
+ */
3713
+ const SkeletonCircle = /*#__PURE__*/forwardRef((props, ref) => {
3714
+ const {
3715
+ children,
3716
+ className,
3717
+ isLoaded
3718
+ } = props,
3719
+ forwardedProps = _objectWithoutProperties(props, _excluded$p);
3720
+ if (isLoaded) {
3721
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3722
+ }
3723
+ return /*#__PURE__*/React__default.createElement(StyledSkeletonCircle, _extends$1({}, forwardedProps, {
3724
+ className: classNames(SkeletonCircle.className, className),
3725
+ ref: ref
3726
+ }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3727
+ });
3728
+ SkeletonCircle.className = CLASSNAME$s;
3729
+ SkeletonCircle.defaultProps = DEFAULT_PROPS$s;
3730
+ SkeletonCircle.displayName = COMPONENT_NAME$s;
3731
+
3732
+ /**
3733
+ * Component variant.
3734
+ */
3735
+ const SkeletonTextVariant = {
3736
+ h1: 'h1',
3737
+ h2: 'h2',
3738
+ h3: 'h3',
3739
+ h4: 'h4',
3740
+ h5: 'h5',
3741
+ subtitle: 'subtitle',
3742
+ body: 'body',
3743
+ body2: 'body2',
3744
+ button: 'button',
3745
+ caption: 'caption'
3746
+ };
3747
+
3748
+ /**
3749
+ * Component style.
3750
+ */
3751
+ const StyledSkeletonText = styled(StyledSkeleton)`
3752
+ background-clip: content-box;
3753
+
3754
+ ${_ref => {
3755
+ let {
3756
+ height,
3757
+ $fontSize,
3758
+ $lineHeight,
3759
+ $variant
3760
+ } = _ref;
3761
+ return height ? css`
3762
+ &,
3763
+ &::after {
3764
+ height: ${height};
3765
+ }
3766
+ ` : css`
3767
+ &,
3768
+ &::after {
3769
+ height: ${$fontSize ? $fontSize : `var(--redsift-typography-${$variant}-font-size)`};
3770
+ padding: calc(
3771
+ (
3772
+ ${$lineHeight ? $lineHeight : `var(--redsift-typography-${$variant}-line-height)`} -
3773
+ ${$fontSize ? $fontSize : `var(--redsift-typography-${$variant}-font-size)`}
3774
+ ) / 2
3775
+ )
3776
+ 0px;
3777
+ }
3778
+ `;
3779
+ }}}
3780
+ `;
3781
+
3782
+ const _excluded$o = ["children", "className", "fontSize", "isLoaded", "lineHeight", "variant"];
3783
+ const COMPONENT_NAME$r = 'SkeletonText';
3784
+ const CLASSNAME$r = 'redsift-skeleton-text';
3785
+ const DEFAULT_PROPS$r = {
3786
+ variant: 'body'
3787
+ };
3788
+
3789
+ /**
3790
+ * The SkeletonText component.
3791
+ */
3792
+ const SkeletonText = /*#__PURE__*/forwardRef((props, ref) => {
3793
+ const {
3794
+ children,
3795
+ className,
3796
+ fontSize,
3797
+ isLoaded,
3798
+ lineHeight,
3799
+ variant
3800
+ } = props,
3801
+ forwardedProps = _objectWithoutProperties(props, _excluded$o);
3802
+ if (isLoaded) {
3803
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3804
+ }
3805
+ return /*#__PURE__*/React__default.createElement(StyledSkeletonText, _extends$1({}, forwardedProps, {
3806
+ className: classNames(SkeletonText.className, className),
3807
+ ref: ref,
3808
+ $fontSize: fontSize,
3809
+ $lineHeight: lineHeight,
3810
+ $variant: variant
3811
+ }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3812
+ });
3813
+ SkeletonText.className = CLASSNAME$r;
3814
+ SkeletonText.defaultProps = DEFAULT_PROPS$r;
3815
+ SkeletonText.displayName = COMPONENT_NAME$r;
3816
+
3817
+ const _excluded$n = ["children", "className", "isLoaded"];
3818
+ const COMPONENT_NAME$q = 'Skeleton';
3819
+ const CLASSNAME$q = 'redsift-skeleton';
3820
+ const DEFAULT_PROPS$q = {};
3821
+
3822
+ /**
3823
+ * The Skeleton component.
3824
+ */
3825
+ const BaseSkeleton = /*#__PURE__*/forwardRef((props, ref) => {
3826
+ const {
3827
+ children,
3828
+ className,
3829
+ isLoaded
3830
+ } = props,
3831
+ forwardedProps = _objectWithoutProperties(props, _excluded$n);
3832
+ if (isLoaded) {
3833
+ return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children);
3834
+ }
3835
+ return /*#__PURE__*/React__default.createElement(StyledSkeleton, _extends$1({}, forwardedProps, {
3836
+ className: classNames(BaseSkeleton.className, className),
3837
+ ref: ref
3838
+ }), typeof children === 'string' ? /*#__PURE__*/React__default.createElement("span", null, children) : children);
3839
+ });
3840
+ BaseSkeleton.className = CLASSNAME$q;
3841
+ BaseSkeleton.defaultProps = DEFAULT_PROPS$q;
3842
+ BaseSkeleton.displayName = COMPONENT_NAME$q;
3843
+ const Skeleton = Object.assign(BaseSkeleton, {
3844
+ Circle: SkeletonCircle,
3845
+ Text: SkeletonText
3846
+ });
3847
+
3848
+ const _excluded$m = ["children", "className", "header", "headingProps", "icon", "isLoading", "subheader"];
3849
+ const COMPONENT_NAME$p = 'CardHeader';
3850
+ const CLASSNAME$p = 'redsift-card-header';
3851
+ const DEFAULT_PROPS$p = {};
3619
3852
 
3620
3853
  /**
3621
3854
  * The CardHeader component.
@@ -3627,15 +3860,24 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3627
3860
  header,
3628
3861
  headingProps,
3629
3862
  icon,
3863
+ isLoading,
3630
3864
  subheader
3631
3865
  } = props,
3632
- forwardedProps = _objectWithoutProperties(props, _excluded$k);
3866
+ forwardedProps = _objectWithoutProperties(props, _excluded$m);
3633
3867
  return /*#__PURE__*/React__default.createElement(StyledCardHeader, _extends$1({}, forwardedProps, {
3634
3868
  className: classNames(CardHeader.className, className),
3635
3869
  ref: ref
3636
- }), subheader ? /*#__PURE__*/React__default.createElement("div", {
3870
+ }), subheader ? /*#__PURE__*/React__default.createElement(Skeleton.Text, {
3871
+ variant: "body",
3872
+ isLoaded: !isLoading
3873
+ }, /*#__PURE__*/React__default.createElement("div", {
3637
3874
  className: `${CardHeader.className}__subheader`
3638
- }, subheader) : null, header ? /*#__PURE__*/React__default.createElement(Heading, _extends$1({
3875
+ }, subheader)) : null, header ? /*#__PURE__*/React__default.createElement(Skeleton.Text, {
3876
+ variant: "h2",
3877
+ isLoaded: !isLoading,
3878
+ marginTop: "10px",
3879
+ marginBottom: "10px"
3880
+ }, /*#__PURE__*/React__default.createElement(Heading, _extends$1({
3639
3881
  as: "h2",
3640
3882
  color: "black",
3641
3883
  className: `${CardHeader.className}__header`,
@@ -3643,11 +3885,11 @@ const CardHeader = /*#__PURE__*/forwardRef((props, ref) => {
3643
3885
  }, headingProps), icon ? /*#__PURE__*/React__default.createElement(Icon, {
3644
3886
  icon: icon,
3645
3887
  "aria-hidden": "true"
3646
- }) : null, header) : null, children);
3888
+ }) : null, header)) : null, children);
3647
3889
  });
3648
- CardHeader.className = CLASSNAME$n;
3649
- CardHeader.defaultProps = DEFAULT_PROPS$n;
3650
- CardHeader.displayName = COMPONENT_NAME$n;
3890
+ CardHeader.className = CLASSNAME$p;
3891
+ CardHeader.defaultProps = DEFAULT_PROPS$p;
3892
+ CardHeader.displayName = COMPONENT_NAME$p;
3651
3893
 
3652
3894
  /**
3653
3895
  * Component style.
@@ -3663,10 +3905,10 @@ const StyledCardBody = styled.div`
3663
3905
  padding: 16px 0px;
3664
3906
  `;
3665
3907
 
3666
- const _excluded$j = ["children", "className"];
3667
- const COMPONENT_NAME$m = 'CardBody';
3668
- const CLASSNAME$m = 'redsift-card-body';
3669
- const DEFAULT_PROPS$m = {};
3908
+ const _excluded$l = ["children", "className"];
3909
+ const COMPONENT_NAME$o = 'CardBody';
3910
+ const CLASSNAME$o = 'redsift-card-body';
3911
+ const DEFAULT_PROPS$o = {};
3670
3912
 
3671
3913
  /**
3672
3914
  * The CardBody component.
@@ -3676,15 +3918,15 @@ const CardBody = /*#__PURE__*/forwardRef((props, ref) => {
3676
3918
  children,
3677
3919
  className
3678
3920
  } = props,
3679
- forwardedProps = _objectWithoutProperties(props, _excluded$j);
3921
+ forwardedProps = _objectWithoutProperties(props, _excluded$l);
3680
3922
  return /*#__PURE__*/React__default.createElement(StyledCardBody, _extends$1({}, forwardedProps, {
3681
3923
  className: classNames(CardBody.className, className),
3682
3924
  ref: ref
3683
3925
  }), children);
3684
3926
  });
3685
- CardBody.className = CLASSNAME$m;
3686
- CardBody.defaultProps = DEFAULT_PROPS$m;
3687
- CardBody.displayName = COMPONENT_NAME$m;
3927
+ CardBody.className = CLASSNAME$o;
3928
+ CardBody.defaultProps = DEFAULT_PROPS$o;
3929
+ CardBody.displayName = COMPONENT_NAME$o;
3688
3930
 
3689
3931
  /**
3690
3932
  * Component style.
@@ -3696,10 +3938,10 @@ const StyledCardActions = styled.div`
3696
3938
  margin-bottom: 8px;
3697
3939
  `;
3698
3940
 
3699
- const _excluded$i = ["children", "className"];
3700
- const COMPONENT_NAME$l = 'CardActions';
3701
- const CLASSNAME$l = 'redsift-card-actions';
3702
- const DEFAULT_PROPS$l = {
3941
+ const _excluded$k = ["children", "className"];
3942
+ const COMPONENT_NAME$n = 'CardActions';
3943
+ const CLASSNAME$n = 'redsift-card-actions';
3944
+ const DEFAULT_PROPS$n = {
3703
3945
  display: 'flex',
3704
3946
  flexDirection: 'row'
3705
3947
  };
@@ -3712,20 +3954,20 @@ const CardActions = /*#__PURE__*/forwardRef((props, ref) => {
3712
3954
  children,
3713
3955
  className
3714
3956
  } = props,
3715
- forwardedProps = _objectWithoutProperties(props, _excluded$i);
3957
+ forwardedProps = _objectWithoutProperties(props, _excluded$k);
3716
3958
  return /*#__PURE__*/React__default.createElement(StyledCardActions, _extends$1({}, forwardedProps, {
3717
3959
  className: classNames(CardActions.className, className),
3718
3960
  ref: ref
3719
3961
  }), children);
3720
3962
  });
3721
- CardActions.className = CLASSNAME$l;
3722
- CardActions.defaultProps = DEFAULT_PROPS$l;
3723
- CardActions.displayName = COMPONENT_NAME$l;
3963
+ CardActions.className = CLASSNAME$n;
3964
+ CardActions.defaultProps = DEFAULT_PROPS$n;
3965
+ CardActions.displayName = COMPONENT_NAME$n;
3724
3966
 
3725
- const _excluded$h = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
3726
- const COMPONENT_NAME$k = 'Card';
3727
- const CLASSNAME$k = 'redsift-card';
3728
- const DEFAULT_PROPS$k = {};
3967
+ const _excluded$j = ["children", "className", "defaultCollapsed", "isCollapsed", "isCollapsible", "onCollapse"];
3968
+ const COMPONENT_NAME$m = 'Card';
3969
+ const CLASSNAME$m = 'redsift-card';
3970
+ const DEFAULT_PROPS$m = {};
3729
3971
 
3730
3972
  /**
3731
3973
  * The Card component.
@@ -3739,7 +3981,7 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
3739
3981
  isCollapsible,
3740
3982
  onCollapse
3741
3983
  } = props,
3742
- forwardedProps = _objectWithoutProperties(props, _excluded$h);
3984
+ forwardedProps = _objectWithoutProperties(props, _excluded$j);
3743
3985
  const stringFormatter = useLocalizedStringFormatter(intlMessages$2);
3744
3986
  const [isCollapsed, setIsCollapsed] = useState(propsIsCollapsed !== null && propsIsCollapsed !== void 0 ? propsIsCollapsed : defaultCollapsed);
3745
3987
  useEffect(() => {
@@ -3770,9 +4012,9 @@ const BaseCard = /*#__PURE__*/forwardRef((props, ref) => {
3770
4012
  className: `${BaseCard.className}__content`
3771
4013
  }, body, actions) : null);
3772
4014
  });
3773
- BaseCard.className = CLASSNAME$k;
3774
- BaseCard.defaultProps = DEFAULT_PROPS$k;
3775
- BaseCard.displayName = COMPONENT_NAME$k;
4015
+ BaseCard.className = CLASSNAME$m;
4016
+ BaseCard.defaultProps = DEFAULT_PROPS$m;
4017
+ BaseCard.displayName = COMPONENT_NAME$m;
3776
4018
  const Card = Object.assign(BaseCard, {
3777
4019
  Header: CardHeader,
3778
4020
  Body: CardBody,
@@ -3871,10 +4113,10 @@ const StyledCheckboxGroup = styled.div`
3871
4113
  }
3872
4114
  `;
3873
4115
 
3874
- const _excluded$g = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
3875
- const COMPONENT_NAME$j = 'CheckboxGroup';
3876
- const CLASSNAME$j = 'redsift-checkbox-group';
3877
- const DEFAULT_PROPS$j = {
4116
+ const _excluded$i = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
4117
+ const COMPONENT_NAME$l = 'CheckboxGroup';
4118
+ const CLASSNAME$l = 'redsift-checkbox-group';
4119
+ const DEFAULT_PROPS$l = {
3878
4120
  color: ColorPalette.default,
3879
4121
  orientation: CheckboxGroupOrientation.vertical
3880
4122
  };
@@ -3899,7 +4141,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
3899
4141
  possibleValues,
3900
4142
  value
3901
4143
  } = props,
3902
- forwardedProps = _objectWithoutProperties(props, _excluded$g);
4144
+ forwardedProps = _objectWithoutProperties(props, _excluded$i);
3903
4145
  const [selectedValues, setValue] = useState(value || defaultValues || []);
3904
4146
  useEffect(() => {
3905
4147
  if (value) {
@@ -3953,16 +4195,16 @@ const CheckboxGroup = /*#__PURE__*/forwardRef((props, ref) => {
3953
4195
  className: `${CheckboxGroup.className}-description`
3954
4196
  }, description));
3955
4197
  });
3956
- CheckboxGroup.className = CLASSNAME$j;
3957
- CheckboxGroup.defaultProps = DEFAULT_PROPS$j;
3958
- CheckboxGroup.displayName = COMPONENT_NAME$j;
4198
+ CheckboxGroup.className = CLASSNAME$l;
4199
+ CheckboxGroup.defaultProps = DEFAULT_PROPS$l;
4200
+ CheckboxGroup.displayName = COMPONENT_NAME$l;
3959
4201
 
3960
4202
  /**
3961
4203
  * Component style.
3962
4204
  */
3963
4205
  const StyledCheckbox = styled.label`
3964
- position: relative;
3965
4206
  height: fit-content;
4207
+ position: relative;
3966
4208
  width: fit-content;
3967
4209
  ${baseStyling}
3968
4210
 
@@ -4033,11 +4275,10 @@ const StyledCheckbox = styled.label`
4033
4275
  );
4034
4276
  `}
4035
4277
 
4036
- ${$isFocusVisible ? css`
4278
+ ${$isFocusVisible && !$isDisabled ? css`
4037
4279
  background-color: var(
4038
4280
  --redsift-color-${$isColored ? 'default' : 'question'}-hover
4039
4281
  );
4040
- border-radius: 21px;
4041
4282
  ` : ''}
4042
4283
  `;
4043
4284
  }}
@@ -4061,26 +4302,12 @@ const StyledCheckbox = styled.label`
4061
4302
  ` : '';
4062
4303
  }}
4063
4304
  }
4064
-
4065
- ${_ref4 => {
4066
- let {
4067
- $isColored,
4068
- $isFocusVisible
4069
- } = _ref4;
4070
- return $isFocusVisible ? css`
4071
- .redsift-icon {
4072
- background-color: var(
4073
- --redsift-color-${$isColored ? 'default' : 'question'}-hover
4074
- );
4075
- }
4076
- ` : '';
4077
- }}
4078
4305
  `;
4079
4306
 
4080
- const _excluded$f = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isControlled", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
4081
- const COMPONENT_NAME$i = 'Checkbox';
4082
- const CLASSNAME$i = 'redsift-checkbox';
4083
- const DEFAULT_PROPS$i = {
4307
+ const _excluded$h = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isControlled", "isDisabled", "isIndeterminate", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
4308
+ const COMPONENT_NAME$k = 'Checkbox';
4309
+ const CLASSNAME$k = 'redsift-checkbox';
4310
+ const DEFAULT_PROPS$k = {
4084
4311
  isColored: true
4085
4312
  };
4086
4313
 
@@ -4113,7 +4340,7 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4113
4340
  onChange,
4114
4341
  value
4115
4342
  } = props,
4116
- forwardedProps = _objectWithoutProperties(props, _excluded$f);
4343
+ forwardedProps = _objectWithoutProperties(props, _excluded$h);
4117
4344
  const {
4118
4345
  isFocusVisible,
4119
4346
  focusProps
@@ -4193,9 +4420,9 @@ const Checkbox = /*#__PURE__*/forwardRef((props, ref) => {
4193
4420
  className: "label"
4194
4421
  }, children) : null);
4195
4422
  });
4196
- Checkbox.className = CLASSNAME$i;
4197
- Checkbox.defaultProps = DEFAULT_PROPS$i;
4198
- Checkbox.displayName = COMPONENT_NAME$i;
4423
+ Checkbox.className = CLASSNAME$k;
4424
+ Checkbox.defaultProps = DEFAULT_PROPS$k;
4425
+ Checkbox.displayName = COMPONENT_NAME$k;
4199
4426
 
4200
4427
  const ConditionalWrapper = _ref => {
4201
4428
  let {
@@ -4305,10 +4532,10 @@ const StyledShield = styled.div`
4305
4532
  }}
4306
4533
  `;
4307
4534
 
4308
- const _excluded$e = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
4309
- const COMPONENT_NAME$h = 'Shield';
4310
- const CLASSNAME$h = 'redsift-shield';
4311
- const DEFAULT_PROPS$h = {
4535
+ const _excluded$g = ["aria-hidden", "aria-label", "className", "svgProps", "isOutlined", "isReversed", "variant"];
4536
+ const COMPONENT_NAME$j = 'Shield';
4537
+ const CLASSNAME$j = 'redsift-shield';
4538
+ const DEFAULT_PROPS$j = {
4312
4539
  variant: ShieldVariant.success
4313
4540
  };
4314
4541
  const getVariant = variant => {
@@ -4394,7 +4621,7 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4394
4621
  isReversed,
4395
4622
  variant
4396
4623
  } = props,
4397
- forwardedProps = _objectWithoutProperties(props, _excluded$e);
4624
+ forwardedProps = _objectWithoutProperties(props, _excluded$g);
4398
4625
  const {
4399
4626
  color,
4400
4627
  icon
@@ -4428,9 +4655,9 @@ const Shield = /*#__PURE__*/forwardRef((props, ref) => {
4428
4655
  className: "icon"
4429
4656
  })));
4430
4657
  });
4431
- Shield.className = CLASSNAME$h;
4432
- Shield.defaultProps = DEFAULT_PROPS$h;
4433
- Shield.displayName = COMPONENT_NAME$h;
4658
+ Shield.className = CLASSNAME$j;
4659
+ Shield.defaultProps = DEFAULT_PROPS$j;
4660
+ Shield.displayName = COMPONENT_NAME$j;
4434
4661
 
4435
4662
  var collapse$1 = "Collapse details";
4436
4663
  var expand$1 = "Expand details";
@@ -4471,10 +4698,10 @@ const StyledDetailedCardCollapsibleSectionItems = styled.div`
4471
4698
  }
4472
4699
  `;
4473
4700
 
4474
- const _excluded$d = ["caption", "children", "className"];
4475
- const COMPONENT_NAME$g = 'DetailedCardCollapsibleSectionItems';
4476
- const CLASSNAME$g = 'redsift-detailed-card-collapsible-section-items';
4477
- const DEFAULT_PROPS$g = {};
4701
+ const _excluded$f = ["caption", "children", "className"];
4702
+ const COMPONENT_NAME$i = 'DetailedCardCollapsibleSectionItems';
4703
+ const CLASSNAME$i = 'redsift-detailed-card-collapsible-section-items';
4704
+ const DEFAULT_PROPS$i = {};
4478
4705
 
4479
4706
  /**
4480
4707
  * The DetailedCardCollapsibleSectionItems Section component.
@@ -4485,7 +4712,7 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4485
4712
  children,
4486
4713
  className
4487
4714
  } = props,
4488
- forwardedProps = _objectWithoutProperties(props, _excluded$d);
4715
+ forwardedProps = _objectWithoutProperties(props, _excluded$f);
4489
4716
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardCollapsibleSectionItems, _extends$1({}, forwardedProps, {
4490
4717
  className: classNames(DetailedCardCollapsibleSectionItems.className, className),
4491
4718
  ref: ref
@@ -4493,9 +4720,9 @@ const DetailedCardCollapsibleSectionItems = /*#__PURE__*/forwardRef((props, ref)
4493
4720
  className: `${DetailedCardCollapsibleSectionItems.className}__caption`
4494
4721
  }, caption) : null);
4495
4722
  });
4496
- DetailedCardCollapsibleSectionItems.className = CLASSNAME$g;
4497
- DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$g;
4498
- DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$g;
4723
+ DetailedCardCollapsibleSectionItems.className = CLASSNAME$i;
4724
+ DetailedCardCollapsibleSectionItems.defaultProps = DEFAULT_PROPS$i;
4725
+ DetailedCardCollapsibleSectionItems.displayName = COMPONENT_NAME$i;
4499
4726
 
4500
4727
  /**
4501
4728
  * Component style.
@@ -4509,11 +4736,7 @@ const StyledDetailedCardSection = styled.div`
4509
4736
  }
4510
4737
 
4511
4738
  .redsift-detailed-card-section-header__title {
4512
- color: var(--redsift-color-neutral-black);
4513
- font-family: var(--redsift-typography-font-family-raleway);
4514
- font-size: 18px;
4515
4739
  font-weight: 700;
4516
- line-height: 22px;
4517
4740
  padding: 6px 0px;
4518
4741
  }
4519
4742
 
@@ -4555,47 +4778,217 @@ const StyledDetailedCardSection = styled.div`
4555
4778
  }
4556
4779
  `;
4557
4780
 
4558
- const _excluded$c = ["children", "className", "header", "isCollapsed", "isCollapsible"];
4559
- const COMPONENT_NAME$f = 'DetailedCardSection';
4560
- const CLASSNAME$f = 'redsift-detailed-card-section';
4561
- const DEFAULT_PROPS$f = {
4562
- isCollapsible: true
4781
+ /**
4782
+ * Component variant.
4783
+ */
4784
+ const TextVariant = {
4785
+ subtitle: 'subtitle',
4786
+ body: 'body',
4787
+ body2: 'body2',
4788
+ button: 'button',
4789
+ caption: 'caption',
4790
+ inherit: 'inherit'
4563
4791
  };
4564
- const hasCollapsibleChildren = children => {
4565
- let hasCollapsible = false;
4566
- React__default.Children.map(children, child => {
4567
- if (isComponent(DetailedCardCollapsibleSectionItems)(child)) {
4568
- hasCollapsible = true;
4569
- }
4570
- });
4571
- return hasCollapsible;
4792
+ const TextComponent = {
4793
+ p: 'p',
4794
+ b: 'b',
4795
+ i: 'i',
4796
+ u: 'u',
4797
+ abbr: 'abbr',
4798
+ cite: 'cite',
4799
+ del: 'del',
4800
+ em: 'em',
4801
+ ins: 'ins',
4802
+ kbd: 'kbd',
4803
+ mark: 'mark',
4804
+ s: 's',
4805
+ samp: 'samp',
4806
+ sub: 'sub',
4807
+ sup: 'sup'
4572
4808
  };
4573
4809
 
4574
4810
  /**
4575
- * The DetailedCardSection component.
4811
+ * Component style.
4576
4812
  */
4577
- const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4578
- const {
4579
- children,
4580
- className,
4581
- header,
4582
- isCollapsed: propsIsCollapsed,
4583
- isCollapsible: propsIsCollapsible
4584
- } = props,
4585
- forwardedProps = _objectWithoutProperties(props, _excluded$c);
4586
- const stringFormatter = useLocalizedStringFormatter(intlMessages);
4587
- const isCollapsible = propsIsCollapsible && hasCollapsibleChildren(children);
4588
- const [isCollapsed, setIsCollapsed] = useState(Boolean(propsIsCollapsed));
4589
- return /*#__PURE__*/React__default.createElement(StyledDetailedCardSection, _extends$1({}, forwardedProps, {
4590
- className: classNames(DetailedCardSection.className, className),
4591
- ref: ref,
4592
- $isCollapsed: isCollapsed
4593
- }), /*#__PURE__*/React__default.createElement(Flexbox, {
4813
+ const StyledText = styled.span`
4814
+ ${baseStyling}
4815
+
4816
+ ${_ref => {
4817
+ let {
4818
+ $color
4819
+ } = _ref;
4820
+ return $color && [...Object.keys(ColorPalette), ...Object.keys(ProductColorPalette)].indexOf($color) !== -1 ? css`
4821
+ color: var(--redsift-color-${$color}-primary);
4822
+ ` : Object.keys(NeutralColorPalette).indexOf($color) !== -1 ? css`
4823
+ color: var(--redsift-color-neutral-${$color});
4824
+ ` : css`
4825
+ color: ${$color || css`inherit`};
4826
+ `;
4827
+ }}
4828
+
4829
+ ${_ref2 => {
4830
+ let {
4831
+ $as
4832
+ } = _ref2;
4833
+ return css`
4834
+ ${$as === TextComponent.i || $as === TextComponent.cite || $as === TextComponent.em ? css`
4835
+ font-style: italic;
4836
+ ` : $as === TextComponent.sub ? css`
4837
+ vertical-align: sub;
4838
+ ` : $as === TextComponent.sup ? css`
4839
+ vertical-align: super;
4840
+ ` : ''}
4841
+ `;
4842
+ }}
4843
+
4844
+ ${_ref3 => {
4845
+ let {
4846
+ $as,
4847
+ $fontFamily,
4848
+ $fontSize,
4849
+ $lineHeight,
4850
+ $variant
4851
+ } = _ref3;
4852
+ return !$variant ? css`
4853
+ ${$fontFamily ? css`
4854
+ font-family: var(
4855
+ --redsift-typography-font-family-${$fontFamily}
4856
+ );
4857
+ ` : ''}
4858
+ ${$fontSize ? css`
4859
+ font-size: ${$fontSize};
4860
+ ` : ''}
4861
+ ${$lineHeight ? css`
4862
+ line-height: ${$lineHeight};
4863
+ ` : ''}
4864
+ ${$as === TextComponent.b ? css`
4865
+ font-weight: var(--redsift-typography-font-weight-bold);
4866
+ ` : $as === TextComponent.sup || $as === TextComponent.sub ? css`
4867
+ font-size: ${$fontSize ? $fontSize : '12px'};
4868
+ ` : ''}
4869
+ ` : $variant === TextVariant.inherit ? css`
4870
+ font-family: ${$fontFamily ? css`var(--redsift-typography-font-family-${$fontFamily})` : css`inherit`};
4871
+ font-size: ${$fontSize ? $fontSize : $as === TextComponent.sup || $as === TextComponent.sub ? '12px' : css`inherit`};
4872
+ font-weight: ${$as === TextComponent.b ? 'var(--redsift-typography-font-weight-bold)' : 'inherit'};
4873
+ line-height: ${$lineHeight ? $lineHeight : css`inherit`};
4874
+ text-transform: inherit;
4875
+ ` : css`
4876
+ font-family: ${$fontFamily ? css`var(--redsift-typography-font-family-${$fontFamily})` : css`var(--redsift-typography-${$variant}-font-family)`};
4877
+ font-size: ${$fontSize ? $fontSize : css`var(--redsift-typography-${$variant}-font-size)`};
4878
+ font-weight: var(--redsift-typography-${$variant}-font-weight);
4879
+ line-height: ${$lineHeight ? $lineHeight : css`var(--redsift-typography-${$variant}-line-height)`};
4880
+ text-transform: var(--redsift-typography-${$variant}-text-transform);
4881
+ `;
4882
+ }}
4883
+
4884
+ ${_ref4 => {
4885
+ let {
4886
+ $noWrap
4887
+ } = _ref4;
4888
+ return $noWrap ? css`
4889
+ overflow: hidden;
4890
+ text-overflow: ellipsis;
4891
+ white-space: nowrap;
4892
+ ` : css`
4893
+ word-break: break-word;
4894
+ `;
4895
+ }}
4896
+ `;
4897
+
4898
+ const _excluded$e = ["as", "children", "className", "color", "fontFamily", "fontSize", "lineHeight", "noWrap", "variant"];
4899
+ const COMPONENT_NAME$h = 'Text';
4900
+ const CLASSNAME$h = 'redsift-text';
4901
+ const DEFAULT_PROPS$h = {
4902
+ fontFamily: FontFamily.raleway
4903
+ };
4904
+
4905
+ /**
4906
+ * The Text component.
4907
+ */
4908
+ const Text = /*#__PURE__*/forwardRef((props, ref) => {
4909
+ const {
4910
+ as,
4911
+ children,
4912
+ className,
4913
+ color,
4914
+ fontFamily,
4915
+ fontSize,
4916
+ lineHeight,
4917
+ noWrap,
4918
+ variant
4919
+ } = props,
4920
+ forwardedProps = _objectWithoutProperties(props, _excluded$e);
4921
+ return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
4922
+ as: as
4923
+ }, forwardedProps, {
4924
+ className: classNames(Text.className, className),
4925
+ ref: ref,
4926
+ $as: as,
4927
+ $color: color,
4928
+ $fontFamily: fontFamily,
4929
+ $fontSize: fontSize,
4930
+ $lineHeight: lineHeight,
4931
+ $noWrap: noWrap,
4932
+ $variant: variant
4933
+ }), children);
4934
+ });
4935
+ Text.className = CLASSNAME$h;
4936
+ Text.defaultProps = DEFAULT_PROPS$h;
4937
+ Text.displayName = COMPONENT_NAME$h;
4938
+
4939
+ const _excluded$d = ["children", "className", "header", "isCollapsed", "isCollapsible", "isLoading"];
4940
+ const COMPONENT_NAME$g = 'DetailedCardSection';
4941
+ const CLASSNAME$g = 'redsift-detailed-card-section';
4942
+ const DEFAULT_PROPS$g = {
4943
+ isCollapsible: true
4944
+ };
4945
+ const hasCollapsibleChildren = children => {
4946
+ let hasCollapsible = false;
4947
+ React__default.Children.map(children, child => {
4948
+ if (isComponent(DetailedCardCollapsibleSectionItems)(child)) {
4949
+ hasCollapsible = true;
4950
+ }
4951
+ });
4952
+ return hasCollapsible;
4953
+ };
4954
+
4955
+ /**
4956
+ * The DetailedCardSection component.
4957
+ */
4958
+ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4959
+ const {
4960
+ children,
4961
+ className,
4962
+ header,
4963
+ isCollapsed: propsIsCollapsed,
4964
+ isCollapsible: propsIsCollapsible,
4965
+ isLoading
4966
+ } = props,
4967
+ forwardedProps = _objectWithoutProperties(props, _excluded$d);
4968
+ const stringFormatter = useLocalizedStringFormatter(intlMessages);
4969
+ const isCollapsible = propsIsCollapsible && hasCollapsibleChildren(children);
4970
+ const [isCollapsed, setIsCollapsed] = useState(Boolean(propsIsCollapsed));
4971
+ return /*#__PURE__*/React__default.createElement(StyledDetailedCardSection, _extends$1({}, forwardedProps, {
4972
+ className: classNames(DetailedCardSection.className, className),
4973
+ ref: ref,
4974
+ $isCollapsed: isCollapsed
4975
+ }), /*#__PURE__*/React__default.createElement(Flexbox, {
4594
4976
  justifyContent: "space-between",
4595
4977
  className: `${DetailedCardSection.className}__header`
4596
- }, header ? /*#__PURE__*/React__default.createElement("div", {
4597
- className: `${DetailedCardSection.className}-header__title`
4598
- }, header) : null, isCollapsible ? /*#__PURE__*/React__default.createElement(IconButton, {
4978
+ }, header ? /*#__PURE__*/React__default.createElement(Skeleton.Text, {
4979
+ variant: "body",
4980
+ isLoaded: !isLoading,
4981
+ fontSize: "18px",
4982
+ lineHeight: "22px",
4983
+ marginTop: "6px",
4984
+ marginBottom: "12px"
4985
+ }, /*#__PURE__*/React__default.createElement(Text, {
4986
+ className: `${DetailedCardSection.className}-header__title`,
4987
+ color: "black",
4988
+ fontFamily: "raleway",
4989
+ fontSize: "18px",
4990
+ lineHeight: "22px"
4991
+ }, header)) : null, isCollapsible && !isLoading ? /*#__PURE__*/React__default.createElement(IconButton, {
4599
4992
  "aria-label": stringFormatter.format(isCollapsed ? 'expand' : 'collapse'),
4600
4993
  className: `${DetailedCardSection.className}-header__collapse-button`,
4601
4994
  color: "question",
@@ -4605,9 +4998,9 @@ const DetailedCardSection = /*#__PURE__*/forwardRef((props, ref) => {
4605
4998
  }
4606
4999
  }) : null), children);
4607
5000
  });
4608
- DetailedCardSection.className = CLASSNAME$f;
4609
- DetailedCardSection.defaultProps = DEFAULT_PROPS$f;
4610
- DetailedCardSection.displayName = COMPONENT_NAME$f;
5001
+ DetailedCardSection.className = CLASSNAME$g;
5002
+ DetailedCardSection.defaultProps = DEFAULT_PROPS$g;
5003
+ DetailedCardSection.displayName = COMPONENT_NAME$g;
4611
5004
 
4612
5005
  /**
4613
5006
  * Component style.
@@ -4620,18 +5013,12 @@ const StyledDetailedCard = styled.div`
4620
5013
  padding: 16px;
4621
5014
 
4622
5015
  .redsift-detailed-card__banner {
4623
- align-items: center;
4624
5016
  background-color: ${_ref => {
4625
5017
  let {
4626
5018
  $color
4627
5019
  } = _ref;
4628
5020
  return css`var(--redsift-color-${$color}-primary)`;
4629
5021
  }};
4630
- display: flex;
4631
- height: 80px;
4632
- justify-content: center;
4633
- margin: -16px -16px 16px -16px;
4634
- width: calc(100% + 32px);
4635
5022
  }
4636
5023
 
4637
5024
  .redsift-detailed-card__collapse-buttons {
@@ -4654,10 +5041,10 @@ const StyledDetailedCardHeader = styled.div`
4654
5041
  }
4655
5042
  `;
4656
5043
 
4657
- const _excluded$b = ["children", "className", "header", "headingProps"];
4658
- const COMPONENT_NAME$e = 'DetailedCardHeader';
4659
- const CLASSNAME$e = 'redsift-detailed-card-header';
4660
- const DEFAULT_PROPS$e = {};
5044
+ const _excluded$c = ["children", "className", "header", "headingProps", "isLoading"];
5045
+ const COMPONENT_NAME$f = 'DetailedCardHeader';
5046
+ const CLASSNAME$f = 'redsift-detailed-card-header';
5047
+ const DEFAULT_PROPS$f = {};
4661
5048
 
4662
5049
  /**
4663
5050
  * The DetailedCardHeader component.
@@ -4667,21 +5054,27 @@ const DetailedCardHeader = /*#__PURE__*/forwardRef((props, ref) => {
4667
5054
  children,
4668
5055
  className,
4669
5056
  header,
4670
- headingProps
5057
+ headingProps,
5058
+ isLoading
4671
5059
  } = props,
4672
- forwardedProps = _objectWithoutProperties(props, _excluded$b);
5060
+ forwardedProps = _objectWithoutProperties(props, _excluded$c);
4673
5061
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardHeader, _extends$1({}, forwardedProps, {
4674
5062
  className: classNames(DetailedCardHeader.className, className),
4675
5063
  ref: ref
4676
- }), header ? /*#__PURE__*/React__default.createElement(Heading, _extends$1({
5064
+ }), header ? /*#__PURE__*/React__default.createElement(Skeleton.Text, {
5065
+ variant: "h2",
5066
+ isLoaded: !isLoading,
5067
+ height: "32px",
5068
+ marginBottom: "16px"
5069
+ }, /*#__PURE__*/React__default.createElement(Heading, _extends$1({
4677
5070
  as: "h2",
4678
5071
  className: `${DetailedCardHeader.className}__header`,
4679
5072
  variant: "h2"
4680
- }, headingProps), header) : null, children);
5073
+ }, headingProps), header)) : null, children);
4681
5074
  });
4682
- DetailedCardHeader.className = CLASSNAME$e;
4683
- DetailedCardHeader.defaultProps = DEFAULT_PROPS$e;
4684
- DetailedCardHeader.displayName = COMPONENT_NAME$e;
5075
+ DetailedCardHeader.className = CLASSNAME$f;
5076
+ DetailedCardHeader.defaultProps = DEFAULT_PROPS$f;
5077
+ DetailedCardHeader.displayName = COMPONENT_NAME$f;
4685
5078
 
4686
5079
  /**
4687
5080
  * Component style.
@@ -4724,10 +5117,10 @@ const StyledPill = styled.div`
4724
5117
  }
4725
5118
  `;
4726
5119
 
4727
- const _excluded$a = ["autoBreak", "children", "className", "color"];
4728
- const COMPONENT_NAME$d = 'Pill';
4729
- const CLASSNAME$d = 'redsift-badge';
4730
- const DEFAULT_PROPS$d = {
5120
+ const _excluded$b = ["autoBreak", "children", "className", "color"];
5121
+ const COMPONENT_NAME$e = 'Pill';
5122
+ const CLASSNAME$e = 'redsift-pill';
5123
+ const DEFAULT_PROPS$e = {
4731
5124
  color: DataVizColorPalette.blue,
4732
5125
  height: 'fit-content'
4733
5126
  };
@@ -4742,7 +5135,7 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
4742
5135
  className,
4743
5136
  color
4744
5137
  } = props,
4745
- forwardedProps = _objectWithoutProperties(props, _excluded$a);
5138
+ forwardedProps = _objectWithoutProperties(props, _excluded$b);
4746
5139
  return /*#__PURE__*/React__default.createElement(StyledPill, _extends$1({}, forwardedProps, {
4747
5140
  $autoBreak: autoBreak,
4748
5141
  $color: color,
@@ -4750,178 +5143,27 @@ const Pill = /*#__PURE__*/forwardRef((props, ref) => {
4750
5143
  ref: ref
4751
5144
  }), children);
4752
5145
  });
4753
- Pill.className = CLASSNAME$d;
4754
- Pill.defaultProps = DEFAULT_PROPS$d;
4755
- Pill.displayName = COMPONENT_NAME$d;
4756
-
4757
- /**
4758
- * Component variant.
4759
- */
4760
- const TextVariant = {
4761
- body: 'body',
4762
- button: 'button',
4763
- caption: 'caption',
4764
- inherit: 'inherit',
4765
- subtitle1: 'subtitle1'
4766
- };
4767
- const TextComponent = {
4768
- p: 'p',
4769
- b: 'b',
4770
- i: 'i',
4771
- u: 'u',
4772
- abbr: 'abbr',
4773
- cite: 'cite',
4774
- del: 'del',
4775
- em: 'em',
4776
- ins: 'ins',
4777
- kbd: 'kbd',
4778
- mark: 'mark',
4779
- s: 's',
4780
- samp: 'samp',
4781
- sub: 'sub',
4782
- sup: 'sup'
4783
- };
5146
+ Pill.className = CLASSNAME$e;
5147
+ Pill.defaultProps = DEFAULT_PROPS$e;
5148
+ Pill.displayName = COMPONENT_NAME$e;
4784
5149
 
4785
5150
  /**
4786
5151
  * Component style.
4787
5152
  */
4788
- const StyledText = styled.span`
4789
- ${baseStyling}
5153
+ const StyledDetailedCardSectionItem = styled.div`
5154
+ padding: 8px 0;
4790
5155
 
4791
- ${_ref => {
4792
- let {
4793
- $color
4794
- } = _ref;
4795
- return $color && [...Object.keys(ColorPalette), ...Object.keys(ProductColorPalette)].indexOf($color) !== -1 ? css`
4796
- color: var(--redsift-color-${$color}-primary);
4797
- ` : Object.keys(NeutralColorPalette).indexOf($color) !== -1 ? css`
4798
- color: var(--redsift-color-neutral-${$color});
4799
- ` : css`
4800
- color: ${$color || css`inherit`};
4801
- `;
4802
- }}
5156
+ .redsift-detailed-card-section-item-header__shield {
5157
+ align-items: center;
5158
+ display: flex;
5159
+ height: 28px;
5160
+ justify-content: center;
5161
+ padding: 0 4px;
5162
+ }
4803
5163
 
4804
- ${_ref2 => {
4805
- let {
4806
- $as
4807
- } = _ref2;
4808
- return css`
4809
- ${$as === TextComponent.i || $as === TextComponent.cite || $as === TextComponent.em ? css`
4810
- font-style: italic;
4811
- ` : $as === TextComponent.sub ? css`
4812
- vertical-align: sub;
4813
- ` : $as === TextComponent.sup ? css`
4814
- vertical-align: super;
4815
- ` : ''}
4816
- `;
4817
- }}
4818
-
4819
- ${_ref3 => {
4820
- let {
4821
- $as,
4822
- $fontFamily,
4823
- $fontSize,
4824
- $variant
4825
- } = _ref3;
4826
- return !$variant ? css`
4827
- ${$fontFamily ? css`
4828
- font-family: var(
4829
- --redsift-typography-font-family-${$fontFamily}
4830
- );
4831
- ` : ''}
4832
- ${$fontSize ? css`
4833
- font-size: ${$fontSize};
4834
- ` : ''}
4835
- ${$as === TextComponent.b ? css`
4836
- font-weight: var(--redsift-typography-font-weight-bold);
4837
- ` : $as === TextComponent.sup || $as === TextComponent.sub ? css`
4838
- font-size: ${$fontSize ? $fontSize : '12px'};
4839
- ` : ''}
4840
- ` : $variant === TextVariant.inherit ? css`
4841
- font-family: ${$fontFamily ? css`var(--redsift-typography-font-family-${$fontFamily})` : css`inherit`};
4842
- font-size: ${$fontSize ? $fontSize : $as === TextComponent.sup || $as === TextComponent.sub ? '12px' : css`inherit`};
4843
- font-weight: ${$as === TextComponent.b ? 'var(--redsift-typography-font-weight-bold)' : 'inherit'};
4844
- line-height: inherit;
4845
- text-transform: inherit;
4846
- ` : css`
4847
- font-family: ${$fontFamily ? css`var(--redsift-typography-font-family-${$fontFamily})` : css`var(--redsift-typography-${$variant}-font-family)`};
4848
- font-size: ${$fontSize ? $fontSize : css`var(--redsift-typography-${$variant}-font-size)`};
4849
- font-weight: var(--redsift-typography-${$variant}-font-weight);
4850
- line-height: var(--redsift-typography-${$variant}-line-height);
4851
- text-transform: var(--redsift-typography-${$variant}-text-transform);
4852
- `;
4853
- }}
4854
-
4855
- ${_ref4 => {
4856
- let {
4857
- $noWrap
4858
- } = _ref4;
4859
- return $noWrap ? css`
4860
- overflow: hidden;
4861
- text-overflow: ellipsis;
4862
- white-space: nowrap;
4863
- ` : css`
4864
- word-break: break-word;
4865
- `;
4866
- }}
4867
- `;
4868
-
4869
- const _excluded$9 = ["as", "children", "className", "color", "fontFamily", "fontSize", "noWrap", "variant"];
4870
- const COMPONENT_NAME$c = 'Text';
4871
- const CLASSNAME$c = 'redsift-text';
4872
- const DEFAULT_PROPS$c = {
4873
- fontFamily: FontFamily.raleway
4874
- };
4875
-
4876
- /**
4877
- * The Text component.
4878
- */
4879
- const Text = /*#__PURE__*/forwardRef((props, ref) => {
4880
- const {
4881
- as,
4882
- children,
4883
- className,
4884
- color,
4885
- fontFamily,
4886
- fontSize,
4887
- noWrap,
4888
- variant
4889
- } = props,
4890
- forwardedProps = _objectWithoutProperties(props, _excluded$9);
4891
- return /*#__PURE__*/React__default.createElement(StyledText, _extends$1({
4892
- as: as
4893
- }, forwardedProps, {
4894
- className: classNames(Text.className, className),
4895
- ref: ref,
4896
- $as: as,
4897
- $color: color,
4898
- $fontFamily: fontFamily,
4899
- $fontSize: fontSize,
4900
- $noWrap: noWrap,
4901
- $variant: variant
4902
- }), children);
4903
- });
4904
- Text.className = CLASSNAME$c;
4905
- Text.defaultProps = DEFAULT_PROPS$c;
4906
- Text.displayName = COMPONENT_NAME$c;
4907
-
4908
- /**
4909
- * Component style.
4910
- */
4911
- const StyledDetailedCardSectionItem = styled.div`
4912
- padding: 8px 0;
4913
-
4914
- .redsift-detailed-card-section-item-header__shield {
4915
- align-items: center;
4916
- display: flex;
4917
- height: 28px;
4918
- justify-content: center;
4919
- padding: 0 4px;
4920
- }
4921
-
4922
- .redsift-detailed-card-section-item-header__icon {
4923
- height: 28px;
4924
- }
5164
+ .redsift-detailed-card-section-item-header__icon {
5165
+ height: 28px;
5166
+ }
4925
5167
 
4926
5168
  .redsift-detailed-card-section-item-header__pill {
4927
5169
  display: inline-block;
@@ -4933,10 +5175,10 @@ const StyledDetailedCardSectionItem = styled.div`
4933
5175
  }
4934
5176
  `;
4935
5177
 
4936
- const _excluded$8 = ["children", "className", "description", "icon", "iconProps", "pill", "pillProps", "shield"];
4937
- const COMPONENT_NAME$b = 'DetailedCardSectionItem';
4938
- const CLASSNAME$b = 'redsift-detailed-card-section-item';
4939
- const DEFAULT_PROPS$b = {};
5178
+ const _excluded$a = ["children", "className", "description", "icon", "iconProps", "isLoading", "pill", "pillProps", "shield"];
5179
+ const COMPONENT_NAME$d = 'DetailedCardSectionItem';
5180
+ const CLASSNAME$d = 'redsift-detailed-card-section-item';
5181
+ const DEFAULT_PROPS$d = {};
4940
5182
 
4941
5183
  /**
4942
5184
  * The DetailedCardSectionItems component.
@@ -4948,35 +5190,42 @@ const DetailedCardSectionItem = /*#__PURE__*/forwardRef((props, ref) => {
4948
5190
  description,
4949
5191
  icon,
4950
5192
  iconProps,
5193
+ isLoading,
4951
5194
  pill,
4952
5195
  pillProps,
4953
5196
  shield
4954
5197
  } = props,
4955
- forwardedProps = _objectWithoutProperties(props, _excluded$8);
5198
+ forwardedProps = _objectWithoutProperties(props, _excluded$a);
4956
5199
  return /*#__PURE__*/React__default.createElement(StyledDetailedCardSectionItem, _extends$1({}, forwardedProps, {
4957
5200
  className: classNames(DetailedCardSectionItem.className, className),
4958
5201
  ref: ref
4959
5202
  }), /*#__PURE__*/React__default.createElement(Flexbox, {
4960
5203
  alignItems: "flex-start",
4961
5204
  className: `${DetailedCardSectionItem.className}__header`
4962
- }, shield ? /*#__PURE__*/React__default.createElement(Shield, {
5205
+ }, shield ? /*#__PURE__*/React__default.createElement(Skeleton, {
5206
+ isLoaded: !isLoading
5207
+ }, /*#__PURE__*/React__default.createElement(Shield, {
4963
5208
  variant: shield,
4964
5209
  className: `${DetailedCardSectionItem.className}-header__shield`
4965
- }) : icon ? /*#__PURE__*/React__default.createElement("div", {
5210
+ })) : icon ? /*#__PURE__*/React__default.createElement(Skeleton, {
5211
+ isLoaded: !isLoading
5212
+ }, /*#__PURE__*/React__default.createElement("div", {
4966
5213
  className: `${DetailedCardSectionItem.className}-header__icon`
4967
5214
  }, /*#__PURE__*/React__default.createElement(Icon, _extends$1({
4968
5215
  icon: icon
4969
5216
  }, iconProps, {
4970
5217
  size: "large"
4971
- }))) : null, description || pill ? /*#__PURE__*/React__default.createElement("div", {
5218
+ })))) : null, description || pill ? /*#__PURE__*/React__default.createElement("div", {
4972
5219
  className: `${DetailedCardSectionItem.className}-header__description`
5220
+ }, /*#__PURE__*/React__default.createElement(Skeleton, {
5221
+ isLoaded: !isLoading
4973
5222
  }, pill && /*#__PURE__*/React__default.createElement(Pill, _extends$1({
4974
5223
  className: `${DetailedCardSectionItem.className}-header__pill`
4975
- }, pillProps), pill), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(Text, null, description) : description) : null), children);
5224
+ }, pillProps), pill), typeof description === 'string' ? /*#__PURE__*/React__default.createElement(Text, null, description) : description)) : null), children);
4976
5225
  });
4977
- DetailedCardSectionItem.className = CLASSNAME$b;
4978
- DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$b;
4979
- DetailedCardSectionItem.displayName = COMPONENT_NAME$b;
5226
+ DetailedCardSectionItem.className = CLASSNAME$d;
5227
+ DetailedCardSectionItem.defaultProps = DEFAULT_PROPS$d;
5228
+ DetailedCardSectionItem.displayName = COMPONENT_NAME$d;
4980
5229
 
4981
5230
  /*!
4982
5231
  * tabbable 6.1.1
@@ -8501,9 +8750,9 @@ const StyledTooltipContent = styled.div`
8501
8750
  }}
8502
8751
  `;
8503
8752
 
8504
- const COMPONENT_NAME$a = 'TooltipContent';
8505
- const CLASSNAME$a = 'redsift-tooltip-content';
8506
- const DEFAULT_PROPS$a = {};
8753
+ const COMPONENT_NAME$c = 'TooltipContent';
8754
+ const CLASSNAME$c = 'redsift-tooltip-content';
8755
+ const DEFAULT_PROPS$c = {};
8507
8756
 
8508
8757
  /**
8509
8758
  * The TooltipContent component.
@@ -8565,13 +8814,13 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
8565
8814
  className: `${TooltipContent.className}__inner`
8566
8815
  }, children)));
8567
8816
  });
8568
- TooltipContent.className = CLASSNAME$a;
8569
- TooltipContent.defaultProps = DEFAULT_PROPS$a;
8570
- TooltipContent.displayName = COMPONENT_NAME$a;
8817
+ TooltipContent.className = CLASSNAME$c;
8818
+ TooltipContent.defaultProps = DEFAULT_PROPS$c;
8819
+ TooltipContent.displayName = COMPONENT_NAME$c;
8571
8820
 
8572
- const COMPONENT_NAME$9 = 'TooltipTrigger';
8573
- const CLASSNAME$9 = 'redsift-tooltip-trigger';
8574
- const DEFAULT_PROPS$9 = {};
8821
+ const COMPONENT_NAME$b = 'TooltipTrigger';
8822
+ const CLASSNAME$b = 'redsift-tooltip-trigger';
8823
+ const DEFAULT_PROPS$b = {};
8575
8824
 
8576
8825
  /**
8577
8826
  * The TooltipTrigger component.
@@ -8598,9 +8847,9 @@ const TooltipTrigger = /*#__PURE__*/forwardRef((props, ref) => {
8598
8847
  ref: triggerRef
8599
8848
  }, getReferenceProps(props)), children);
8600
8849
  });
8601
- TooltipTrigger.className = CLASSNAME$9;
8602
- TooltipTrigger.defaultProps = DEFAULT_PROPS$9;
8603
- TooltipTrigger.displayName = COMPONENT_NAME$9;
8850
+ TooltipTrigger.className = CLASSNAME$b;
8851
+ TooltipTrigger.defaultProps = DEFAULT_PROPS$b;
8852
+ TooltipTrigger.displayName = COMPONENT_NAME$b;
8604
8853
 
8605
8854
  function useTooltip(_ref) {
8606
8855
  let {
@@ -8661,9 +8910,9 @@ function useTooltip(_ref) {
8661
8910
  }), [isOpen, handleOpen, interactions, data, arrowRef, tooltipId]);
8662
8911
  }
8663
8912
 
8664
- const COMPONENT_NAME$8 = 'Tooltip';
8665
- const CLASSNAME$8 = 'redsift-tooltip';
8666
- const DEFAULT_PROPS$8 = {
8913
+ const COMPONENT_NAME$a = 'Tooltip';
8914
+ const CLASSNAME$a = 'redsift-tooltip';
8915
+ const DEFAULT_PROPS$a = {
8667
8916
  delay: 500,
8668
8917
  placement: TooltipPlacement.top
8669
8918
  };
@@ -8694,9 +8943,9 @@ const BaseTooltip = props => {
8694
8943
  value: tooltip
8695
8944
  }, trigger, content);
8696
8945
  };
8697
- BaseTooltip.className = CLASSNAME$8;
8698
- BaseTooltip.defaultProps = DEFAULT_PROPS$8;
8699
- BaseTooltip.displayName = COMPONENT_NAME$8;
8946
+ BaseTooltip.className = CLASSNAME$a;
8947
+ BaseTooltip.defaultProps = DEFAULT_PROPS$a;
8948
+ BaseTooltip.displayName = COMPONENT_NAME$a;
8700
8949
  const Tooltip = Object.assign(BaseTooltip, {
8701
8950
  Trigger: TooltipTrigger,
8702
8951
  Content: TooltipContent
@@ -8710,10 +8959,10 @@ const useTooltipContext = () => {
8710
8959
  return context;
8711
8960
  };
8712
8961
 
8713
- const _excluded$7 = ["areAllCollapsed", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "onCollapseAll", "shield"];
8714
- const COMPONENT_NAME$7 = 'DetailedCard';
8715
- const CLASSNAME$7 = 'redsift-detailed-card';
8716
- const DEFAULT_PROPS$7 = {
8962
+ const _excluded$9 = ["areAllCollapsed", "children", "className", "color", "defaultAllCollapsed", "icon", "isCollapsible", "isLoading", "onCollapseAll", "shield"];
8963
+ const COMPONENT_NAME$9 = 'DetailedCard';
8964
+ const CLASSNAME$9 = 'redsift-detailed-card';
8965
+ const DEFAULT_PROPS$9 = {
8717
8966
  isCollapsible: true,
8718
8967
  width: '400px'
8719
8968
  };
@@ -8748,10 +8997,11 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
8748
8997
  defaultAllCollapsed,
8749
8998
  icon,
8750
8999
  isCollapsible: propsIsCollapsible,
9000
+ isLoading,
8751
9001
  onCollapseAll,
8752
9002
  shield
8753
9003
  } = props,
8754
- forwardedProps = _objectWithoutProperties(props, _excluded$7);
9004
+ forwardedProps = _objectWithoutProperties(props, _excluded$9);
8755
9005
  const stringFormatter = useLocalizedStringFormatter(intlMessages$1);
8756
9006
  const isCollapsible = propsIsCollapsible && hasMultipleCollapsibleChildren(children);
8757
9007
  const [allCollapsed, setAllCollapsed] = useState({
@@ -8777,8 +9027,17 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
8777
9027
  className: classNames(BaseDetailedCard.className, className),
8778
9028
  ref: ref,
8779
9029
  $color: color
8780
- }), color ? /*#__PURE__*/React__default.createElement("div", {
8781
- className: `${BaseDetailedCard.className}__banner`
9030
+ }), color ? isLoading ? /*#__PURE__*/React__default.createElement(Skeleton, {
9031
+ height: "80px",
9032
+ width: "calc(100% + 32px)",
9033
+ margin: "-16px -16px 16px -16px"
9034
+ }) : /*#__PURE__*/React__default.createElement(Flexbox, {
9035
+ className: `${BaseDetailedCard.className}__banner`,
9036
+ alignItems: "center",
9037
+ height: "80px",
9038
+ justifyContent: "center",
9039
+ margin: "-16px -16px 16px -16px",
9040
+ width: "calc(100% + 32px)"
8782
9041
  }, shield ? /*#__PURE__*/React__default.createElement(Shield, {
8783
9042
  variant: shield,
8784
9043
  isOutlined: true,
@@ -8828,9 +9087,9 @@ const BaseDetailedCard = /*#__PURE__*/forwardRef((props, ref) => {
8828
9087
  return child;
8829
9088
  }));
8830
9089
  });
8831
- BaseDetailedCard.className = CLASSNAME$7;
8832
- BaseDetailedCard.defaultProps = DEFAULT_PROPS$7;
8833
- BaseDetailedCard.displayName = COMPONENT_NAME$7;
9090
+ BaseDetailedCard.className = CLASSNAME$9;
9091
+ BaseDetailedCard.defaultProps = DEFAULT_PROPS$9;
9092
+ BaseDetailedCard.displayName = COMPONENT_NAME$9;
8834
9093
  const DetailedCard = Object.assign(BaseDetailedCard, {
8835
9094
  Header: DetailedCardHeader,
8836
9095
  Section: DetailedCardSection,
@@ -8864,10 +9123,10 @@ const StyledGridItem = styled.div`
8864
9123
  ${baseInternalSpacing}
8865
9124
  `;
8866
9125
 
8867
- const _excluded$6 = ["children", "className"];
8868
- const COMPONENT_NAME$6 = 'GridItem';
8869
- const CLASSNAME$6 = 'redsift-grid-item';
8870
- const DEFAULT_PROPS$6 = {};
9126
+ const _excluded$8 = ["children", "className"];
9127
+ const COMPONENT_NAME$8 = 'GridItem';
9128
+ const CLASSNAME$8 = 'redsift-grid-item';
9129
+ const DEFAULT_PROPS$8 = {};
8871
9130
 
8872
9131
  /**
8873
9132
  * The GridItem component.
@@ -8877,20 +9136,20 @@ const GridItem = /*#__PURE__*/forwardRef((props, ref) => {
8877
9136
  children,
8878
9137
  className
8879
9138
  } = props,
8880
- forwardedProps = _objectWithoutProperties(props, _excluded$6);
9139
+ forwardedProps = _objectWithoutProperties(props, _excluded$8);
8881
9140
  return /*#__PURE__*/React__default.createElement(StyledGridItem, _extends$1({}, forwardedProps, {
8882
9141
  className: classNames(GridItem.className, className),
8883
9142
  ref: ref
8884
9143
  }), children);
8885
9144
  });
8886
- GridItem.className = CLASSNAME$6;
8887
- GridItem.defaultProps = DEFAULT_PROPS$6;
8888
- GridItem.displayName = COMPONENT_NAME$6;
9145
+ GridItem.className = CLASSNAME$8;
9146
+ GridItem.defaultProps = DEFAULT_PROPS$8;
9147
+ GridItem.displayName = COMPONENT_NAME$8;
8889
9148
 
8890
- const _excluded$5 = ["children", "className"];
8891
- const COMPONENT_NAME$5 = 'Grid';
8892
- const CLASSNAME$5 = 'redsift-grid';
8893
- const DEFAULT_PROPS$5 = {};
9149
+ const _excluded$7 = ["children", "className"];
9150
+ const COMPONENT_NAME$7 = 'Grid';
9151
+ const CLASSNAME$7 = 'redsift-grid';
9152
+ const DEFAULT_PROPS$7 = {};
8894
9153
 
8895
9154
  /**
8896
9155
  * The Grid component.
@@ -8900,15 +9159,15 @@ const BaseGrid = /*#__PURE__*/forwardRef((props, ref) => {
8900
9159
  children,
8901
9160
  className
8902
9161
  } = props,
8903
- forwardedProps = _objectWithoutProperties(props, _excluded$5);
9162
+ forwardedProps = _objectWithoutProperties(props, _excluded$7);
8904
9163
  return /*#__PURE__*/React__default.createElement(StyledGrid, _extends$1({}, forwardedProps, {
8905
9164
  className: classNames(BaseGrid.className, className),
8906
9165
  ref: ref
8907
9166
  }), children);
8908
9167
  });
8909
- BaseGrid.className = CLASSNAME$5;
8910
- BaseGrid.defaultProps = DEFAULT_PROPS$5;
8911
- BaseGrid.displayName = COMPONENT_NAME$5;
9168
+ BaseGrid.className = CLASSNAME$7;
9169
+ BaseGrid.defaultProps = DEFAULT_PROPS$7;
9170
+ BaseGrid.displayName = COMPONENT_NAME$7;
8912
9171
  const Grid = Object.assign(BaseGrid, {
8913
9172
  Item: GridItem
8914
9173
  });
@@ -8953,10 +9212,10 @@ const StyledLink = styled.a`
8953
9212
  }
8954
9213
  `;
8955
9214
 
8956
- const _excluded$4 = ["children", "className", "href", "isDisabled"];
8957
- const COMPONENT_NAME$4 = 'Link';
8958
- const CLASSNAME$4 = 'redsift-link';
8959
- const DEFAULT_PROPS$4 = {};
9215
+ const _excluded$6 = ["children", "className", "href", "isDisabled"];
9216
+ const COMPONENT_NAME$6 = 'Link';
9217
+ const CLASSNAME$6 = 'redsift-link';
9218
+ const DEFAULT_PROPS$6 = {};
8960
9219
 
8961
9220
  /**
8962
9221
  * The Link is a semantic link that looks like a link.
@@ -8973,7 +9232,7 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8973
9232
  href,
8974
9233
  isDisabled
8975
9234
  } = props,
8976
- forwardedProps = _objectWithoutProperties(props, _excluded$4);
9235
+ forwardedProps = _objectWithoutProperties(props, _excluded$6);
8977
9236
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
8978
9237
  "aria-disabled": isDisabled,
8979
9238
  role: "link",
@@ -8985,14 +9244,14 @@ const Link = /*#__PURE__*/forwardRef((props, ref) => {
8985
9244
  ref: ref
8986
9245
  }), children);
8987
9246
  });
8988
- Link.className = CLASSNAME$4;
8989
- Link.defaultProps = DEFAULT_PROPS$4;
8990
- Link.displayName = COMPONENT_NAME$4;
9247
+ Link.className = CLASSNAME$6;
9248
+ Link.defaultProps = DEFAULT_PROPS$6;
9249
+ Link.displayName = COMPONENT_NAME$6;
8991
9250
 
8992
- const _excluded$3 = ["children", "className", "disabled", "isDisabled", "onPress"];
8993
- const COMPONENT_NAME$3 = 'LinkButton';
8994
- const CLASSNAME$3 = 'redsift-link-button';
8995
- const DEFAULT_PROPS$3 = {};
9251
+ const _excluded$5 = ["children", "className", "disabled", "isDisabled", "onPress"];
9252
+ const COMPONENT_NAME$5 = 'LinkButton';
9253
+ const CLASSNAME$5 = 'redsift-link-button';
9254
+ const DEFAULT_PROPS$5 = {};
8996
9255
 
8997
9256
  /**
8998
9257
  * The LinkButton is a semantic button that looks like a link.
@@ -9017,7 +9276,7 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9017
9276
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9018
9277
  onPress
9019
9278
  } = props,
9020
- forwardedProps = _objectWithoutProperties(props, _excluded$3);
9279
+ forwardedProps = _objectWithoutProperties(props, _excluded$5);
9021
9280
  return /*#__PURE__*/React__default.createElement(StyledLink, _extends$1({
9022
9281
  as: "button"
9023
9282
  }, forwardedProps, buttonProps, {
@@ -9030,9 +9289,9 @@ const LinkButton = /*#__PURE__*/forwardRef((props, ref) => {
9030
9289
  ref: buttonRef
9031
9290
  }), children);
9032
9291
  });
9033
- LinkButton.className = CLASSNAME$3;
9034
- LinkButton.defaultProps = DEFAULT_PROPS$3;
9035
- LinkButton.displayName = COMPONENT_NAME$3;
9292
+ LinkButton.className = CLASSNAME$5;
9293
+ LinkButton.defaultProps = DEFAULT_PROPS$5;
9294
+ LinkButton.displayName = COMPONENT_NAME$5;
9036
9295
 
9037
9296
  /**
9038
9297
  * Component style.
@@ -9041,10 +9300,10 @@ const StyledNumber = styled(StyledText)`
9041
9300
  font-family: var(--redsift-typography-font-family-source-code-pro);
9042
9301
  `;
9043
9302
 
9044
- const _excluded$2 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "value", "variant"];
9045
- const COMPONENT_NAME$2 = 'Number';
9046
- const CLASSNAME$2 = 'redsift-number';
9047
- const DEFAULT_PROPS$2 = {
9303
+ const _excluded$4 = ["as", "className", "color", "compactDisplay", "currency", "currencyDisplay", "currencySign", "fontSize", "lineHeight", "localeMatcher", "maximumFractionDigits", "maximumSignificantDigits", "minimumFractionDigits", "minimumIntegerDigits", "minimumSignificantDigits", "notation", "noWrap", "numberingSystem", "roundingIncrement", "roundingMode", "roundingPriority", "signDisplay", "trailingZeroDisplay", "type", "unit", "unitDisplay", "useGrouping", "value", "variant"];
9304
+ const COMPONENT_NAME$4 = 'Number';
9305
+ const CLASSNAME$4 = 'redsift-number';
9306
+ const DEFAULT_PROPS$4 = {
9048
9307
  compactDisplay: 'short',
9049
9308
  currencyDisplay: 'symbol',
9050
9309
  currencySign: 'standard',
@@ -9075,6 +9334,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9075
9334
  currencyDisplay,
9076
9335
  currencySign,
9077
9336
  fontSize,
9337
+ lineHeight,
9078
9338
  localeMatcher,
9079
9339
  maximumFractionDigits,
9080
9340
  maximumSignificantDigits,
@@ -9096,7 +9356,7 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9096
9356
  value,
9097
9357
  variant
9098
9358
  } = props,
9099
- forwardedProps = _objectWithoutProperties(props, _excluded$2);
9359
+ forwardedProps = _objectWithoutProperties(props, _excluded$4);
9100
9360
  const formatter = useNumberFormatter({
9101
9361
  compactDisplay,
9102
9362
  currency,
@@ -9131,14 +9391,15 @@ const Number$1 = /*#__PURE__*/forwardRef((props, ref) => {
9131
9391
  className: classNames(Number$1.className, className),
9132
9392
  ref: ref,
9133
9393
  $color: color,
9394
+ $lineHeight: lineHeight,
9134
9395
  $fontSize: fontSize,
9135
9396
  $noWrap: noWrap,
9136
9397
  $variant: variant
9137
9398
  }), formatter.format(value));
9138
9399
  });
9139
- Number$1.className = CLASSNAME$2;
9140
- Number$1.defaultProps = DEFAULT_PROPS$2;
9141
- Number$1.displayName = COMPONENT_NAME$2;
9400
+ Number$1.className = CLASSNAME$4;
9401
+ Number$1.defaultProps = DEFAULT_PROPS$4;
9402
+ Number$1.displayName = COMPONENT_NAME$4;
9142
9403
 
9143
9404
  /**
9144
9405
  * Context props.
@@ -9232,10 +9493,10 @@ const StyledRadioGroup = styled.div`
9232
9493
  }
9233
9494
  `;
9234
9495
 
9235
- const _excluded$1 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
9236
- const COMPONENT_NAME$1 = 'RadioGroup';
9237
- const CLASSNAME$1 = 'redsift-radio-group';
9238
- const DEFAULT_PROPS$1 = {
9496
+ const _excluded$3 = ["children", "className", "defaultValue", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
9497
+ const COMPONENT_NAME$3 = 'RadioGroup';
9498
+ const CLASSNAME$3 = 'redsift-radio-group';
9499
+ const DEFAULT_PROPS$3 = {
9239
9500
  color: ColorPalette.default,
9240
9501
  orientation: RadioGroupOrientation.vertical
9241
9502
  };
@@ -9260,7 +9521,7 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9260
9521
  possibleValues,
9261
9522
  value
9262
9523
  } = props,
9263
- forwardedProps = _objectWithoutProperties(props, _excluded$1);
9524
+ forwardedProps = _objectWithoutProperties(props, _excluded$3);
9264
9525
  const [selectedValue, setValue] = useState(value || defaultValue || '');
9265
9526
  useEffect(() => {
9266
9527
  if (value) {
@@ -9302,14 +9563,15 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
9302
9563
  className: `${RadioGroup.className}-description`
9303
9564
  }, description));
9304
9565
  });
9305
- RadioGroup.className = CLASSNAME$1;
9306
- RadioGroup.defaultProps = DEFAULT_PROPS$1;
9307
- RadioGroup.displayName = COMPONENT_NAME$1;
9566
+ RadioGroup.className = CLASSNAME$3;
9567
+ RadioGroup.defaultProps = DEFAULT_PROPS$3;
9568
+ RadioGroup.displayName = COMPONENT_NAME$3;
9308
9569
 
9309
9570
  /**
9310
9571
  * Component style.
9311
9572
  */
9312
9573
  const StyledRadio = styled.label`
9574
+ height: fit-content;
9313
9575
  position: relative;
9314
9576
  width: fit-content;
9315
9577
  ${baseStyling}
@@ -9381,7 +9643,7 @@ const StyledRadio = styled.label`
9381
9643
  );
9382
9644
  `}
9383
9645
 
9384
- ${$isFocusVisible ? css`
9646
+ ${$isFocusVisible && !$isDisabled ? css`
9385
9647
  background-color: var(
9386
9648
  --redsift-color-${$isColored ? 'default' : 'question'}-hover
9387
9649
  );
@@ -9410,27 +9672,12 @@ const StyledRadio = styled.label`
9410
9672
  ` : '';
9411
9673
  }}
9412
9674
  }
9413
-
9414
- ${_ref4 => {
9415
- let {
9416
- $isColored,
9417
- $isFocusVisible
9418
- } = _ref4;
9419
- return $isFocusVisible ? css`
9420
- .redsift-icon {
9421
- background-color: var(
9422
- --redsift-color-${$isColored ? 'default' : 'question'}-hover
9423
- );
9424
- border-radius: 21px;
9425
- }
9426
- ` : '';
9427
- }}
9428
9675
  `;
9429
9676
 
9430
- const _excluded = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9431
- const COMPONENT_NAME = 'Radio';
9432
- const CLASSNAME = 'redsift-radio';
9433
- const DEFAULT_PROPS = {
9677
+ const _excluded$2 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9678
+ const COMPONENT_NAME$2 = 'Radio';
9679
+ const CLASSNAME$2 = 'redsift-radio';
9680
+ const DEFAULT_PROPS$2 = {
9434
9681
  isColored: true
9435
9682
  };
9436
9683
 
@@ -9461,7 +9708,7 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9461
9708
  onChange,
9462
9709
  value
9463
9710
  } = props,
9464
- forwardedProps = _objectWithoutProperties(props, _excluded);
9711
+ forwardedProps = _objectWithoutProperties(props, _excluded$2);
9465
9712
  const {
9466
9713
  isFocusVisible,
9467
9714
  focusProps
@@ -9535,9 +9782,469 @@ const Radio = /*#__PURE__*/forwardRef((props, ref) => {
9535
9782
  className: "label"
9536
9783
  }, children) : null);
9537
9784
  });
9538
- Radio.className = CLASSNAME;
9539
- Radio.defaultProps = DEFAULT_PROPS;
9540
- Radio.displayName = COMPONENT_NAME;
9785
+ Radio.className = CLASSNAME$2;
9786
+ Radio.defaultProps = DEFAULT_PROPS$2;
9787
+ Radio.displayName = COMPONENT_NAME$2;
9788
+
9789
+ const SwitchGroupContext = /*#__PURE__*/React__default.createContext(null);
9790
+
9791
+ /**
9792
+ * Component style.
9793
+ */
9794
+ const StyledSwitch = styled.label`
9795
+ height: fit-content;
9796
+ position: relative;
9797
+ width: fit-content;
9798
+ ${baseStyling}
9799
+
9800
+ align-items: baseline;
9801
+ background: none;
9802
+ border: none;
9803
+ display: inline-flex;
9804
+ margin: 4px;
9805
+
9806
+ input {
9807
+ height: 100%;
9808
+ margin: 0;
9809
+ opacity: 0;
9810
+ overflow: visible;
9811
+ padding: 0;
9812
+ position: absolute;
9813
+ width: 100%;
9814
+ }
9815
+
9816
+ span.label {
9817
+ ${_ref => {
9818
+ let {
9819
+ $isDisabled,
9820
+ $isInvalid
9821
+ } = _ref;
9822
+ return $isDisabled ? css`
9823
+ color: var(--redsift-color-neutral-midgrey);
9824
+ ` : $isInvalid ? css`
9825
+ color: var(--redsift-color-error-primary);
9826
+ ` : css`
9827
+ color: var(--redsift-color-neutral-black);
9828
+ `;
9829
+ }}
9830
+
9831
+ font-family: var(--redsift-typography-body-font-family);
9832
+ font-size: var(--redsift-typography-body-font-size);
9833
+ font-weight: var(--redsift-typography-body-font-weight);
9834
+ line-height: var(--redsift-typography-body-line-height);
9835
+ padding-inline-start: 4px;
9836
+ padding-inline-end: 16px;
9837
+ position: relative;
9838
+ top: -5px;
9839
+ }
9840
+
9841
+ .redsift-switch__slide {
9842
+ height: 20px;
9843
+ position: relative;
9844
+ min-width: 40px;
9845
+ }
9846
+
9847
+ .redsift-switch-slide__inner {
9848
+ background-color: var(--redsift-color-neutral-midgrey);
9849
+ border-radius: 10px;
9850
+ height: 16px;
9851
+ position: absolute;
9852
+ top: calc(50% - 16px / 2);
9853
+ width: 32px;
9854
+ z-index: 2;
9855
+ }
9856
+
9857
+ .redsift-switch-slide__knob-wrapper {
9858
+ border-radius: 50%;
9859
+ height: 32px;
9860
+ margin-inline-start: ${_ref2 => {
9861
+ let {
9862
+ $isSelected
9863
+ } = _ref2;
9864
+ return !$isSelected ? '-10px' : '10px';
9865
+ }};
9866
+ position: absolute;
9867
+ top: -6px;
9868
+ width: 32px;
9869
+ z-index: 3;
9870
+ }
9871
+
9872
+ .redsift-switch-slide-knob-wrapper__elevation {
9873
+ background-color: var(--redsift-color-neutral-xlightgrey);
9874
+ border-radius: 50%;
9875
+ height: 32px;
9876
+ opacity: 0;
9877
+ position: absolute;
9878
+ width: 32px;
9879
+ z-index: 3;
9880
+ }
9881
+
9882
+ .redsift-switch-slide-knob-wrapper__knob {
9883
+ background-color: var(--redsift-color-neutral-xlightgrey);
9884
+ border-radius: 50%;
9885
+ box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
9886
+ 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 1px 3px rgba(0, 0, 0, 0.12);
9887
+ height: 20px;
9888
+ left: 6px;
9889
+ position: absolute;
9890
+ top: 6px;
9891
+ width: 20px;
9892
+ }
9893
+
9894
+ .redsift-switch-slide__inner {
9895
+ ${_ref3 => {
9896
+ let {
9897
+ $isColored,
9898
+ $isDisabled,
9899
+ $isInvalid,
9900
+ $isSelected
9901
+ } = _ref3;
9902
+ return css`
9903
+ ${$isSelected && $isDisabled ? css`
9904
+ background-color: var(
9905
+ --redsift-color-${$isInvalid ? 'error' : $isColored ? 'default' : 'no-data'}-active
9906
+ );
9907
+ ` : $isSelected ? css`
9908
+ background-color: var(
9909
+ --redsift-color-${$isInvalid ? 'error' : $isColored ? 'default' : 'no-data'}-primary
9910
+ );
9911
+ ` : !$isSelected && $isDisabled ? css`
9912
+ background-color: var(--redsift-color-neutral-lightgrey);
9913
+ ` : css`
9914
+ background-color: var(--redsift-color-neutral-midgrey);
9915
+ `}
9916
+ `;
9917
+ }}
9918
+ }
9919
+
9920
+ &:hover,
9921
+ &:focus-visible {
9922
+ outline: none;
9923
+ cursor: pointer;
9924
+
9925
+ ${_ref4 => {
9926
+ let {
9927
+ $isDisabled
9928
+ } = _ref4;
9929
+ return !$isDisabled ? css`
9930
+ .redsift-switch-slide-knob-wrapper__elevation {
9931
+ opacity: 0.5;
9932
+ }
9933
+ ` : '';
9934
+ }}
9935
+ }
9936
+
9937
+ ${_ref5 => {
9938
+ let {
9939
+ $isDisabled,
9940
+ $isFocusVisible
9941
+ } = _ref5;
9942
+ return $isFocusVisible && !$isDisabled ? css`
9943
+ .redsift-switch-slide-knob-wrapper__elevation {
9944
+ opacity: 0.5;
9945
+ }
9946
+ ` : '';
9947
+ }}
9948
+ `;
9949
+
9950
+ const _excluded$1 = ["aria-label", "aria-labelledby", "autoFocus", "children", "className", "defaultSelected", "inputProps", "inputRef", "isColored", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "isSelected", "name", "onChange", "value"];
9951
+ const COMPONENT_NAME$1 = 'Switch';
9952
+ const CLASSNAME$1 = 'redsift-switch';
9953
+ const DEFAULT_PROPS$1 = {
9954
+ isColored: true
9955
+ };
9956
+
9957
+ /**
9958
+ * The Switch component.
9959
+ * Works both inside a SwitchGroup or as standalone.
9960
+ * Can be used as controlled or uncontrolled.
9961
+ */
9962
+ const Switch = /*#__PURE__*/forwardRef((props, ref) => {
9963
+ var _isDisabled, _isReadOnly, _ref;
9964
+ const groupState = useContext(SwitchGroupContext);
9965
+ let {
9966
+ 'aria-label': ariaLabel,
9967
+ 'aria-labelledby': ariaLabelledby,
9968
+ autoFocus,
9969
+ children,
9970
+ className,
9971
+ defaultSelected,
9972
+ inputProps,
9973
+ inputRef,
9974
+ isColored,
9975
+ isDisabled,
9976
+ isInvalid,
9977
+ isReadOnly,
9978
+ isRequired,
9979
+ isSelected: propsIsSelected,
9980
+ name,
9981
+ onChange,
9982
+ value
9983
+ } = props,
9984
+ forwardedProps = _objectWithoutProperties(props, _excluded$1);
9985
+ const {
9986
+ isFocusVisible,
9987
+ focusProps
9988
+ } = useFocusRing({
9989
+ autoFocus
9990
+ });
9991
+ isDisabled = (_isDisabled = isDisabled) !== null && _isDisabled !== void 0 ? _isDisabled : groupState === null || groupState === void 0 ? void 0 : groupState.isDisabled;
9992
+ isReadOnly = (_isReadOnly = isReadOnly) !== null && _isReadOnly !== void 0 ? _isReadOnly : groupState === null || groupState === void 0 ? void 0 : groupState.isReadOnly;
9993
+ const [isSelected, setSelected] = useState((_ref = propsIsSelected !== null && propsIsSelected !== void 0 ? propsIsSelected : defaultSelected) !== null && _ref !== void 0 ? _ref : groupState === null || groupState === void 0 ? void 0 : groupState.value.includes(value));
9994
+ useEffect(() => {
9995
+ setSelected(propsIsSelected !== null && propsIsSelected !== void 0 ? propsIsSelected : defaultSelected);
9996
+ }, [propsIsSelected, defaultSelected]);
9997
+ useEffect(() => {
9998
+ if (groupState) {
9999
+ setSelected(groupState.value.includes(value));
10000
+ }
10001
+ }, [groupState === null || groupState === void 0 ? void 0 : groupState.value]);
10002
+ warnIfNoAccessibleLabelFound(props, [children]);
10003
+ if (groupState) {
10004
+ if (propsIsSelected != null) {
10005
+ console.warn('isSelected is unsupported on individual <Switch> elements within a <SwitchGroup> unless the <Switch> is controlled. Please apply this prop to the group instead or pass isControlled to the component.');
10006
+ }
10007
+ if (defaultSelected != null) {
10008
+ console.warn('defaultSelected is unsupported on individual <Switch> elements within a <SwitchGroup> unless the <Switch> is controlled. Please apply this prop to the group instead or pass isControlled to the component.');
10009
+ }
10010
+ if (props.value == null) {
10011
+ console.warn('A <Switch> element within a <SwitchGroup> requires a `value` property unless the <Switch> is controlled.');
10012
+ }
10013
+ }
10014
+ const handleChange = useCallback(event => {
10015
+ if (isDisabled || isReadOnly) {
10016
+ return;
10017
+ }
10018
+ if (groupState) {
10019
+ if (!groupState.value.includes(value)) {
10020
+ groupState.addValue(value);
10021
+ } else {
10022
+ groupState.removeValue(value);
10023
+ }
10024
+ }
10025
+ if (onChange) {
10026
+ onChange(!isSelected, value, name, event, groupState);
10027
+ }
10028
+ setSelected(event.target.checked);
10029
+ }, [onChange, groupState]);
10030
+ return /*#__PURE__*/React__default.createElement(StyledSwitch, _extends$1({}, forwardedProps, {
10031
+ $isColored: isColored,
10032
+ $isDisabled: isDisabled,
10033
+ $isFocusVisible: isFocusVisible,
10034
+ $isInvalid: isInvalid || isRequired && !isSelected,
10035
+ $isRequired: isRequired,
10036
+ $isSelected: isSelected,
10037
+ className: classNames(Switch.className, className),
10038
+ ref: ref
10039
+ }), /*#__PURE__*/React__default.createElement("input", _extends$1({}, inputProps, focusProps, {
10040
+ "aria-checked": isSelected ? 'true' : 'false',
10041
+ "aria-disabled": isDisabled,
10042
+ "aria-invalid": isInvalid || isRequired && !isSelected,
10043
+ "aria-label": ariaLabel,
10044
+ "aria-labelledby": ariaLabelledby,
10045
+ "aria-readonly": isReadOnly,
10046
+ "aria-required": isRequired,
10047
+ checked: isSelected ? true : false,
10048
+ disabled: isDisabled,
10049
+ name: name,
10050
+ onChange: handleChange,
10051
+ ref: inputRef,
10052
+ role: "switch",
10053
+ type: "checkbox",
10054
+ value: value
10055
+ })), /*#__PURE__*/React__default.createElement("div", {
10056
+ className: `${Switch.className}__slide`
10057
+ }, /*#__PURE__*/React__default.createElement("div", {
10058
+ className: `${Switch.className}-slide__inner`
10059
+ }), /*#__PURE__*/React__default.createElement("div", {
10060
+ className: `${Switch.className}-slide__knob-wrapper`
10061
+ }, /*#__PURE__*/React__default.createElement("div", {
10062
+ className: `${Switch.className}-slide-knob-wrapper__elevation`
10063
+ }), /*#__PURE__*/React__default.createElement("div", {
10064
+ className: `${Switch.className}-slide-knob-wrapper__knob`
10065
+ }))), children ? /*#__PURE__*/React__default.createElement("span", {
10066
+ className: "label"
10067
+ }, children) : null);
10068
+ });
10069
+ Switch.className = CLASSNAME$1;
10070
+ Switch.defaultProps = DEFAULT_PROPS$1;
10071
+ Switch.displayName = COMPONENT_NAME$1;
10072
+
10073
+ /**
10074
+ * Context props.
10075
+ */
10076
+
10077
+ /**
10078
+ * Component orientation.
10079
+ */
10080
+ const SwitchGroupOrientation = {
10081
+ horizontal: 'horizontal',
10082
+ vertical: 'vertical'
10083
+ };
10084
+
10085
+ /**
10086
+ * Component style.
10087
+ */
10088
+ const StyledSwitchGroup = styled.div`
10089
+ ${baseStyling}
10090
+
10091
+ display: flex;
10092
+ flex-direction: column;
10093
+
10094
+ ${_ref => {
10095
+ let {
10096
+ $orientation
10097
+ } = _ref;
10098
+ return $orientation === SwitchGroupOrientation.vertical ? `
10099
+ div.redsift-checkbox-group-boxes {
10100
+ display: flex;
10101
+ flex-direction: column;
10102
+ }
10103
+ ` : `
10104
+ div.redsift-checkbox-group-boxes {
10105
+ display: flex;
10106
+ flex-direction: row;
10107
+ flex-wrap: wrap;
10108
+ }
10109
+ `;
10110
+ }}
10111
+
10112
+ span.redsift-checkbox-group-label {
10113
+ font-family: var(--redsift-typography-body-font-family);
10114
+ font-weight: var(--redsift-typography-body-font-weight);
10115
+ font-size: var(--redsift-typography-body-font-size);
10116
+ line-height: var(--redsift-typography-body-line-height);
10117
+
10118
+ color: var(--redsift-color-neutral-black);
10119
+ ${_ref2 => {
10120
+ let {
10121
+ $isDisabled
10122
+ } = _ref2;
10123
+ return $isDisabled ? `
10124
+ color: var(--redsift-color-neutral-midgrey);
10125
+ ` : '';
10126
+ }}
10127
+ ${_ref3 => {
10128
+ let {
10129
+ $isInvalid
10130
+ } = _ref3;
10131
+ return $isInvalid ? `
10132
+ color: var(--redsift-color-error-primary);
10133
+ ` : '';
10134
+ }}
10135
+ }
10136
+
10137
+ span.redsift-checkbox-group-description {
10138
+ font-family: var(--redsift-typography-helper-font-family);
10139
+ font-weight: var(--redsift-typography-helper-font-weight);
10140
+ font-size: var(--redsift-typography-helper-font-size);
10141
+ line-height: var(--redsift-typography-helper-line-height);
10142
+
10143
+ color: var(--redsift-color-neutral-darkgrey);
10144
+ ${_ref4 => {
10145
+ let {
10146
+ $isDisabled
10147
+ } = _ref4;
10148
+ return $isDisabled ? `
10149
+ color: var(--redsift-color-neutral-midgrey);
10150
+ ` : '';
10151
+ }}
10152
+ ${_ref5 => {
10153
+ let {
10154
+ $isInvalid
10155
+ } = _ref5;
10156
+ return $isInvalid ? `
10157
+ color: var(--redsift-color-error-primary);
10158
+ ` : '';
10159
+ }}
10160
+ }
10161
+ `;
10162
+
10163
+ const _excluded = ["children", "className", "defaultValues", "description", "isDisabled", "isInvalid", "isReadOnly", "isRequired", "label", "onChange", "orientation", "possibleValues", "value"];
10164
+ const COMPONENT_NAME = 'SwitchGroup';
10165
+ const CLASSNAME = 'redsift-checkbox-group';
10166
+ const DEFAULT_PROPS = {
10167
+ color: ColorPalette.default,
10168
+ orientation: SwitchGroupOrientation.vertical
10169
+ };
10170
+
10171
+ /**
10172
+ * The SwitchGroup component.
10173
+ * Can be used as controlled or uncontrolled.
10174
+ */
10175
+ const SwitchGroup = /*#__PURE__*/forwardRef((props, ref) => {
10176
+ const {
10177
+ children,
10178
+ className,
10179
+ defaultValues,
10180
+ description,
10181
+ isDisabled,
10182
+ isInvalid,
10183
+ isReadOnly,
10184
+ isRequired,
10185
+ label,
10186
+ onChange,
10187
+ orientation,
10188
+ possibleValues,
10189
+ value
10190
+ } = props,
10191
+ forwardedProps = _objectWithoutProperties(props, _excluded);
10192
+ const [selectedValues, setValue] = useState(value || defaultValues || []);
10193
+ useEffect(() => {
10194
+ if (value) {
10195
+ state.setValue(value);
10196
+ }
10197
+ }, [value]);
10198
+ const state = {
10199
+ value: selectedValues,
10200
+ isDisabled: isDisabled || false,
10201
+ isReadOnly: isReadOnly || false,
10202
+ possibleValues: possibleValues,
10203
+ setValue(values) {
10204
+ if (isReadOnly || isDisabled) {
10205
+ return;
10206
+ }
10207
+ setValue(values);
10208
+ },
10209
+ addValue(value) {
10210
+ if (!selectedValues.includes(value)) {
10211
+ setValue(selectedValues.concat(value));
10212
+ if (onChange) {
10213
+ onChange(selectedValues.concat(value));
10214
+ }
10215
+ }
10216
+ },
10217
+ removeValue(value) {
10218
+ if (selectedValues.includes(value)) {
10219
+ setValue(selectedValues.filter(existingValue => existingValue !== value));
10220
+ if (onChange) {
10221
+ onChange(selectedValues.filter(existingValue => existingValue !== value));
10222
+ }
10223
+ }
10224
+ }
10225
+ };
10226
+ return /*#__PURE__*/React__default.createElement(StyledSwitchGroup, _extends$1({}, forwardedProps, {
10227
+ $isDisabled: isDisabled,
10228
+ $isInvalid: isInvalid || isRequired && selectedValues.length === 0,
10229
+ $isReadOnly: isReadOnly,
10230
+ $orientation: orientation,
10231
+ "aria-disabled": isDisabled,
10232
+ className: classNames(SwitchGroup.className, className),
10233
+ ref: ref,
10234
+ role: "group"
10235
+ }), /*#__PURE__*/React__default.createElement("span", {
10236
+ className: `${SwitchGroup.className}-label`
10237
+ }, label, isRequired ? ' *' : null), /*#__PURE__*/React__default.createElement("div", {
10238
+ className: `${SwitchGroup.className}-boxes`
10239
+ }, /*#__PURE__*/React__default.createElement(SwitchGroupContext.Provider, {
10240
+ value: state
10241
+ }, children)), /*#__PURE__*/React__default.createElement("span", {
10242
+ className: `${SwitchGroup.className}-description`
10243
+ }, description));
10244
+ });
10245
+ SwitchGroup.className = CLASSNAME;
10246
+ SwitchGroup.defaultProps = DEFAULT_PROPS;
10247
+ SwitchGroup.displayName = COMPONENT_NAME;
9541
10248
 
9542
- export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorCyanDark, RedsiftDataVizColorCyanDarker, RedsiftDataVizColorCyanDefault, RedsiftDataVizColorCyanLight, RedsiftDataVizColorCyanLighter, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, 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, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Spinner, SpinnerSize, StyledButton, StyledLink, Text, TextComponent, TextVariant, filterComponents, isComponent, partitionComponents, useAppSidePanel, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
10249
+ export { Alert, AlertVariant, AlignContent, AlignItems, AlignSelf, AppBar, AppContainer, AppContainerContext, AppContent, AppSidePanel, Badge, BadgeVariant, BaseBreadcrumbs, BaseGrid, BaseSkeleton, BreadcrumbItem, Breadcrumbs, Button, ButtonLink, ButtonVariant, Card, CardActions, CardBody, CardHeader, Checkbox, CheckboxGroup, CheckboxGroupOrientation, ColorPalette, ConditionalWrapper, DataVizColorPalette, DetailedCard, DetailedCardCollapsibleSectionItems, DetailedCardHeader, DetailedCardSection, DetailedCardSectionItem, FlexDirection, FlexWrap, Flexbox, FontFamily, Grid, GridItem, Heading, HeadingComponent, HeadingVariant, Icon, IconButton, IconButtonVariant, IconSize, JustifyContent, JustifyItems, JustifySelf, Link, LinkButton, NeutralColorPalette, Number$1 as Number, Pill, ProductColorPalette, Radio, RadioGroup, RadioGroupOrientation, RedsiftAppBarColorBackground, RedsiftAppBarColorExpandIconBackgroundHover, RedsiftAppBarColorExpandIconHover, RedsiftAppBarColorExpandIconResting, RedsiftAppBarColorText, RedsiftColorDefaultActive, RedsiftColorDefaultActiveHover, RedsiftColorDefaultHover, RedsiftColorDefaultPrimary, RedsiftColorDefaultPrimaryActive, RedsiftColorDefaultPrimaryActiveHover, RedsiftColorDefaultSecondary, RedsiftColorErrorActive, RedsiftColorErrorActiveHover, RedsiftColorErrorHover, RedsiftColorErrorPrimary, RedsiftColorErrorPrimaryActive, RedsiftColorErrorPrimaryActiveHover, RedsiftColorErrorSecondary, RedsiftColorHardenizeActive, RedsiftColorHardenizeActiveHover, RedsiftColorHardenizeHover, RedsiftColorHardenizePrimary, RedsiftColorHardenizePrimaryActive, RedsiftColorHardenizePrimaryActiveHover, RedsiftColorHardenizeSecondary, RedsiftColorInfoActive, RedsiftColorInfoActiveHover, RedsiftColorInfoHover, RedsiftColorInfoPrimary, RedsiftColorInfoPrimaryActive, RedsiftColorInfoPrimaryActiveHover, RedsiftColorInfoSecondary, RedsiftColorNeutralBlack, RedsiftColorNeutralDarkgrey, RedsiftColorNeutralLightgrey, RedsiftColorNeutralMidgrey, RedsiftColorNeutralWhite, RedsiftColorNeutralXlightgrey, RedsiftColorNoDataActive, RedsiftColorNoDataActiveHover, RedsiftColorNoDataHover, RedsiftColorNoDataPrimary, RedsiftColorNoDataPrimaryActive, RedsiftColorNoDataPrimaryActiveHover, RedsiftColorNoDataSecondary, RedsiftColorOndmarcActive, RedsiftColorOndmarcActiveHover, RedsiftColorOndmarcHover, RedsiftColorOndmarcPrimary, RedsiftColorOndmarcPrimaryActive, RedsiftColorOndmarcPrimaryActiveHover, RedsiftColorOndmarcSecondary, RedsiftColorOndomainActive, RedsiftColorOndomainActiveHover, RedsiftColorOndomainHover, RedsiftColorOndomainPrimary, RedsiftColorOndomainPrimaryActive, RedsiftColorOndomainPrimaryActiveHover, RedsiftColorOndomainSecondary, RedsiftColorOninboxActive, RedsiftColorOninboxActiveHover, RedsiftColorOninboxHover, RedsiftColorOninboxPrimary, RedsiftColorOninboxPrimaryActive, RedsiftColorOninboxPrimaryActiveHover, RedsiftColorOninboxSecondary, RedsiftColorQuestionActive, RedsiftColorQuestionActiveHover, RedsiftColorQuestionHover, RedsiftColorQuestionPrimary, RedsiftColorQuestionPrimaryActive, RedsiftColorQuestionPrimaryActiveHover, RedsiftColorQuestionSecondary, RedsiftColorSuccessActive, RedsiftColorSuccessActiveHover, RedsiftColorSuccessHover, RedsiftColorSuccessPrimary, RedsiftColorSuccessPrimaryActive, RedsiftColorSuccessPrimaryActiveHover, RedsiftColorSuccessSecondary, RedsiftColorToolsActive, RedsiftColorToolsActiveHover, RedsiftColorToolsHover, RedsiftColorToolsPrimary, RedsiftColorToolsPrimaryActive, RedsiftColorToolsPrimaryActiveHover, RedsiftColorToolsSecondary, RedsiftColorWarningActive, RedsiftColorWarningActiveHover, RedsiftColorWarningHover, RedsiftColorWarningPrimary, RedsiftColorWarningPrimaryActive, RedsiftColorWarningPrimaryActiveHover, RedsiftColorWarningSecondary, RedsiftColorWebsiteActive, RedsiftColorWebsiteActiveHover, RedsiftColorWebsiteHover, RedsiftColorWebsitePrimary, RedsiftColorWebsitePrimaryActive, RedsiftColorWebsitePrimaryActiveHover, RedsiftColorWebsiteSecondary, RedsiftDataVizColorBlueDark, RedsiftDataVizColorBlueDarker, RedsiftDataVizColorBlueDefault, RedsiftDataVizColorBlueLight, RedsiftDataVizColorBlueLighter, RedsiftDataVizColorBrownDark, RedsiftDataVizColorBrownDarker, RedsiftDataVizColorBrownDefault, RedsiftDataVizColorBrownLight, RedsiftDataVizColorBrownLighter, RedsiftDataVizColorCyanDark, RedsiftDataVizColorCyanDarker, RedsiftDataVizColorCyanDefault, RedsiftDataVizColorCyanLight, RedsiftDataVizColorCyanLighter, RedsiftDataVizColorGreenDark, RedsiftDataVizColorGreenDarker, RedsiftDataVizColorGreenDefault, RedsiftDataVizColorGreenLight, RedsiftDataVizColorGreenLighter, RedsiftDataVizColorGreyDark, RedsiftDataVizColorGreyDarker, RedsiftDataVizColorGreyDefault, RedsiftDataVizColorGreyLight, RedsiftDataVizColorGreyLighter, RedsiftDataVizColorOrangeDark, RedsiftDataVizColorOrangeDarker, RedsiftDataVizColorOrangeDefault, RedsiftDataVizColorOrangeLight, RedsiftDataVizColorOrangeLighter, RedsiftDataVizColorPinkDark, RedsiftDataVizColorPinkDarker, RedsiftDataVizColorPinkDefault, RedsiftDataVizColorPinkLight, RedsiftDataVizColorPinkLighter, RedsiftDataVizColorPurpleDark, RedsiftDataVizColorPurpleDarker, RedsiftDataVizColorPurpleDefault, RedsiftDataVizColorPurpleLight, RedsiftDataVizColorPurpleLighter, RedsiftDataVizColorRedDark, RedsiftDataVizColorRedDarker, RedsiftDataVizColorRedDefault, RedsiftDataVizColorRedLight, RedsiftDataVizColorRedLighter, RedsiftDataVizColorYellowDark, RedsiftDataVizColorYellowDarker, RedsiftDataVizColorYellowDefault, RedsiftDataVizColorYellowLight, RedsiftDataVizColorYellowLighter, RedsiftLayoutZIndexDialog, RedsiftLayoutZIndexDropdown, RedsiftLayoutZIndexFooter, RedsiftLayoutZIndexHeader, RedsiftLayoutZIndexOverlay, RedsiftLayoutZIndexPopover, RedsiftLayoutZIndexSidePanel, RedsiftLayoutZIndexTooltip, RedsiftSideNavigationColorBackground, RedsiftSideNavigationColorMenuItemActive, RedsiftSideNavigationColorMenuItemBackgroundActive, RedsiftSideNavigationColorMenuItemBackgroundHover, RedsiftSideNavigationColorMenuItemBackgroundSecondary, RedsiftSideNavigationColorMenuItemTextDisabled, RedsiftSideNavigationColorMenuItemTextHover, RedsiftSideNavigationColorMenuItemTextResting, RedsiftSideNavigationColorScrollbarHover, RedsiftSideNavigationColorScrollbarResting, RedsiftTypographyBadgeFontFamily, RedsiftTypographyBadgeFontSize, RedsiftTypographyBadgeFontWeight, RedsiftTypographyBadgeLineHeight, RedsiftTypographyBody2FontFamily, RedsiftTypographyBody2FontSize, RedsiftTypographyBody2FontWeight, RedsiftTypographyBody2LineHeight, RedsiftTypographyBodyFontFamily, RedsiftTypographyBodyFontSize, RedsiftTypographyBodyFontWeight, RedsiftTypographyBodyLineHeight, RedsiftTypographyBodyTextTransform, RedsiftTypographyButtonFontFamily, RedsiftTypographyButtonFontSize, RedsiftTypographyButtonFontWeight, RedsiftTypographyButtonLineHeight, RedsiftTypographyButtonTextTransform, RedsiftTypographyCaptionFontFamily, RedsiftTypographyCaptionFontSize, RedsiftTypographyCaptionFontWeight, RedsiftTypographyCaptionLineHeight, RedsiftTypographyCaptionTextTransform, RedsiftTypographyChipFontFamily, RedsiftTypographyChipFontSize, RedsiftTypographyChipFontWeight, RedsiftTypographyChipLineHeight, RedsiftTypographyFontFamilyElectrolize, RedsiftTypographyFontFamilyRaleway, RedsiftTypographyFontFamilySourceCodePro, RedsiftTypographyFontWeightBold, RedsiftTypographyFontWeightMedium, RedsiftTypographyFontWeightRegular, RedsiftTypographyFontWeightSemiBold, 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, RedsiftTypographyInputTextFontFamily, RedsiftTypographyInputTextFontSize, RedsiftTypographyInputTextFontWeight, RedsiftTypographyInputTextLineHeight, RedsiftTypographyLinkFontFamily, RedsiftTypographyLinkFontSize, RedsiftTypographyLinkFontWeight, RedsiftTypographyLinkLineHeight, RedsiftTypographyPillFontFamily, RedsiftTypographyPillFontSize, RedsiftTypographyPillFontWeight, RedsiftTypographyPillLineHeight, RedsiftTypographySubtitleFontFamily, RedsiftTypographySubtitleFontSize, RedsiftTypographySubtitleFontWeight, RedsiftTypographySubtitleLineHeight, RedsiftTypographySubtitleTextTransform, RedsiftTypographyTooltipFontFamily, RedsiftTypographyTooltipFontSize, RedsiftTypographyTooltipFontWeight, RedsiftTypographyTooltipLineHeight, Shield, ShieldVariant, SideNavigationMenu, SideNavigationMenuBar, SideNavigationMenuItem, SideNavigationMenuReducerActionType, Skeleton, SkeletonCircle, SkeletonText, SkeletonTextVariant, Spinner, SpinnerSize, StyledButton, StyledLink, Switch, SwitchGroup, SwitchGroupOrientation, Text, TextComponent, TextVariant, filterComponents, isComponent, partitionComponents, useAppSidePanel, useSideNavigationMenuBar, useWindowSize, warnIfNoAccessibleLabelFound };
9543
10250
  //# sourceMappingURL=index.js.map