@redsift/design-system 11.4.1 → 11.5.0-muiv5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +19 -19
  2. package/index.js.map +1 -1
  3. package/package.json +3 -3
package/index.js CHANGED
@@ -6232,8 +6232,8 @@ const StyledAppSidePanel = styled.div`
6232
6232
  .redsift-icon-button {
6233
6233
  > span,
6234
6234
  > span > svg {
6235
- width: 30px;
6236
- height: 30px;
6235
+ width: 24px;
6236
+ height: 24px;
6237
6237
  }
6238
6238
  }
6239
6239
  }
@@ -6471,7 +6471,7 @@ const StyledSideNavigationMenuItemIndicatorContainer = styled.div`
6471
6471
  const StyledSideNavigationMenuItemIndicator = styled.div`
6472
6472
  position: relative;
6473
6473
  width: 4px;
6474
- height: 38px;
6474
+ height: 40px;
6475
6475
  border-radius: 0px 4px 4px 0px;
6476
6476
  background-color: ${_ref => {
6477
6477
  let {
@@ -6516,7 +6516,7 @@ const StyledSideNavigationMenuItem = styled.a`
6516
6516
  border-radius: 0 4px 4px 0;
6517
6517
  display: flex;
6518
6518
  font-family: var(--redsift-typography-body-font-family);
6519
- font-size: var(--redsift-typography-body-font-size);
6519
+ font-size: 14px;
6520
6520
  font-weight: var(--redsift-typography-body-font-weight);
6521
6521
  gap: 8px;
6522
6522
  line-height: var(--redsift-typography-body-line-height);
@@ -6604,11 +6604,11 @@ const StyledSideNavigationMenuItem = styled.a`
6604
6604
  */
6605
6605
 
6606
6606
  background-color: var(--redsift-color-${$theme}-components-side-navigation-background);
6607
- height: 38px;
6608
- margin-bottom: 16px;
6607
+ height: 40px;
6608
+ margin-bottom: 4px;
6609
6609
  margin-left: -4px;
6610
6610
  transition: padding 300ms ease-out;
6611
- padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '24px'};
6611
+ padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '16px'};
6612
6612
 
6613
6613
  .redsift-icon.first {
6614
6614
  box-sizing: unset;
@@ -6620,10 +6620,10 @@ const StyledSideNavigationMenuItem = styled.a`
6620
6620
 
6621
6621
  background-color: var(--redsift-color-${$theme}-components-side-navigation-menu-item-background-secondary);
6622
6622
  font-size: var(--redsift-typography-caption-font-size);
6623
- padding-bottom: 7px;
6624
- padding-left: ${$hasIcon ? '26px' : '62px'};
6625
- padding-right: 8px;
6626
- padding-top: 7px;
6623
+ padding-bottom: 4px;
6624
+ padding-left: ${$hasIcon ? '18px' : '54px'};
6625
+ padding-right: 0;
6626
+ padding-top: 4px;
6627
6627
  border-radius: 0;
6628
6628
 
6629
6629
  .redsift-icon.first {
@@ -6854,7 +6854,7 @@ const SideNavigationMenuItem = /*#__PURE__*/forwardRef((props, ref) => {
6854
6854
  icon: icon,
6855
6855
  ref: iconRef,
6856
6856
  className: "first",
6857
- size: isSecondLevel ? IconSize.small : IconSize.large
6857
+ size: isSecondLevel ? IconSize.small : IconSize.medium
6858
6858
  })) : null, /*#__PURE__*/React__default.createElement("span", {
6859
6859
  className: "content"
6860
6860
  }, children), badge ? /*#__PURE__*/React__default.createElement(Badge, _extends({
@@ -6904,14 +6904,14 @@ const StyledSideNavigationMenu = styled.div`
6904
6904
  border-radius: 0 4px 4px 0;
6905
6905
  display: flex;
6906
6906
  font-family: var(--redsift-typography-body-font-family);
6907
- font-size: var(--redsift-typography-body-font-size);
6907
+ font-size: 14px;
6908
6908
  font-weight: var(--redsift-typography-body-font-weight);
6909
6909
  gap: 0;
6910
- height: 38px;
6910
+ height: 40px;
6911
6911
  line-height: var(--redsift-typography-body-line-height);
6912
6912
  margin-left: -4px;
6913
6913
  transition: padding 300ms ease-out;
6914
- padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '24px'};
6914
+ padding: 0 16px 0 ${$variant === SideNavigationMenuBarVariant.shrinked ? '16px' : '16px'};
6915
6915
  text-decoration: none;
6916
6916
  text-transform: uppercase;
6917
6917
  width: calc(100% + ${$variant === SideNavigationMenuBarVariant.shrinked ? '0px' : '4px'});
@@ -7038,7 +7038,7 @@ const StyledSideNavigationMenu = styled.div`
7038
7038
  width: calc(100% + ${$variant === SideNavigationMenuBarVariant.shrinked ? '0px' : '4px'});
7039
7039
  `;
7040
7040
  }}
7041
- margin-bottom: 16px;
7041
+ margin-bottom: 4px;
7042
7042
  max-width: 241px;
7043
7043
  transition: height 300ms ease-out;
7044
7044
  overflow: hidden;
@@ -7048,7 +7048,7 @@ const StyledSideNavigationMenu = styled.div`
7048
7048
  $numberOfChildren
7049
7049
  } = _ref6;
7050
7050
  return $isExpanded ? css`
7051
- height: ${$numberOfChildren * 38}px;
7051
+ height: ${$numberOfChildren * 32}px;
7052
7052
  ` : css`
7053
7053
  height: 0;
7054
7054
  `;
@@ -7512,7 +7512,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
7512
7512
  $theme: theme,
7513
7513
  style: {
7514
7514
  position: 'relative',
7515
- top: isExpanded ? `${38 + currentPosition.current * 38}px` : 0,
7515
+ top: isExpanded ? `${32 + currentPosition.current * 32}px` : 0,
7516
7516
  transition: 'top 300ms ease-out'
7517
7517
  }
7518
7518
  }) : null), /*#__PURE__*/React__default.createElement("div", {
@@ -7531,7 +7531,7 @@ const SideNavigationMenu = /*#__PURE__*/forwardRef((props, ref) => {
7531
7531
  icon: icon,
7532
7532
  ref: iconRef,
7533
7533
  className: classNames(iconProps === null || iconProps === void 0 ? void 0 : iconProps.className, 'first'),
7534
- size: IconSize.large
7534
+ size: IconSize.medium
7535
7535
  })), /*#__PURE__*/React__default.createElement("span", {
7536
7536
  className: "content"
7537
7537
  }, ariaLabel), hasBadge && (!isExpanded || keepBadgeVisible) ? /*#__PURE__*/React__default.createElement(Badge, _extends({