@redsift/products 12.1.0-muiv6 → 12.1.1-muiv5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index2.js +37 -37
  2. package/index2.js.map +1 -1
  3. package/package.json +8 -8
package/index2.js CHANGED
@@ -6053,25 +6053,25 @@ const InfoItemLabel = styled.span`
6053
6053
  let {
6054
6054
  $inline
6055
6055
  } = _ref4;
6056
- return $inline && css`
6057
- margin-right: 0;
6058
- `;
6056
+ return $inline ? css`
6057
+ margin-right: 0;
6058
+ ` : '';
6059
6059
  }}
6060
6060
 
6061
6061
  ${_ref5 => {
6062
6062
  let {
6063
6063
  $variant
6064
6064
  } = _ref5;
6065
- return $variant === 'warn' && css`
6066
- color: #fff;
6067
- background: rgb(232, 70, 70);
6068
- border-radius: 4px;
6069
- padding: 2.8px 7px;
6070
- font-size: 14px;
6071
- line-height: 20px;
6072
- font-weight: 600;
6073
- margin-right: 0;
6074
- `;
6065
+ return $variant === 'warn' ? css`
6066
+ color: #fff;
6067
+ background: rgb(232, 70, 70);
6068
+ border-radius: 4px;
6069
+ padding: 2.8px 7px;
6070
+ font-size: 14px;
6071
+ line-height: 20px;
6072
+ font-weight: 600;
6073
+ margin-right: 0;
6074
+ ` : '';
6075
6075
  }}
6076
6076
  `;
6077
6077
  const InfoItemSubtexts = styled.div`
@@ -6448,9 +6448,9 @@ const StyledInfoItem = styled.div`
6448
6448
  let {
6449
6449
  $fluid
6450
6450
  } = _ref4;
6451
- return $fluid && css`
6452
- flex: 1 1 200px;
6453
- `;
6451
+ return $fluid ? css`
6452
+ flex: 1 1 200px;
6453
+ ` : '';
6454
6454
  }}
6455
6455
  `;
6456
6456
  const StyledItemText = styled.div`
@@ -6943,9 +6943,9 @@ const Center = styled.div`
6943
6943
  $accentColor,
6944
6944
  $disabled
6945
6945
  } = _ref17;
6946
- return !$isSwitch && $selected && css`
6947
- background-color: ${$disabled ? DISABLED_GREY : $accentColor};
6948
- `;
6946
+ return !$isSwitch && $selected ? css`
6947
+ background-color: ${$disabled ? DISABLED_GREY : $accentColor};
6948
+ ` : '';
6949
6949
  }}
6950
6950
  `;
6951
6951
  const HiddenInput = styled.input`
@@ -15261,10 +15261,10 @@ const LogoElementWrapper = styled.div`
15261
15261
  let {
15262
15262
  $square
15263
15263
  } = _ref2;
15264
- return $square && css`
15265
- border-radius: 0;
15266
- border: 1px solid #e1e1e1;
15267
- `;
15264
+ return $square ? css`
15265
+ border-radius: 0;
15266
+ border: 1px solid #e1e1e1;
15267
+ ` : '';
15268
15268
  }}
15269
15269
 
15270
15270
  &[data-error=true] {
@@ -17475,20 +17475,20 @@ const TooltipContainer = styled.div`
17475
17475
  $isOpen
17476
17476
  } = _ref3;
17477
17477
  return css`
17478
- ${$isOpen === undefined && css`
17479
- &:hover ${TooltipContent} {
17480
- visibility: visible;
17481
- opacity: 1;
17482
- scale: 1;
17483
- }
17484
- `}
17485
- ${$isOpen && css`
17486
- ${TooltipContent} {
17487
- visibility: visible;
17488
- opacity: 1;
17489
- scale: 1;
17490
- }
17491
- `}
17478
+ ${$isOpen === undefined ? css`
17479
+ &:hover ${TooltipContent} {
17480
+ visibility: visible;
17481
+ opacity: 1;
17482
+ scale: 1;
17483
+ }
17484
+ ` : ''}
17485
+ ${$isOpen ? css`
17486
+ ${TooltipContent} {
17487
+ visibility: visible;
17488
+ opacity: 1;
17489
+ scale: 1;
17490
+ }
17491
+ ` : ''}
17492
17492
  `;
17493
17493
  }}
17494
17494
  `;