@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.
- package/build/index.js +9 -12
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +9 -12
- package/build/index.mjs.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -7737,15 +7737,12 @@ const PromotedLinks$1 = styled__default.default.div`
|
|
|
7737
7737
|
`;
|
|
7738
7738
|
|
|
7739
7739
|
const PromotedLink$1 = styled__default.default.a`
|
|
7740
|
-
display:
|
|
7741
|
-
flex-direction: column;
|
|
7742
|
-
align-items: center;
|
|
7743
|
-
justify-content: center;
|
|
7740
|
+
display: block;
|
|
7744
7741
|
height: 100%;
|
|
7745
|
-
text-align: center;
|
|
7746
7742
|
|
|
7747
7743
|
/* Memorial theme styling - horizontal layout like HeadingWithIconLink */
|
|
7748
|
-
${props => props.theme.is_memorial && `
|
|
7744
|
+
${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
|
|
7745
|
+
display: flex;
|
|
7749
7746
|
flex-direction: row;
|
|
7750
7747
|
justify-content: flex-start;
|
|
7751
7748
|
align-items: center;
|
|
@@ -7774,10 +7771,9 @@ const PromotedLink$1 = styled__default.default.a`
|
|
|
7774
7771
|
|
|
7775
7772
|
span {
|
|
7776
7773
|
${(props) => props.theme.linkStyles};
|
|
7777
|
-
margin-top: 10px;
|
|
7778
7774
|
|
|
7779
7775
|
/* Memorial theme - larger text like Heading component */
|
|
7780
|
-
${props => props.theme.is_memorial && `
|
|
7776
|
+
${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
|
|
7781
7777
|
font-size: 24px;
|
|
7782
7778
|
font-size: 1.3rem;
|
|
7783
7779
|
line-height: 1.4;
|
|
@@ -7793,14 +7789,15 @@ const PromotedLink$1 = styled__default.default.a`
|
|
|
7793
7789
|
}
|
|
7794
7790
|
|
|
7795
7791
|
[data-testid="DynamicIcon"] {
|
|
7796
|
-
margin-bottom: 10px;
|
|
7797
|
-
|
|
7798
7792
|
.service-icon-hover {
|
|
7799
7793
|
display: none;
|
|
7800
7794
|
}
|
|
7801
7795
|
|
|
7802
|
-
/*
|
|
7803
|
-
|
|
7796
|
+
/* Regular theme - icon above text */
|
|
7797
|
+
margin-bottom: 10px;
|
|
7798
|
+
|
|
7799
|
+
/* Memorial theme - icon on left */
|
|
7800
|
+
${props => props.theme.is_memorial && props.theme.theme_vars && props.theme.theme_vars.theme_name && (props.theme.theme_vars.theme_name.includes('Memorial')) && `
|
|
7804
7801
|
margin-bottom: 0;
|
|
7805
7802
|
margin-right: 0;
|
|
7806
7803
|
`}
|