@nnc-digital/nnc-design-system 1.0.0-beta13 → 1.0.0-beta15
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
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
|
`}
|
|
@@ -26134,6 +26131,8 @@ var Header = function (_a) {
|
|
|
26134
26131
|
* Optimised for an image in 16:5 ratio on all but small width screens
|
|
26135
26132
|
*/
|
|
26136
26133
|
const Container$u = styled__default.default.div`
|
|
26134
|
+
position: relative;
|
|
26135
|
+
overflow: hidden;
|
|
26137
26136
|
background-image: ${(props) => {
|
|
26138
26137
|
const gradient = !props.$backgroundBox ? `linear-gradient(to bottom left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75))` : '';
|
|
26139
26138
|
const imageUrl = props.$image && props.$image.trim() ? `url('${props.$image}')` : '';
|
|
@@ -26157,6 +26156,17 @@ const Container$u = styled__default.default.div`
|
|
|
26157
26156
|
flex-direction: row;
|
|
26158
26157
|
align-items: flex-end;
|
|
26159
26158
|
|
|
26159
|
+
/* Max heights for large screens */
|
|
26160
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
26161
|
+
max-height: 410px;
|
|
26162
|
+
}
|
|
26163
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26164
|
+
max-height: 560px;
|
|
26165
|
+
}
|
|
26166
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.xl}) {
|
|
26167
|
+
max-height: 636px;
|
|
26168
|
+
}
|
|
26169
|
+
|
|
26160
26170
|
&::before {
|
|
26161
26171
|
content: '';
|
|
26162
26172
|
/* phones */
|
|
@@ -26177,7 +26187,7 @@ const InnerContainer = styled__default.default.div`
|
|
|
26177
26187
|
margin-right: auto;
|
|
26178
26188
|
margin-left: auto;
|
|
26179
26189
|
flex-grow: 1;
|
|
26180
|
-
z-index:
|
|
26190
|
+
z-index: 2;
|
|
26181
26191
|
|
|
26182
26192
|
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26183
26193
|
max-width: ${(props) => props.theme.theme_vars.breakpoints.l};
|
|
@@ -26303,38 +26313,22 @@ const Search = styled__default.default.div`
|
|
|
26303
26313
|
|
|
26304
26314
|
const VideoContainer = styled__default.default.div`
|
|
26305
26315
|
position: absolute;
|
|
26316
|
+
top: 0;
|
|
26317
|
+
left: 0;
|
|
26306
26318
|
width: 100%;
|
|
26307
|
-
|
|
26308
|
-
|
|
26309
|
-
|
|
26310
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) and (max-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26311
|
-
height: 410px;
|
|
26312
|
-
}
|
|
26313
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26314
|
-
height: 560px;
|
|
26315
|
-
}
|
|
26316
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.xl}) {
|
|
26317
|
-
height: 636px;
|
|
26318
|
-
}
|
|
26319
|
+
height: 100%;
|
|
26320
|
+
overflow: hidden;
|
|
26321
|
+
z-index: 0;
|
|
26319
26322
|
`;
|
|
26320
26323
|
|
|
26321
26324
|
const VideoBackground = styled__default.default.video`
|
|
26322
26325
|
position: absolute;
|
|
26326
|
+
top: 0;
|
|
26327
|
+
left: 0;
|
|
26323
26328
|
width: 100%;
|
|
26324
|
-
height:
|
|
26329
|
+
height: 100%;
|
|
26325
26330
|
object-fit: cover;
|
|
26326
|
-
|
|
26327
|
-
height: 590px;
|
|
26328
|
-
}
|
|
26329
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) and (max-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26330
|
-
height: 420px;
|
|
26331
|
-
}
|
|
26332
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
|
|
26333
|
-
height: 568px;
|
|
26334
|
-
}
|
|
26335
|
-
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.xl}) {
|
|
26336
|
-
height: 645px;
|
|
26337
|
-
}
|
|
26331
|
+
z-index: 0;
|
|
26338
26332
|
`;
|
|
26339
26333
|
|
|
26340
26334
|
const PlayPauseButton = styled__default.default.button`
|
|
@@ -26346,7 +26340,7 @@ const PlayPauseButton = styled__default.default.button`
|
|
|
26346
26340
|
display: flex;
|
|
26347
26341
|
align-items: center;
|
|
26348
26342
|
justify-content: center;
|
|
26349
|
-
z-index:
|
|
26343
|
+
z-index: 3;
|
|
26350
26344
|
background: rgba(0, 0, 0, 0.5);
|
|
26351
26345
|
border: 1px solid white;
|
|
26352
26346
|
color: white;
|