@nok-integration/storefront-react 0.19.5 → 0.19.7
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.d.ts +1 -0
- package/dist/index.mjs +42 -29
- package/dist/standalone/storefront.mjs +42 -29
- package/dist/standalone/styles.css +38 -32
- package/dist/styles.css +38 -32
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -4391,7 +4391,8 @@ function requireContent() {
|
|
|
4391
4391
|
subtitle: zod_1.z.string(),
|
|
4392
4392
|
cta: zod_1.z.string().min(1),
|
|
4393
4393
|
target: zod_1.z.string().min(1).optional(),
|
|
4394
|
-
image: zod_1.z.string().min(1).optional()
|
|
4394
|
+
image: zod_1.z.string().min(1).optional(),
|
|
4395
|
+
focal_y: zod_1.z.number().int().min(0).max(100).optional()
|
|
4395
4396
|
});
|
|
4396
4397
|
exports.HomeContent = zod_1.z.object({
|
|
4397
4398
|
slides: zod_1.z.array(exports.HomeSlide)
|
|
@@ -4599,7 +4600,7 @@ function requireOrders() {
|
|
|
4599
4600
|
last4: zod_1.z.string().regex(/^\d{4}$/).optional()
|
|
4600
4601
|
});
|
|
4601
4602
|
exports.OrderPlacedRequest = exports.OrderEventEnvelope.extend({
|
|
4602
|
-
order_ref: ids_1.OrderRef,
|
|
4603
|
+
order_ref: ids_1.OrderRef.optional(),
|
|
4603
4604
|
placed_at: common_1.Timestamp,
|
|
4604
4605
|
currency: money_1.Currency,
|
|
4605
4606
|
customer: exports.OrderCustomer,
|
|
@@ -6836,7 +6837,7 @@ const widget = "_widget_1v9my_18";
|
|
|
6836
6837
|
const titleRow = "_titleRow_1v9my_26";
|
|
6837
6838
|
const headline$1 = "_headline_1v9my_42";
|
|
6838
6839
|
const track$5 = "_track_1v9my_74";
|
|
6839
|
-
const rule = "_rule_1v9my_99";
|
|
6840
|
+
const rule$1 = "_rule_1v9my_99";
|
|
6840
6841
|
const help = "_help_1v9my_109";
|
|
6841
6842
|
const helpTitle = "_helpTitle_1v9my_115";
|
|
6842
6843
|
const helpRows = "_helpRows_1v9my_122";
|
|
@@ -6851,7 +6852,7 @@ const styles$A = {
|
|
|
6851
6852
|
titleRow,
|
|
6852
6853
|
headline: headline$1,
|
|
6853
6854
|
track: track$5,
|
|
6854
|
-
rule,
|
|
6855
|
+
rule: rule$1,
|
|
6855
6856
|
help,
|
|
6856
6857
|
helpTitle,
|
|
6857
6858
|
helpRows,
|
|
@@ -7674,18 +7675,20 @@ function ReturnFlowContent({ orderRef, returnRef, onDone, locale }) {
|
|
|
7674
7675
|
busy
|
|
7675
7676
|
});
|
|
7676
7677
|
}
|
|
7677
|
-
const page$2 = "
|
|
7678
|
-
const confirmed = "
|
|
7679
|
-
const title$h = "
|
|
7680
|
-
const headline = "
|
|
7681
|
-
const subtitle$4 = "
|
|
7682
|
-
const
|
|
7678
|
+
const page$2 = "_page_2uqhz_6";
|
|
7679
|
+
const confirmed = "_confirmed_2uqhz_16";
|
|
7680
|
+
const title$h = "_title_2uqhz_22";
|
|
7681
|
+
const headline = "_headline_2uqhz_47";
|
|
7682
|
+
const subtitle$4 = "_subtitle_2uqhz_65";
|
|
7683
|
+
const rule = "_rule_2uqhz_90";
|
|
7684
|
+
const done = "_done_2uqhz_107";
|
|
7683
7685
|
const styles$w = {
|
|
7684
7686
|
page: page$2,
|
|
7685
7687
|
confirmed,
|
|
7686
7688
|
title: title$h,
|
|
7687
7689
|
headline,
|
|
7688
7690
|
subtitle: subtitle$4,
|
|
7691
|
+
rule,
|
|
7689
7692
|
done
|
|
7690
7693
|
};
|
|
7691
7694
|
function OrderConfirmationView(props) {
|
|
@@ -7775,6 +7778,8 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
|
|
|
7775
7778
|
} : {},
|
|
7776
7779
|
locale
|
|
7777
7780
|
})]
|
|
7781
|
+
}), jsx("hr", {
|
|
7782
|
+
className: styles$w.rule
|
|
7778
7783
|
}), jsx(OrderLines, {
|
|
7779
7784
|
order
|
|
7780
7785
|
}), jsx(ShippingAddressCard, {
|
|
@@ -10559,24 +10564,24 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
|
|
|
10559
10564
|
}
|
|
10560
10565
|
return unavailable;
|
|
10561
10566
|
}
|
|
10562
|
-
const showcase = "
|
|
10563
|
-
const panel = "
|
|
10564
|
-
const image = "
|
|
10565
|
-
const heroImageBox = "
|
|
10566
|
-
const hero = "
|
|
10567
|
-
const heroContent = "
|
|
10568
|
-
const heroText = "
|
|
10569
|
-
const logo = "
|
|
10570
|
-
const heroTitle = "
|
|
10571
|
-
const heroSub = "
|
|
10572
|
-
const swipe = "
|
|
10573
|
-
const swipeLabel = "
|
|
10574
|
-
const chevron$1 = "
|
|
10575
|
-
const overlay$1 = "
|
|
10576
|
-
const copy = "
|
|
10577
|
-
const title$2 = "
|
|
10578
|
-
const subtitle$1 = "
|
|
10579
|
-
const cta = "
|
|
10567
|
+
const showcase = "_showcase_1y51o_40";
|
|
10568
|
+
const panel = "_panel_1y51o_59";
|
|
10569
|
+
const image = "_image_1y51o_88";
|
|
10570
|
+
const heroImageBox = "_heroImageBox_1y51o_136";
|
|
10571
|
+
const hero = "_hero_1y51o_136";
|
|
10572
|
+
const heroContent = "_heroContent_1y51o_207";
|
|
10573
|
+
const heroText = "_heroText_1y51o_224";
|
|
10574
|
+
const logo = "_logo_1y51o_233";
|
|
10575
|
+
const heroTitle = "_heroTitle_1y51o_253";
|
|
10576
|
+
const heroSub = "_heroSub_1y51o_277";
|
|
10577
|
+
const swipe = "_swipe_1y51o_290";
|
|
10578
|
+
const swipeLabel = "_swipeLabel_1y51o_298";
|
|
10579
|
+
const chevron$1 = "_chevron_1y51o_304";
|
|
10580
|
+
const overlay$1 = "_overlay_1y51o_321";
|
|
10581
|
+
const copy = "_copy_1y51o_332";
|
|
10582
|
+
const title$2 = "_title_1y51o_337";
|
|
10583
|
+
const subtitle$1 = "_subtitle_1y51o_344";
|
|
10584
|
+
const cta = "_cta_1y51o_350";
|
|
10580
10585
|
const styles$2 = {
|
|
10581
10586
|
showcase,
|
|
10582
10587
|
panel,
|
|
@@ -10673,6 +10678,11 @@ function CategoryPanel({ panel: panel2 }) {
|
|
|
10673
10678
|
return jsxs("section", {
|
|
10674
10679
|
className: styles$2.panel,
|
|
10675
10680
|
"aria-label": panel2.title,
|
|
10681
|
+
...panel2.focalY === void 0 ? {} : {
|
|
10682
|
+
style: {
|
|
10683
|
+
"--slide-focal-y": `${panel2.focalY}%`
|
|
10684
|
+
}
|
|
10685
|
+
},
|
|
10676
10686
|
children: [jsx(ShopImage, {
|
|
10677
10687
|
src: panel2.image,
|
|
10678
10688
|
alt: "",
|
|
@@ -10721,7 +10731,10 @@ function useSlides() {
|
|
|
10721
10731
|
subtitle: s.subtitle,
|
|
10722
10732
|
cta: s.cta,
|
|
10723
10733
|
to: s.target ? `/category/${s.target}` : "/",
|
|
10724
|
-
image: s.image ?? ""
|
|
10734
|
+
image: s.image ?? "",
|
|
10735
|
+
...s.focal_y === void 0 ? {} : {
|
|
10736
|
+
focalY: s.focal_y
|
|
10737
|
+
}
|
|
10725
10738
|
})));
|
|
10726
10739
|
}).catch(() => {
|
|
10727
10740
|
});
|
|
@@ -4391,7 +4391,8 @@ function requireContent() {
|
|
|
4391
4391
|
subtitle: zod_1.z.string(),
|
|
4392
4392
|
cta: zod_1.z.string().min(1),
|
|
4393
4393
|
target: zod_1.z.string().min(1).optional(),
|
|
4394
|
-
image: zod_1.z.string().min(1).optional()
|
|
4394
|
+
image: zod_1.z.string().min(1).optional(),
|
|
4395
|
+
focal_y: zod_1.z.number().int().min(0).max(100).optional()
|
|
4395
4396
|
});
|
|
4396
4397
|
exports.HomeContent = zod_1.z.object({
|
|
4397
4398
|
slides: zod_1.z.array(exports.HomeSlide)
|
|
@@ -4599,7 +4600,7 @@ function requireOrders() {
|
|
|
4599
4600
|
last4: zod_1.z.string().regex(/^\d{4}$/).optional()
|
|
4600
4601
|
});
|
|
4601
4602
|
exports.OrderPlacedRequest = exports.OrderEventEnvelope.extend({
|
|
4602
|
-
order_ref: ids_1.OrderRef,
|
|
4603
|
+
order_ref: ids_1.OrderRef.optional(),
|
|
4603
4604
|
placed_at: common_1.Timestamp,
|
|
4604
4605
|
currency: money_1.Currency,
|
|
4605
4606
|
customer: exports.OrderCustomer,
|
|
@@ -6836,7 +6837,7 @@ const widget = "_widget_1v9my_18";
|
|
|
6836
6837
|
const titleRow = "_titleRow_1v9my_26";
|
|
6837
6838
|
const headline$1 = "_headline_1v9my_42";
|
|
6838
6839
|
const track$5 = "_track_1v9my_74";
|
|
6839
|
-
const rule = "_rule_1v9my_99";
|
|
6840
|
+
const rule$1 = "_rule_1v9my_99";
|
|
6840
6841
|
const help = "_help_1v9my_109";
|
|
6841
6842
|
const helpTitle = "_helpTitle_1v9my_115";
|
|
6842
6843
|
const helpRows = "_helpRows_1v9my_122";
|
|
@@ -6851,7 +6852,7 @@ const styles$A = {
|
|
|
6851
6852
|
titleRow,
|
|
6852
6853
|
headline: headline$1,
|
|
6853
6854
|
track: track$5,
|
|
6854
|
-
rule,
|
|
6855
|
+
rule: rule$1,
|
|
6855
6856
|
help,
|
|
6856
6857
|
helpTitle,
|
|
6857
6858
|
helpRows,
|
|
@@ -7674,18 +7675,20 @@ function ReturnFlowContent({ orderRef, returnRef, onDone, locale }) {
|
|
|
7674
7675
|
busy
|
|
7675
7676
|
});
|
|
7676
7677
|
}
|
|
7677
|
-
const page$2 = "
|
|
7678
|
-
const confirmed = "
|
|
7679
|
-
const title$h = "
|
|
7680
|
-
const headline = "
|
|
7681
|
-
const subtitle$4 = "
|
|
7682
|
-
const
|
|
7678
|
+
const page$2 = "_page_2uqhz_6";
|
|
7679
|
+
const confirmed = "_confirmed_2uqhz_16";
|
|
7680
|
+
const title$h = "_title_2uqhz_22";
|
|
7681
|
+
const headline = "_headline_2uqhz_47";
|
|
7682
|
+
const subtitle$4 = "_subtitle_2uqhz_65";
|
|
7683
|
+
const rule = "_rule_2uqhz_90";
|
|
7684
|
+
const done = "_done_2uqhz_107";
|
|
7683
7685
|
const styles$w = {
|
|
7684
7686
|
page: page$2,
|
|
7685
7687
|
confirmed,
|
|
7686
7688
|
title: title$h,
|
|
7687
7689
|
headline,
|
|
7688
7690
|
subtitle: subtitle$4,
|
|
7691
|
+
rule,
|
|
7689
7692
|
done
|
|
7690
7693
|
};
|
|
7691
7694
|
function OrderConfirmationView(props) {
|
|
@@ -7775,6 +7778,8 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
|
|
|
7775
7778
|
} : {},
|
|
7776
7779
|
locale
|
|
7777
7780
|
})]
|
|
7781
|
+
}), jsx("hr", {
|
|
7782
|
+
className: styles$w.rule
|
|
7778
7783
|
}), jsx(OrderLines, {
|
|
7779
7784
|
order
|
|
7780
7785
|
}), jsx(ShippingAddressCard, {
|
|
@@ -10559,24 +10564,24 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
|
|
|
10559
10564
|
}
|
|
10560
10565
|
return unavailable;
|
|
10561
10566
|
}
|
|
10562
|
-
const showcase = "
|
|
10563
|
-
const panel = "
|
|
10564
|
-
const image = "
|
|
10565
|
-
const heroImageBox = "
|
|
10566
|
-
const hero = "
|
|
10567
|
-
const heroContent = "
|
|
10568
|
-
const heroText = "
|
|
10569
|
-
const logo = "
|
|
10570
|
-
const heroTitle = "
|
|
10571
|
-
const heroSub = "
|
|
10572
|
-
const swipe = "
|
|
10573
|
-
const swipeLabel = "
|
|
10574
|
-
const chevron$1 = "
|
|
10575
|
-
const overlay$1 = "
|
|
10576
|
-
const copy = "
|
|
10577
|
-
const title$2 = "
|
|
10578
|
-
const subtitle$1 = "
|
|
10579
|
-
const cta = "
|
|
10567
|
+
const showcase = "_showcase_1y51o_40";
|
|
10568
|
+
const panel = "_panel_1y51o_59";
|
|
10569
|
+
const image = "_image_1y51o_88";
|
|
10570
|
+
const heroImageBox = "_heroImageBox_1y51o_136";
|
|
10571
|
+
const hero = "_hero_1y51o_136";
|
|
10572
|
+
const heroContent = "_heroContent_1y51o_207";
|
|
10573
|
+
const heroText = "_heroText_1y51o_224";
|
|
10574
|
+
const logo = "_logo_1y51o_233";
|
|
10575
|
+
const heroTitle = "_heroTitle_1y51o_253";
|
|
10576
|
+
const heroSub = "_heroSub_1y51o_277";
|
|
10577
|
+
const swipe = "_swipe_1y51o_290";
|
|
10578
|
+
const swipeLabel = "_swipeLabel_1y51o_298";
|
|
10579
|
+
const chevron$1 = "_chevron_1y51o_304";
|
|
10580
|
+
const overlay$1 = "_overlay_1y51o_321";
|
|
10581
|
+
const copy = "_copy_1y51o_332";
|
|
10582
|
+
const title$2 = "_title_1y51o_337";
|
|
10583
|
+
const subtitle$1 = "_subtitle_1y51o_344";
|
|
10584
|
+
const cta = "_cta_1y51o_350";
|
|
10580
10585
|
const styles$2 = {
|
|
10581
10586
|
showcase,
|
|
10582
10587
|
panel,
|
|
@@ -10673,6 +10678,11 @@ function CategoryPanel({ panel: panel2 }) {
|
|
|
10673
10678
|
return jsxs("section", {
|
|
10674
10679
|
className: styles$2.panel,
|
|
10675
10680
|
"aria-label": panel2.title,
|
|
10681
|
+
...panel2.focalY === void 0 ? {} : {
|
|
10682
|
+
style: {
|
|
10683
|
+
"--slide-focal-y": `${panel2.focalY}%`
|
|
10684
|
+
}
|
|
10685
|
+
},
|
|
10676
10686
|
children: [jsx(ShopImage, {
|
|
10677
10687
|
src: panel2.image,
|
|
10678
10688
|
alt: "",
|
|
@@ -10721,7 +10731,10 @@ function useSlides() {
|
|
|
10721
10731
|
subtitle: s.subtitle,
|
|
10722
10732
|
cta: s.cta,
|
|
10723
10733
|
to: s.target ? `/category/${s.target}` : "/",
|
|
10724
|
-
image: s.image ?? ""
|
|
10734
|
+
image: s.image ?? "",
|
|
10735
|
+
...s.focal_y === void 0 ? {} : {
|
|
10736
|
+
focalY: s.focal_y
|
|
10737
|
+
}
|
|
10725
10738
|
})));
|
|
10726
10739
|
}).catch(() => {
|
|
10727
10740
|
});
|
|
@@ -1500,30 +1500,30 @@
|
|
|
1500
1500
|
text-decoration: line-through;
|
|
1501
1501
|
font-variant-numeric: tabular-nums;
|
|
1502
1502
|
}
|
|
1503
|
-
.
|
|
1503
|
+
._page_2uqhz_6 {
|
|
1504
1504
|
display: flex;
|
|
1505
1505
|
flex-direction: column;
|
|
1506
1506
|
gap: var(--space-32);
|
|
1507
1507
|
padding: var(--space-20) var(--space-16) var(--space-24);
|
|
1508
1508
|
}
|
|
1509
|
-
.
|
|
1509
|
+
._confirmed_2uqhz_16 {
|
|
1510
1510
|
display: flex;
|
|
1511
1511
|
flex-direction: column;
|
|
1512
1512
|
gap: var(--space-24);
|
|
1513
1513
|
}
|
|
1514
|
-
.
|
|
1514
|
+
._title_2uqhz_22 {
|
|
1515
1515
|
display: flex;
|
|
1516
1516
|
flex-direction: column;
|
|
1517
1517
|
gap: var(--space-12);
|
|
1518
1518
|
}
|
|
1519
|
-
.
|
|
1519
|
+
._headline_2uqhz_47 {
|
|
1520
1520
|
margin: 0;
|
|
1521
1521
|
font-size: var(--type-heading-md-size);
|
|
1522
1522
|
line-height: 14px;
|
|
1523
1523
|
font-weight: var(--font-weight-bold);
|
|
1524
1524
|
color: var(--color-state-text-success);
|
|
1525
1525
|
}
|
|
1526
|
-
.
|
|
1526
|
+
._subtitle_2uqhz_65 {
|
|
1527
1527
|
margin: -6px 0;
|
|
1528
1528
|
padding: 6px 0;
|
|
1529
1529
|
font-size: var(--type-paragraph-size);
|
|
@@ -1534,7 +1534,13 @@
|
|
|
1534
1534
|
text-overflow: ellipsis;
|
|
1535
1535
|
white-space: nowrap;
|
|
1536
1536
|
}
|
|
1537
|
-
.
|
|
1537
|
+
._rule_2uqhz_90 {
|
|
1538
|
+
height: 1px;
|
|
1539
|
+
margin: 0 0 -1px;
|
|
1540
|
+
border: 0;
|
|
1541
|
+
background: var(--color-border-default);
|
|
1542
|
+
}
|
|
1543
|
+
._done_2uqhz_107 {
|
|
1538
1544
|
border-color: var(--color-surface-max);
|
|
1539
1545
|
}
|
|
1540
1546
|
._badge_ghd02_6 {
|
|
@@ -3384,7 +3390,7 @@
|
|
|
3384
3390
|
column-gap: var(--space-12);
|
|
3385
3391
|
row-gap: var(--space-24);
|
|
3386
3392
|
}
|
|
3387
|
-
.
|
|
3393
|
+
._showcase_1y51o_40 {
|
|
3388
3394
|
height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
|
|
3389
3395
|
overflow-y: auto;
|
|
3390
3396
|
scroll-snap-type: y mandatory;
|
|
@@ -3393,10 +3399,10 @@
|
|
|
3393
3399
|
background: #080e12;
|
|
3394
3400
|
scrollbar-width: none;
|
|
3395
3401
|
}
|
|
3396
|
-
.
|
|
3402
|
+
._showcase_1y51o_40::-webkit-scrollbar {
|
|
3397
3403
|
display: none;
|
|
3398
3404
|
}
|
|
3399
|
-
.
|
|
3405
|
+
._panel_1y51o_59 {
|
|
3400
3406
|
position: relative;
|
|
3401
3407
|
height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
|
|
3402
3408
|
scroll-snap-align: start;
|
|
@@ -3404,11 +3410,11 @@
|
|
|
3404
3410
|
overflow: hidden;
|
|
3405
3411
|
background: #080e12;
|
|
3406
3412
|
}
|
|
3407
|
-
.
|
|
3413
|
+
._image_1y51o_88 {
|
|
3408
3414
|
object-fit: cover;
|
|
3409
|
-
object-position:
|
|
3415
|
+
object-position: 50% var(--slide-focal-y, 50%);
|
|
3410
3416
|
}
|
|
3411
|
-
.
|
|
3417
|
+
._heroImageBox_1y51o_136 {
|
|
3412
3418
|
position: absolute;
|
|
3413
3419
|
top: 31px;
|
|
3414
3420
|
left: 0;
|
|
@@ -3416,7 +3422,7 @@
|
|
|
3416
3422
|
aspect-ratio: 750 / 1348;
|
|
3417
3423
|
overflow: hidden;
|
|
3418
3424
|
}
|
|
3419
|
-
.
|
|
3425
|
+
._hero_1y51o_136::after {
|
|
3420
3426
|
content: "";
|
|
3421
3427
|
position: absolute;
|
|
3422
3428
|
inset: 0;
|
|
@@ -3431,10 +3437,10 @@
|
|
|
3431
3437
|
rgba(8, 14, 18, 1) 90%);
|
|
3432
3438
|
pointer-events: none;
|
|
3433
3439
|
}
|
|
3434
|
-
.
|
|
3440
|
+
._hero_1y51o_136 ._image_1y51o_88 {
|
|
3435
3441
|
object-position: top;
|
|
3436
3442
|
}
|
|
3437
|
-
.
|
|
3443
|
+
._hero_1y51o_136 ._heroContent_1y51o_207 {
|
|
3438
3444
|
position: absolute;
|
|
3439
3445
|
bottom: 0;
|
|
3440
3446
|
left: 0;
|
|
@@ -3445,7 +3451,7 @@
|
|
|
3445
3451
|
gap: 24px;
|
|
3446
3452
|
align-items: stretch;
|
|
3447
3453
|
}
|
|
3448
|
-
.
|
|
3454
|
+
._heroText_1y51o_224 {
|
|
3449
3455
|
display: flex;
|
|
3450
3456
|
flex-direction: column;
|
|
3451
3457
|
gap: 8px;
|
|
@@ -3453,11 +3459,11 @@
|
|
|
3453
3459
|
padding: 0 24px;
|
|
3454
3460
|
text-align: center;
|
|
3455
3461
|
}
|
|
3456
|
-
.
|
|
3462
|
+
._heroText_1y51o_224 ._logo_1y51o_233 {
|
|
3457
3463
|
width: 48px;
|
|
3458
3464
|
height: 48px;
|
|
3459
3465
|
}
|
|
3460
|
-
.
|
|
3466
|
+
._heroTitle_1y51o_253 {
|
|
3461
3467
|
width: 100%;
|
|
3462
3468
|
margin: 0;
|
|
3463
3469
|
font-family:
|
|
@@ -3472,14 +3478,14 @@
|
|
|
3472
3478
|
letter-spacing: -1.12px;
|
|
3473
3479
|
color: #f9fafa;
|
|
3474
3480
|
}
|
|
3475
|
-
.
|
|
3481
|
+
._heroSub_1y51o_277 {
|
|
3476
3482
|
margin: 0;
|
|
3477
3483
|
font-size: 16px;
|
|
3478
3484
|
line-height: 1.55;
|
|
3479
3485
|
color: #f9fafa;
|
|
3480
3486
|
max-width: 327px;
|
|
3481
3487
|
}
|
|
3482
|
-
.
|
|
3488
|
+
._swipe_1y51o_290 {
|
|
3483
3489
|
display: flex;
|
|
3484
3490
|
flex-direction: column;
|
|
3485
3491
|
align-items: center;
|
|
@@ -3487,19 +3493,19 @@
|
|
|
3487
3493
|
padding: 8px 0;
|
|
3488
3494
|
background: #080e12;
|
|
3489
3495
|
}
|
|
3490
|
-
.
|
|
3496
|
+
._swipeLabel_1y51o_298 {
|
|
3491
3497
|
margin: 0;
|
|
3492
3498
|
font-size: 14px;
|
|
3493
3499
|
line-height: 1;
|
|
3494
3500
|
color: rgba(255, 255, 255, 0.54);
|
|
3495
3501
|
}
|
|
3496
|
-
.
|
|
3502
|
+
._chevron_1y51o_304 {
|
|
3497
3503
|
width: 24px;
|
|
3498
3504
|
height: 24px;
|
|
3499
3505
|
color: rgba(255, 255, 255, 0.54);
|
|
3500
|
-
animation:
|
|
3506
|
+
animation: _bob_1y51o_1 1.8s ease-in-out infinite;
|
|
3501
3507
|
}
|
|
3502
|
-
@keyframes
|
|
3508
|
+
@keyframes _bob_1y51o_1 {
|
|
3503
3509
|
0%, 100% {
|
|
3504
3510
|
transform: translateY(0);
|
|
3505
3511
|
}
|
|
@@ -3507,7 +3513,7 @@
|
|
|
3507
3513
|
transform: translateY(4px);
|
|
3508
3514
|
}
|
|
3509
3515
|
}
|
|
3510
|
-
.
|
|
3516
|
+
._overlay_1y51o_321 {
|
|
3511
3517
|
position: absolute;
|
|
3512
3518
|
inset: 0;
|
|
3513
3519
|
z-index: 1;
|
|
@@ -3518,25 +3524,25 @@
|
|
|
3518
3524
|
align-items: flex-start;
|
|
3519
3525
|
padding: 0 24px 24px;
|
|
3520
3526
|
}
|
|
3521
|
-
.
|
|
3527
|
+
._copy_1y51o_332 {
|
|
3522
3528
|
display: flex;
|
|
3523
3529
|
flex-direction: column;
|
|
3524
3530
|
gap: 8px;
|
|
3525
3531
|
}
|
|
3526
|
-
.
|
|
3532
|
+
._title_1y51o_337 {
|
|
3527
3533
|
margin: 0;
|
|
3528
3534
|
font-size: 32px;
|
|
3529
3535
|
line-height: 1.2;
|
|
3530
3536
|
font-weight: 700;
|
|
3531
3537
|
color: #f9fafa;
|
|
3532
3538
|
}
|
|
3533
|
-
.
|
|
3539
|
+
._subtitle_1y51o_344 {
|
|
3534
3540
|
margin: 0;
|
|
3535
3541
|
font-size: 16px;
|
|
3536
3542
|
line-height: 1.55;
|
|
3537
3543
|
color: #f9fafa;
|
|
3538
3544
|
}
|
|
3539
|
-
.
|
|
3545
|
+
._cta_1y51o_350 {
|
|
3540
3546
|
display: inline-flex;
|
|
3541
3547
|
align-items: center;
|
|
3542
3548
|
justify-content: center;
|
|
@@ -3550,15 +3556,15 @@
|
|
|
3550
3556
|
font-weight: 700;
|
|
3551
3557
|
text-decoration: none;
|
|
3552
3558
|
}
|
|
3553
|
-
.
|
|
3559
|
+
._cta_1y51o_350::after {
|
|
3554
3560
|
content: "";
|
|
3555
3561
|
position: absolute;
|
|
3556
3562
|
inset: 0;
|
|
3557
3563
|
}
|
|
3558
|
-
.
|
|
3564
|
+
._cta_1y51o_350:active {
|
|
3559
3565
|
background: rgba(249, 250, 250, 0.12);
|
|
3560
3566
|
}
|
|
3561
|
-
.
|
|
3567
|
+
._cta_1y51o_350:focus-visible {
|
|
3562
3568
|
outline: none;
|
|
3563
3569
|
box-shadow: var(--focus-ring);
|
|
3564
3570
|
}
|
package/dist/styles.css
CHANGED
|
@@ -1500,30 +1500,30 @@
|
|
|
1500
1500
|
text-decoration: line-through;
|
|
1501
1501
|
font-variant-numeric: tabular-nums;
|
|
1502
1502
|
}
|
|
1503
|
-
.
|
|
1503
|
+
._page_2uqhz_6 {
|
|
1504
1504
|
display: flex;
|
|
1505
1505
|
flex-direction: column;
|
|
1506
1506
|
gap: var(--space-32);
|
|
1507
1507
|
padding: var(--space-20) var(--space-16) var(--space-24);
|
|
1508
1508
|
}
|
|
1509
|
-
.
|
|
1509
|
+
._confirmed_2uqhz_16 {
|
|
1510
1510
|
display: flex;
|
|
1511
1511
|
flex-direction: column;
|
|
1512
1512
|
gap: var(--space-24);
|
|
1513
1513
|
}
|
|
1514
|
-
.
|
|
1514
|
+
._title_2uqhz_22 {
|
|
1515
1515
|
display: flex;
|
|
1516
1516
|
flex-direction: column;
|
|
1517
1517
|
gap: var(--space-12);
|
|
1518
1518
|
}
|
|
1519
|
-
.
|
|
1519
|
+
._headline_2uqhz_47 {
|
|
1520
1520
|
margin: 0;
|
|
1521
1521
|
font-size: var(--type-heading-md-size);
|
|
1522
1522
|
line-height: 14px;
|
|
1523
1523
|
font-weight: var(--font-weight-bold);
|
|
1524
1524
|
color: var(--color-state-text-success);
|
|
1525
1525
|
}
|
|
1526
|
-
.
|
|
1526
|
+
._subtitle_2uqhz_65 {
|
|
1527
1527
|
margin: -6px 0;
|
|
1528
1528
|
padding: 6px 0;
|
|
1529
1529
|
font-size: var(--type-paragraph-size);
|
|
@@ -1534,7 +1534,13 @@
|
|
|
1534
1534
|
text-overflow: ellipsis;
|
|
1535
1535
|
white-space: nowrap;
|
|
1536
1536
|
}
|
|
1537
|
-
.
|
|
1537
|
+
._rule_2uqhz_90 {
|
|
1538
|
+
height: 1px;
|
|
1539
|
+
margin: 0 0 -1px;
|
|
1540
|
+
border: 0;
|
|
1541
|
+
background: var(--color-border-default);
|
|
1542
|
+
}
|
|
1543
|
+
._done_2uqhz_107 {
|
|
1538
1544
|
border-color: var(--color-surface-max);
|
|
1539
1545
|
}
|
|
1540
1546
|
._badge_ghd02_6 {
|
|
@@ -3384,7 +3390,7 @@
|
|
|
3384
3390
|
column-gap: var(--space-12);
|
|
3385
3391
|
row-gap: var(--space-24);
|
|
3386
3392
|
}
|
|
3387
|
-
.
|
|
3393
|
+
._showcase_1y51o_40 {
|
|
3388
3394
|
height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
|
|
3389
3395
|
overflow-y: auto;
|
|
3390
3396
|
scroll-snap-type: y mandatory;
|
|
@@ -3393,10 +3399,10 @@
|
|
|
3393
3399
|
background: #080e12;
|
|
3394
3400
|
scrollbar-width: none;
|
|
3395
3401
|
}
|
|
3396
|
-
.
|
|
3402
|
+
._showcase_1y51o_40::-webkit-scrollbar {
|
|
3397
3403
|
display: none;
|
|
3398
3404
|
}
|
|
3399
|
-
.
|
|
3405
|
+
._panel_1y51o_59 {
|
|
3400
3406
|
position: relative;
|
|
3401
3407
|
height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
|
|
3402
3408
|
scroll-snap-align: start;
|
|
@@ -3404,11 +3410,11 @@
|
|
|
3404
3410
|
overflow: hidden;
|
|
3405
3411
|
background: #080e12;
|
|
3406
3412
|
}
|
|
3407
|
-
.
|
|
3413
|
+
._image_1y51o_88 {
|
|
3408
3414
|
object-fit: cover;
|
|
3409
|
-
object-position:
|
|
3415
|
+
object-position: 50% var(--slide-focal-y, 50%);
|
|
3410
3416
|
}
|
|
3411
|
-
.
|
|
3417
|
+
._heroImageBox_1y51o_136 {
|
|
3412
3418
|
position: absolute;
|
|
3413
3419
|
top: 31px;
|
|
3414
3420
|
left: 0;
|
|
@@ -3416,7 +3422,7 @@
|
|
|
3416
3422
|
aspect-ratio: 750 / 1348;
|
|
3417
3423
|
overflow: hidden;
|
|
3418
3424
|
}
|
|
3419
|
-
.
|
|
3425
|
+
._hero_1y51o_136::after {
|
|
3420
3426
|
content: "";
|
|
3421
3427
|
position: absolute;
|
|
3422
3428
|
inset: 0;
|
|
@@ -3431,10 +3437,10 @@
|
|
|
3431
3437
|
rgba(8, 14, 18, 1) 90%);
|
|
3432
3438
|
pointer-events: none;
|
|
3433
3439
|
}
|
|
3434
|
-
.
|
|
3440
|
+
._hero_1y51o_136 ._image_1y51o_88 {
|
|
3435
3441
|
object-position: top;
|
|
3436
3442
|
}
|
|
3437
|
-
.
|
|
3443
|
+
._hero_1y51o_136 ._heroContent_1y51o_207 {
|
|
3438
3444
|
position: absolute;
|
|
3439
3445
|
bottom: 0;
|
|
3440
3446
|
left: 0;
|
|
@@ -3445,7 +3451,7 @@
|
|
|
3445
3451
|
gap: 24px;
|
|
3446
3452
|
align-items: stretch;
|
|
3447
3453
|
}
|
|
3448
|
-
.
|
|
3454
|
+
._heroText_1y51o_224 {
|
|
3449
3455
|
display: flex;
|
|
3450
3456
|
flex-direction: column;
|
|
3451
3457
|
gap: 8px;
|
|
@@ -3453,11 +3459,11 @@
|
|
|
3453
3459
|
padding: 0 24px;
|
|
3454
3460
|
text-align: center;
|
|
3455
3461
|
}
|
|
3456
|
-
.
|
|
3462
|
+
._heroText_1y51o_224 ._logo_1y51o_233 {
|
|
3457
3463
|
width: 48px;
|
|
3458
3464
|
height: 48px;
|
|
3459
3465
|
}
|
|
3460
|
-
.
|
|
3466
|
+
._heroTitle_1y51o_253 {
|
|
3461
3467
|
width: 100%;
|
|
3462
3468
|
margin: 0;
|
|
3463
3469
|
font-family:
|
|
@@ -3472,14 +3478,14 @@
|
|
|
3472
3478
|
letter-spacing: -1.12px;
|
|
3473
3479
|
color: #f9fafa;
|
|
3474
3480
|
}
|
|
3475
|
-
.
|
|
3481
|
+
._heroSub_1y51o_277 {
|
|
3476
3482
|
margin: 0;
|
|
3477
3483
|
font-size: 16px;
|
|
3478
3484
|
line-height: 1.55;
|
|
3479
3485
|
color: #f9fafa;
|
|
3480
3486
|
max-width: 327px;
|
|
3481
3487
|
}
|
|
3482
|
-
.
|
|
3488
|
+
._swipe_1y51o_290 {
|
|
3483
3489
|
display: flex;
|
|
3484
3490
|
flex-direction: column;
|
|
3485
3491
|
align-items: center;
|
|
@@ -3487,19 +3493,19 @@
|
|
|
3487
3493
|
padding: 8px 0;
|
|
3488
3494
|
background: #080e12;
|
|
3489
3495
|
}
|
|
3490
|
-
.
|
|
3496
|
+
._swipeLabel_1y51o_298 {
|
|
3491
3497
|
margin: 0;
|
|
3492
3498
|
font-size: 14px;
|
|
3493
3499
|
line-height: 1;
|
|
3494
3500
|
color: rgba(255, 255, 255, 0.54);
|
|
3495
3501
|
}
|
|
3496
|
-
.
|
|
3502
|
+
._chevron_1y51o_304 {
|
|
3497
3503
|
width: 24px;
|
|
3498
3504
|
height: 24px;
|
|
3499
3505
|
color: rgba(255, 255, 255, 0.54);
|
|
3500
|
-
animation:
|
|
3506
|
+
animation: _bob_1y51o_1 1.8s ease-in-out infinite;
|
|
3501
3507
|
}
|
|
3502
|
-
@keyframes
|
|
3508
|
+
@keyframes _bob_1y51o_1 {
|
|
3503
3509
|
0%, 100% {
|
|
3504
3510
|
transform: translateY(0);
|
|
3505
3511
|
}
|
|
@@ -3507,7 +3513,7 @@
|
|
|
3507
3513
|
transform: translateY(4px);
|
|
3508
3514
|
}
|
|
3509
3515
|
}
|
|
3510
|
-
.
|
|
3516
|
+
._overlay_1y51o_321 {
|
|
3511
3517
|
position: absolute;
|
|
3512
3518
|
inset: 0;
|
|
3513
3519
|
z-index: 1;
|
|
@@ -3518,25 +3524,25 @@
|
|
|
3518
3524
|
align-items: flex-start;
|
|
3519
3525
|
padding: 0 24px 24px;
|
|
3520
3526
|
}
|
|
3521
|
-
.
|
|
3527
|
+
._copy_1y51o_332 {
|
|
3522
3528
|
display: flex;
|
|
3523
3529
|
flex-direction: column;
|
|
3524
3530
|
gap: 8px;
|
|
3525
3531
|
}
|
|
3526
|
-
.
|
|
3532
|
+
._title_1y51o_337 {
|
|
3527
3533
|
margin: 0;
|
|
3528
3534
|
font-size: 32px;
|
|
3529
3535
|
line-height: 1.2;
|
|
3530
3536
|
font-weight: 700;
|
|
3531
3537
|
color: #f9fafa;
|
|
3532
3538
|
}
|
|
3533
|
-
.
|
|
3539
|
+
._subtitle_1y51o_344 {
|
|
3534
3540
|
margin: 0;
|
|
3535
3541
|
font-size: 16px;
|
|
3536
3542
|
line-height: 1.55;
|
|
3537
3543
|
color: #f9fafa;
|
|
3538
3544
|
}
|
|
3539
|
-
.
|
|
3545
|
+
._cta_1y51o_350 {
|
|
3540
3546
|
display: inline-flex;
|
|
3541
3547
|
align-items: center;
|
|
3542
3548
|
justify-content: center;
|
|
@@ -3550,15 +3556,15 @@
|
|
|
3550
3556
|
font-weight: 700;
|
|
3551
3557
|
text-decoration: none;
|
|
3552
3558
|
}
|
|
3553
|
-
.
|
|
3559
|
+
._cta_1y51o_350::after {
|
|
3554
3560
|
content: "";
|
|
3555
3561
|
position: absolute;
|
|
3556
3562
|
inset: 0;
|
|
3557
3563
|
}
|
|
3558
|
-
.
|
|
3564
|
+
._cta_1y51o_350:active {
|
|
3559
3565
|
background: rgba(249, 250, 250, 0.12);
|
|
3560
3566
|
}
|
|
3561
|
-
.
|
|
3567
|
+
._cta_1y51o_350:focus-visible {
|
|
3562
3568
|
outline: none;
|
|
3563
3569
|
box-shadow: var(--focus-ring);
|
|
3564
3570
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nok-integration/storefront-react",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.7",
|
|
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
|
"publishConfig": {
|