@nnc-digital/nnc-design-system 1.0.0-beta13 → 1.0.0-beta14

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.
@@ -7724,15 +7724,12 @@ const PromotedLinks$1 = styled.div`
7724
7724
  `;
7725
7725
 
7726
7726
  const PromotedLink$1 = styled.a`
7727
- display: flex;
7728
- flex-direction: column;
7729
- align-items: center;
7730
- justify-content: center;
7727
+ display: block;
7731
7728
  height: 100%;
7732
- text-align: center;
7733
7729
 
7734
7730
  /* Memorial theme styling - horizontal layout like HeadingWithIconLink */
7735
- ${props => props.theme.is_memorial && `
7731
+ ${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
7732
+ display: flex;
7736
7733
  flex-direction: row;
7737
7734
  justify-content: flex-start;
7738
7735
  align-items: center;
@@ -7761,10 +7758,9 @@ const PromotedLink$1 = styled.a`
7761
7758
 
7762
7759
  span {
7763
7760
  ${(props) => props.theme.linkStyles};
7764
- margin-top: 10px;
7765
7761
 
7766
7762
  /* Memorial theme - larger text like Heading component */
7767
- ${props => props.theme.is_memorial && `
7763
+ ${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
7768
7764
  font-size: 24px;
7769
7765
  font-size: 1.3rem;
7770
7766
  line-height: 1.4;
@@ -7780,14 +7776,15 @@ const PromotedLink$1 = styled.a`
7780
7776
  }
7781
7777
 
7782
7778
  [data-testid="DynamicIcon"] {
7783
- margin-bottom: 10px;
7784
-
7785
7779
  .service-icon-hover {
7786
7780
  display: none;
7787
7781
  }
7788
7782
 
7789
- /* Memorial theme - no bottom margin, icon on left */
7790
- ${props => props.theme.is_memorial && `
7783
+ /* Regular theme - icon above text */
7784
+ margin-bottom: 10px;
7785
+
7786
+ /* Memorial theme - icon on left */
7787
+ ${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
7791
7788
  margin-bottom: 0;
7792
7789
  margin-right: 0;
7793
7790
  `}