@nok-integration/storefront-react 0.29.13 → 0.29.15
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/dist/index.mjs +43 -18
- package/dist/standalone/storefront.mjs +43 -18
- package/dist/standalone/styles.css +29 -29
- package/dist/styles.css +29 -29
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11586,7 +11586,7 @@ function MediaGallery({ media: media2, alt, focus }) {
|
|
|
11586
11586
|
className: styles$n.track,
|
|
11587
11587
|
ref: trackRef,
|
|
11588
11588
|
role: "group",
|
|
11589
|
-
"aria-label":
|
|
11589
|
+
"aria-label": t("{0} images", alt),
|
|
11590
11590
|
children: media2.map((src, i) => jsx("div", {
|
|
11591
11591
|
className: styles$n.slide,
|
|
11592
11592
|
children: jsx(ShopImage, {
|
|
@@ -11959,9 +11959,9 @@ function SizeSelector({ sizes: sizes2, selected: selected2, onSelect, error: err
|
|
|
11959
11959
|
disabled: disabled2,
|
|
11960
11960
|
className: [styles$j.chip, isSelected ? styles$j.selected : "", disabled2 ? styles$j.disabled : ""].filter(Boolean).join(" "),
|
|
11961
11961
|
onClick: () => !disabled2 && onSelect(size.value),
|
|
11962
|
-
children: [size.value, disabled2 &&
|
|
11962
|
+
children: [size.value, disabled2 && jsxs("span", {
|
|
11963
11963
|
className: "visually-hidden",
|
|
11964
|
-
children: " (out of stock)"
|
|
11964
|
+
children: [" ", t("(out of stock)")]
|
|
11965
11965
|
})]
|
|
11966
11966
|
}, size.value);
|
|
11967
11967
|
})
|
|
@@ -12105,9 +12105,9 @@ function VariantSelector({ variants, selectedSku, onSelect, labelAttribute }) {
|
|
|
12105
12105
|
disabled: disabled2,
|
|
12106
12106
|
className: [styles$h.option, selected2 ? styles$h.selected : "", disabled2 ? styles$h.disabled : ""].filter(Boolean).join(" "),
|
|
12107
12107
|
onClick: () => !disabled2 && onSelect(variant.sku),
|
|
12108
|
-
children: [labelFor2(variant), disabled2 &&
|
|
12108
|
+
children: [labelFor2(variant), disabled2 && jsxs("span", {
|
|
12109
12109
|
className: "visually-hidden",
|
|
12110
|
-
children: " (out of stock)"
|
|
12110
|
+
children: [" ", t("(out of stock)")]
|
|
12111
12111
|
})]
|
|
12112
12112
|
}, variant.sku);
|
|
12113
12113
|
})
|
|
@@ -12588,7 +12588,7 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
|
|
|
12588
12588
|
amount: 0,
|
|
12589
12589
|
currency: product.price.currency
|
|
12590
12590
|
} : product.price,
|
|
12591
|
-
compareAt: claim ? product.price : product.compare_at,
|
|
12591
|
+
compareAt: claim ? product.compare_at ?? product.price : product.compare_at,
|
|
12592
12592
|
size: "md",
|
|
12593
12593
|
variant: "badge",
|
|
12594
12594
|
align: "center"
|
|
@@ -14828,18 +14828,41 @@ function requireDist() {
|
|
|
14828
14828
|
return dist;
|
|
14829
14829
|
}
|
|
14830
14830
|
var distExports = requireDist();
|
|
14831
|
-
|
|
14832
|
-
|
|
14833
|
-
const
|
|
14834
|
-
const
|
|
14835
|
-
|
|
14836
|
-
const
|
|
14837
|
-
const
|
|
14838
|
-
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
const
|
|
14831
|
+
function useRoomBelow(ref, property) {
|
|
14832
|
+
useEffect(() => {
|
|
14833
|
+
const el = ref.current;
|
|
14834
|
+
const host = el?.parentElement?.parentElement;
|
|
14835
|
+
if (!el || !host) return;
|
|
14836
|
+
const measure = () => {
|
|
14837
|
+
const room = Math.round(host.getBoundingClientRect().bottom - el.getBoundingClientRect().top);
|
|
14838
|
+
if (room > 0) el.style.setProperty(property, `${room}px`);
|
|
14839
|
+
else el.style.removeProperty(property);
|
|
14840
|
+
};
|
|
14841
|
+
measure();
|
|
14842
|
+
const frame2 = typeof requestAnimationFrame === "undefined" ? void 0 : requestAnimationFrame(measure);
|
|
14843
|
+
window.addEventListener("resize", measure);
|
|
14844
|
+
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
14845
|
+
observer?.observe(host);
|
|
14846
|
+
return () => {
|
|
14847
|
+
if (frame2 !== void 0) cancelAnimationFrame(frame2);
|
|
14848
|
+
window.removeEventListener("resize", measure);
|
|
14849
|
+
observer?.disconnect();
|
|
14850
|
+
el.style.removeProperty(property);
|
|
14851
|
+
};
|
|
14852
|
+
}, [ref, property]);
|
|
14853
|
+
}
|
|
14854
|
+
const hero$1 = "_hero_1ddez_1";
|
|
14855
|
+
const image$1 = "_image_1ddez_11";
|
|
14856
|
+
const foot = "_foot_1ddez_34";
|
|
14857
|
+
const text$1 = "_text_1ddez_40";
|
|
14858
|
+
const logo$1 = "_logo_1ddez_48";
|
|
14859
|
+
const copy$1 = "_copy_1ddez_53";
|
|
14860
|
+
const headline = "_headline_1ddez_62";
|
|
14861
|
+
const body = "_body_1ddez_70";
|
|
14862
|
+
const cta$2 = "_cta_1ddez_79";
|
|
14863
|
+
const video = "_video_1ddez_83";
|
|
14864
|
+
const desktopOnly = "_desktopOnly_1ddez_87";
|
|
14865
|
+
const phoneOnly$1 = "_phoneOnly_1ddez_97";
|
|
14843
14866
|
const hero$2 = {
|
|
14844
14867
|
hero: hero$1,
|
|
14845
14868
|
image: image$1,
|
|
@@ -14859,6 +14882,7 @@ function VipHero({ hero: hero2, onContinue }) {
|
|
|
14859
14882
|
const assetUrl = useAssetUrl();
|
|
14860
14883
|
const ref = useRef(null);
|
|
14861
14884
|
useTopOffset(ref, "--vip-hero-top");
|
|
14885
|
+
useRoomBelow(ref, "--vip-hero-room");
|
|
14862
14886
|
useSetScreenBackdrop("media");
|
|
14863
14887
|
const desktopImage = hero2.desktop_image ?? null;
|
|
14864
14888
|
const desktopVideo = hero2.desktop_video ?? null;
|
|
@@ -14937,6 +14961,7 @@ function VipInviteNotice({ title: title2, body: body3 }) {
|
|
|
14937
14961
|
const navigate = useNavigate();
|
|
14938
14962
|
const ref = useRef(null);
|
|
14939
14963
|
useTopOffset(ref, "--vip-hero-top");
|
|
14964
|
+
useRoomBelow(ref, "--vip-hero-room");
|
|
14940
14965
|
useSetScreenBackdrop("media");
|
|
14941
14966
|
const explore = () => {
|
|
14942
14967
|
if (navigate) {
|
|
@@ -11586,7 +11586,7 @@ function MediaGallery({ media: media2, alt, focus }) {
|
|
|
11586
11586
|
className: styles$n.track,
|
|
11587
11587
|
ref: trackRef,
|
|
11588
11588
|
role: "group",
|
|
11589
|
-
"aria-label":
|
|
11589
|
+
"aria-label": t("{0} images", alt),
|
|
11590
11590
|
children: media2.map((src, i) => jsx("div", {
|
|
11591
11591
|
className: styles$n.slide,
|
|
11592
11592
|
children: jsx(ShopImage, {
|
|
@@ -11959,9 +11959,9 @@ function SizeSelector({ sizes: sizes2, selected: selected2, onSelect, error: err
|
|
|
11959
11959
|
disabled: disabled2,
|
|
11960
11960
|
className: [styles$j.chip, isSelected ? styles$j.selected : "", disabled2 ? styles$j.disabled : ""].filter(Boolean).join(" "),
|
|
11961
11961
|
onClick: () => !disabled2 && onSelect(size.value),
|
|
11962
|
-
children: [size.value, disabled2 &&
|
|
11962
|
+
children: [size.value, disabled2 && jsxs("span", {
|
|
11963
11963
|
className: "visually-hidden",
|
|
11964
|
-
children: " (out of stock)"
|
|
11964
|
+
children: [" ", t("(out of stock)")]
|
|
11965
11965
|
})]
|
|
11966
11966
|
}, size.value);
|
|
11967
11967
|
})
|
|
@@ -12105,9 +12105,9 @@ function VariantSelector({ variants, selectedSku, onSelect, labelAttribute }) {
|
|
|
12105
12105
|
disabled: disabled2,
|
|
12106
12106
|
className: [styles$h.option, selected2 ? styles$h.selected : "", disabled2 ? styles$h.disabled : ""].filter(Boolean).join(" "),
|
|
12107
12107
|
onClick: () => !disabled2 && onSelect(variant.sku),
|
|
12108
|
-
children: [labelFor2(variant), disabled2 &&
|
|
12108
|
+
children: [labelFor2(variant), disabled2 && jsxs("span", {
|
|
12109
12109
|
className: "visually-hidden",
|
|
12110
|
-
children: " (out of stock)"
|
|
12110
|
+
children: [" ", t("(out of stock)")]
|
|
12111
12111
|
})]
|
|
12112
12112
|
}, variant.sku);
|
|
12113
12113
|
})
|
|
@@ -12588,7 +12588,7 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
|
|
|
12588
12588
|
amount: 0,
|
|
12589
12589
|
currency: product.price.currency
|
|
12590
12590
|
} : product.price,
|
|
12591
|
-
compareAt: claim ? product.price : product.compare_at,
|
|
12591
|
+
compareAt: claim ? product.compare_at ?? product.price : product.compare_at,
|
|
12592
12592
|
size: "md",
|
|
12593
12593
|
variant: "badge",
|
|
12594
12594
|
align: "center"
|
|
@@ -14828,18 +14828,41 @@ function requireDist() {
|
|
|
14828
14828
|
return dist;
|
|
14829
14829
|
}
|
|
14830
14830
|
var distExports = requireDist();
|
|
14831
|
-
|
|
14832
|
-
|
|
14833
|
-
const
|
|
14834
|
-
const
|
|
14835
|
-
|
|
14836
|
-
const
|
|
14837
|
-
const
|
|
14838
|
-
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
|
|
14842
|
-
const
|
|
14831
|
+
function useRoomBelow(ref, property) {
|
|
14832
|
+
useEffect(() => {
|
|
14833
|
+
const el = ref.current;
|
|
14834
|
+
const host = el?.parentElement?.parentElement;
|
|
14835
|
+
if (!el || !host) return;
|
|
14836
|
+
const measure = () => {
|
|
14837
|
+
const room = Math.round(host.getBoundingClientRect().bottom - el.getBoundingClientRect().top);
|
|
14838
|
+
if (room > 0) el.style.setProperty(property, `${room}px`);
|
|
14839
|
+
else el.style.removeProperty(property);
|
|
14840
|
+
};
|
|
14841
|
+
measure();
|
|
14842
|
+
const frame2 = typeof requestAnimationFrame === "undefined" ? void 0 : requestAnimationFrame(measure);
|
|
14843
|
+
window.addEventListener("resize", measure);
|
|
14844
|
+
const observer = typeof ResizeObserver === "undefined" ? null : new ResizeObserver(measure);
|
|
14845
|
+
observer?.observe(host);
|
|
14846
|
+
return () => {
|
|
14847
|
+
if (frame2 !== void 0) cancelAnimationFrame(frame2);
|
|
14848
|
+
window.removeEventListener("resize", measure);
|
|
14849
|
+
observer?.disconnect();
|
|
14850
|
+
el.style.removeProperty(property);
|
|
14851
|
+
};
|
|
14852
|
+
}, [ref, property]);
|
|
14853
|
+
}
|
|
14854
|
+
const hero$1 = "_hero_1ddez_1";
|
|
14855
|
+
const image$1 = "_image_1ddez_11";
|
|
14856
|
+
const foot = "_foot_1ddez_34";
|
|
14857
|
+
const text$1 = "_text_1ddez_40";
|
|
14858
|
+
const logo$1 = "_logo_1ddez_48";
|
|
14859
|
+
const copy$1 = "_copy_1ddez_53";
|
|
14860
|
+
const headline = "_headline_1ddez_62";
|
|
14861
|
+
const body = "_body_1ddez_70";
|
|
14862
|
+
const cta$2 = "_cta_1ddez_79";
|
|
14863
|
+
const video = "_video_1ddez_83";
|
|
14864
|
+
const desktopOnly = "_desktopOnly_1ddez_87";
|
|
14865
|
+
const phoneOnly$1 = "_phoneOnly_1ddez_97";
|
|
14843
14866
|
const hero$2 = {
|
|
14844
14867
|
hero: hero$1,
|
|
14845
14868
|
image: image$1,
|
|
@@ -14859,6 +14882,7 @@ function VipHero({ hero: hero2, onContinue }) {
|
|
|
14859
14882
|
const assetUrl = useAssetUrl();
|
|
14860
14883
|
const ref = useRef(null);
|
|
14861
14884
|
useTopOffset(ref, "--vip-hero-top");
|
|
14885
|
+
useRoomBelow(ref, "--vip-hero-room");
|
|
14862
14886
|
useSetScreenBackdrop("media");
|
|
14863
14887
|
const desktopImage = hero2.desktop_image ?? null;
|
|
14864
14888
|
const desktopVideo = hero2.desktop_video ?? null;
|
|
@@ -14937,6 +14961,7 @@ function VipInviteNotice({ title: title2, body: body3 }) {
|
|
|
14937
14961
|
const navigate = useNavigate();
|
|
14938
14962
|
const ref = useRef(null);
|
|
14939
14963
|
useTopOffset(ref, "--vip-hero-top");
|
|
14964
|
+
useRoomBelow(ref, "--vip-hero-room");
|
|
14940
14965
|
useSetScreenBackdrop("media");
|
|
14941
14966
|
const explore = () => {
|
|
14942
14967
|
if (navigate) {
|
|
@@ -4689,20 +4689,20 @@
|
|
|
4689
4689
|
display: block;
|
|
4690
4690
|
}
|
|
4691
4691
|
}
|
|
4692
|
-
.
|
|
4692
|
+
._hero_1ddez_1 {
|
|
4693
4693
|
position: relative;
|
|
4694
4694
|
display: flex;
|
|
4695
4695
|
flex-direction: column;
|
|
4696
4696
|
justify-content: flex-end;
|
|
4697
|
-
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)));
|
|
4697
|
+
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)), var(--vip-hero-room, 0px));
|
|
4698
4698
|
overflow: hidden;
|
|
4699
4699
|
background: var(--color-surface-default);
|
|
4700
4700
|
}
|
|
4701
|
-
.
|
|
4701
|
+
._image_1ddez_11 {
|
|
4702
4702
|
position: absolute;
|
|
4703
4703
|
inset: 0;
|
|
4704
4704
|
}
|
|
4705
|
-
.
|
|
4705
|
+
._image_1ddez_11::after {
|
|
4706
4706
|
content: "";
|
|
4707
4707
|
position: absolute;
|
|
4708
4708
|
inset: 0;
|
|
@@ -4714,27 +4714,27 @@
|
|
|
4714
4714
|
rgba(8, 14, 18, 0) 382px);
|
|
4715
4715
|
pointer-events: none;
|
|
4716
4716
|
}
|
|
4717
|
-
.
|
|
4717
|
+
._image_1ddez_11 img {
|
|
4718
4718
|
object-fit: cover;
|
|
4719
4719
|
object-position: top center;
|
|
4720
4720
|
}
|
|
4721
|
-
.
|
|
4721
|
+
._foot_1ddez_34 {
|
|
4722
4722
|
position: relative;
|
|
4723
4723
|
display: flex;
|
|
4724
4724
|
flex-direction: column;
|
|
4725
4725
|
}
|
|
4726
|
-
.
|
|
4726
|
+
._text_1ddez_40 {
|
|
4727
4727
|
display: flex;
|
|
4728
4728
|
flex-direction: column;
|
|
4729
4729
|
align-items: center;
|
|
4730
4730
|
gap: var(--space-16);
|
|
4731
4731
|
padding: 0 var(--space-16) var(--space-8);
|
|
4732
4732
|
}
|
|
4733
|
-
.
|
|
4733
|
+
._text_1ddez_40 ._logo_1ddez_48 {
|
|
4734
4734
|
width: 48px;
|
|
4735
4735
|
height: 48px;
|
|
4736
4736
|
}
|
|
4737
|
-
.
|
|
4737
|
+
._copy_1ddez_53 {
|
|
4738
4738
|
display: flex;
|
|
4739
4739
|
flex-direction: column;
|
|
4740
4740
|
gap: 6px;
|
|
@@ -4742,14 +4742,14 @@
|
|
|
4742
4742
|
text-align: center;
|
|
4743
4743
|
overflow-wrap: break-word;
|
|
4744
4744
|
}
|
|
4745
|
-
.
|
|
4745
|
+
._headline_1ddez_62 {
|
|
4746
4746
|
margin: 0;
|
|
4747
4747
|
font-size: 36px;
|
|
4748
4748
|
line-height: 1.1;
|
|
4749
4749
|
font-weight: var(--font-weight-bold);
|
|
4750
4750
|
color: var(--color-text-default);
|
|
4751
4751
|
}
|
|
4752
|
-
.
|
|
4752
|
+
._body_1ddez_70 {
|
|
4753
4753
|
margin: 0;
|
|
4754
4754
|
font-size: var(--type-paragraph-size);
|
|
4755
4755
|
line-height: var(--type-paragraph-line);
|
|
@@ -4757,69 +4757,69 @@
|
|
|
4757
4757
|
color: var(--color-text-default);
|
|
4758
4758
|
white-space: pre-line;
|
|
4759
4759
|
}
|
|
4760
|
-
.
|
|
4760
|
+
._cta_1ddez_79 {
|
|
4761
4761
|
padding: var(--space-16) var(--space-16) var(--space-24);
|
|
4762
4762
|
}
|
|
4763
|
-
.
|
|
4763
|
+
._video_1ddez_83 {
|
|
4764
4764
|
object-fit: cover;
|
|
4765
4765
|
}
|
|
4766
|
-
.
|
|
4766
|
+
._desktopOnly_1ddez_87 {
|
|
4767
4767
|
display: none;
|
|
4768
4768
|
}
|
|
4769
4769
|
@media (min-width: 1200px) {
|
|
4770
|
-
.
|
|
4770
|
+
._hero_1ddez_1 {
|
|
4771
4771
|
justify-content: center;
|
|
4772
|
-
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)));
|
|
4772
|
+
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)), var(--vip-hero-room, 0px));
|
|
4773
4773
|
}
|
|
4774
|
-
.
|
|
4774
|
+
._phoneOnly_1ddez_97 {
|
|
4775
4775
|
display: none;
|
|
4776
4776
|
}
|
|
4777
|
-
.
|
|
4777
|
+
._desktopOnly_1ddez_87 {
|
|
4778
4778
|
display: block;
|
|
4779
4779
|
}
|
|
4780
|
-
.
|
|
4780
|
+
._image_1ddez_11::after {
|
|
4781
4781
|
background:
|
|
4782
4782
|
linear-gradient(
|
|
4783
4783
|
to right,
|
|
4784
4784
|
rgba(8, 14, 18, 0.9) 0,
|
|
4785
4785
|
rgba(8, 14, 18, 0) 53.33%);
|
|
4786
4786
|
}
|
|
4787
|
-
.
|
|
4788
|
-
.
|
|
4787
|
+
._image_1ddez_11 img,
|
|
4788
|
+
._video_1ddez_83 {
|
|
4789
4789
|
object-position: center;
|
|
4790
4790
|
}
|
|
4791
|
-
.
|
|
4791
|
+
._foot_1ddez_34 {
|
|
4792
4792
|
gap: var(--space-16);
|
|
4793
4793
|
width: 100%;
|
|
4794
4794
|
max-width: 624px;
|
|
4795
4795
|
padding-left: 64px;
|
|
4796
4796
|
}
|
|
4797
|
-
.
|
|
4797
|
+
._text_1ddez_40 {
|
|
4798
4798
|
align-items: flex-start;
|
|
4799
4799
|
padding: 0;
|
|
4800
4800
|
}
|
|
4801
|
-
.
|
|
4801
|
+
._text_1ddez_40 ._logo_1ddez_48 {
|
|
4802
4802
|
display: none;
|
|
4803
4803
|
}
|
|
4804
|
-
.
|
|
4804
|
+
._copy_1ddez_53 {
|
|
4805
4805
|
gap: var(--space-16);
|
|
4806
4806
|
text-align: left;
|
|
4807
4807
|
}
|
|
4808
|
-
.
|
|
4808
|
+
._headline_1ddez_62 {
|
|
4809
4809
|
font-size: 64px;
|
|
4810
4810
|
line-height: 0.9375;
|
|
4811
4811
|
letter-spacing: -0.64px;
|
|
4812
4812
|
}
|
|
4813
|
-
.
|
|
4813
|
+
._body_1ddez_70 {
|
|
4814
4814
|
max-width: 520px;
|
|
4815
4815
|
font-size: 20px;
|
|
4816
4816
|
line-height: 1.4;
|
|
4817
4817
|
white-space: normal;
|
|
4818
4818
|
}
|
|
4819
|
-
.
|
|
4819
|
+
._cta_1ddez_79 {
|
|
4820
4820
|
padding: var(--space-8) 0 0;
|
|
4821
4821
|
}
|
|
4822
|
-
.
|
|
4822
|
+
._cta_1ddez_79 > * {
|
|
4823
4823
|
width: auto;
|
|
4824
4824
|
min-width: 173px;
|
|
4825
4825
|
}
|
package/dist/styles.css
CHANGED
|
@@ -4689,20 +4689,20 @@
|
|
|
4689
4689
|
display: block;
|
|
4690
4690
|
}
|
|
4691
4691
|
}
|
|
4692
|
-
.
|
|
4692
|
+
._hero_1ddez_1 {
|
|
4693
4693
|
position: relative;
|
|
4694
4694
|
display: flex;
|
|
4695
4695
|
flex-direction: column;
|
|
4696
4696
|
justify-content: flex-end;
|
|
4697
|
-
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)));
|
|
4697
|
+
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)), var(--vip-hero-room, 0px));
|
|
4698
4698
|
overflow: hidden;
|
|
4699
4699
|
background: var(--color-surface-default);
|
|
4700
4700
|
}
|
|
4701
|
-
.
|
|
4701
|
+
._image_1ddez_11 {
|
|
4702
4702
|
position: absolute;
|
|
4703
4703
|
inset: 0;
|
|
4704
4704
|
}
|
|
4705
|
-
.
|
|
4705
|
+
._image_1ddez_11::after {
|
|
4706
4706
|
content: "";
|
|
4707
4707
|
position: absolute;
|
|
4708
4708
|
inset: 0;
|
|
@@ -4714,27 +4714,27 @@
|
|
|
4714
4714
|
rgba(8, 14, 18, 0) 382px);
|
|
4715
4715
|
pointer-events: none;
|
|
4716
4716
|
}
|
|
4717
|
-
.
|
|
4717
|
+
._image_1ddez_11 img {
|
|
4718
4718
|
object-fit: cover;
|
|
4719
4719
|
object-position: top center;
|
|
4720
4720
|
}
|
|
4721
|
-
.
|
|
4721
|
+
._foot_1ddez_34 {
|
|
4722
4722
|
position: relative;
|
|
4723
4723
|
display: flex;
|
|
4724
4724
|
flex-direction: column;
|
|
4725
4725
|
}
|
|
4726
|
-
.
|
|
4726
|
+
._text_1ddez_40 {
|
|
4727
4727
|
display: flex;
|
|
4728
4728
|
flex-direction: column;
|
|
4729
4729
|
align-items: center;
|
|
4730
4730
|
gap: var(--space-16);
|
|
4731
4731
|
padding: 0 var(--space-16) var(--space-8);
|
|
4732
4732
|
}
|
|
4733
|
-
.
|
|
4733
|
+
._text_1ddez_40 ._logo_1ddez_48 {
|
|
4734
4734
|
width: 48px;
|
|
4735
4735
|
height: 48px;
|
|
4736
4736
|
}
|
|
4737
|
-
.
|
|
4737
|
+
._copy_1ddez_53 {
|
|
4738
4738
|
display: flex;
|
|
4739
4739
|
flex-direction: column;
|
|
4740
4740
|
gap: 6px;
|
|
@@ -4742,14 +4742,14 @@
|
|
|
4742
4742
|
text-align: center;
|
|
4743
4743
|
overflow-wrap: break-word;
|
|
4744
4744
|
}
|
|
4745
|
-
.
|
|
4745
|
+
._headline_1ddez_62 {
|
|
4746
4746
|
margin: 0;
|
|
4747
4747
|
font-size: 36px;
|
|
4748
4748
|
line-height: 1.1;
|
|
4749
4749
|
font-weight: var(--font-weight-bold);
|
|
4750
4750
|
color: var(--color-text-default);
|
|
4751
4751
|
}
|
|
4752
|
-
.
|
|
4752
|
+
._body_1ddez_70 {
|
|
4753
4753
|
margin: 0;
|
|
4754
4754
|
font-size: var(--type-paragraph-size);
|
|
4755
4755
|
line-height: var(--type-paragraph-line);
|
|
@@ -4757,69 +4757,69 @@
|
|
|
4757
4757
|
color: var(--color-text-default);
|
|
4758
4758
|
white-space: pre-line;
|
|
4759
4759
|
}
|
|
4760
|
-
.
|
|
4760
|
+
._cta_1ddez_79 {
|
|
4761
4761
|
padding: var(--space-16) var(--space-16) var(--space-24);
|
|
4762
4762
|
}
|
|
4763
|
-
.
|
|
4763
|
+
._video_1ddez_83 {
|
|
4764
4764
|
object-fit: cover;
|
|
4765
4765
|
}
|
|
4766
|
-
.
|
|
4766
|
+
._desktopOnly_1ddez_87 {
|
|
4767
4767
|
display: none;
|
|
4768
4768
|
}
|
|
4769
4769
|
@media (min-width: 1200px) {
|
|
4770
|
-
.
|
|
4770
|
+
._hero_1ddez_1 {
|
|
4771
4771
|
justify-content: center;
|
|
4772
|
-
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)));
|
|
4772
|
+
min-height: max(480px, calc(100svh - var(--vip-hero-top, 0px)), var(--vip-hero-room, 0px));
|
|
4773
4773
|
}
|
|
4774
|
-
.
|
|
4774
|
+
._phoneOnly_1ddez_97 {
|
|
4775
4775
|
display: none;
|
|
4776
4776
|
}
|
|
4777
|
-
.
|
|
4777
|
+
._desktopOnly_1ddez_87 {
|
|
4778
4778
|
display: block;
|
|
4779
4779
|
}
|
|
4780
|
-
.
|
|
4780
|
+
._image_1ddez_11::after {
|
|
4781
4781
|
background:
|
|
4782
4782
|
linear-gradient(
|
|
4783
4783
|
to right,
|
|
4784
4784
|
rgba(8, 14, 18, 0.9) 0,
|
|
4785
4785
|
rgba(8, 14, 18, 0) 53.33%);
|
|
4786
4786
|
}
|
|
4787
|
-
.
|
|
4788
|
-
.
|
|
4787
|
+
._image_1ddez_11 img,
|
|
4788
|
+
._video_1ddez_83 {
|
|
4789
4789
|
object-position: center;
|
|
4790
4790
|
}
|
|
4791
|
-
.
|
|
4791
|
+
._foot_1ddez_34 {
|
|
4792
4792
|
gap: var(--space-16);
|
|
4793
4793
|
width: 100%;
|
|
4794
4794
|
max-width: 624px;
|
|
4795
4795
|
padding-left: 64px;
|
|
4796
4796
|
}
|
|
4797
|
-
.
|
|
4797
|
+
._text_1ddez_40 {
|
|
4798
4798
|
align-items: flex-start;
|
|
4799
4799
|
padding: 0;
|
|
4800
4800
|
}
|
|
4801
|
-
.
|
|
4801
|
+
._text_1ddez_40 ._logo_1ddez_48 {
|
|
4802
4802
|
display: none;
|
|
4803
4803
|
}
|
|
4804
|
-
.
|
|
4804
|
+
._copy_1ddez_53 {
|
|
4805
4805
|
gap: var(--space-16);
|
|
4806
4806
|
text-align: left;
|
|
4807
4807
|
}
|
|
4808
|
-
.
|
|
4808
|
+
._headline_1ddez_62 {
|
|
4809
4809
|
font-size: 64px;
|
|
4810
4810
|
line-height: 0.9375;
|
|
4811
4811
|
letter-spacing: -0.64px;
|
|
4812
4812
|
}
|
|
4813
|
-
.
|
|
4813
|
+
._body_1ddez_70 {
|
|
4814
4814
|
max-width: 520px;
|
|
4815
4815
|
font-size: 20px;
|
|
4816
4816
|
line-height: 1.4;
|
|
4817
4817
|
white-space: normal;
|
|
4818
4818
|
}
|
|
4819
|
-
.
|
|
4819
|
+
._cta_1ddez_79 {
|
|
4820
4820
|
padding: var(--space-8) 0 0;
|
|
4821
4821
|
}
|
|
4822
|
-
.
|
|
4822
|
+
._cta_1ddez_79 > * {
|
|
4823
4823
|
width: auto;
|
|
4824
4824
|
min-width: 173px;
|
|
4825
4825
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nok-integration/storefront-react",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.15",
|
|
4
4
|
"description": "Mountable React storefront components: catalogue, product detail and cart, mounted directly into a host DOM tree. No iframe.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|