@nok-integration/storefront-react 0.19.6 → 0.19.8

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 CHANGED
@@ -2503,6 +2503,7 @@ declare function createClient(options: ClientOptions): {
2503
2503
  cta: string;
2504
2504
  image?: string | undefined;
2505
2505
  target?: string | undefined;
2506
+ focal_y?: number | undefined;
2506
2507
  }[];
2507
2508
  }>;
2508
2509
  };
@@ -3692,11 +3693,20 @@ declare const OrderDetail: z.ZodObject<{
3692
3693
  currency: string;
3693
3694
  }>;
3694
3695
  /**
3695
- * The undiscounted per-unit price, echoed from intake. Display only.
3696
+ * The undiscounted per-unit price. Display only.
3696
3697
  *
3697
- * Drawn as a struck-through price with a saving badge beside what was paid. Absent
3698
- * means the line was sold at full price, which is the ordinary case; see `OrderLine`
3699
- * for why this is DAZN's figure and not our catalogue's.
3698
+ * Drawn as a struck-through price with a saving badge beside what was paid. Absent means
3699
+ * the line was sold at full price.
3700
+ *
3701
+ * **Two possible sources, and the screen cannot tell them apart.** It is the
3702
+ * `compare_at_unit_price` stated on the order where one was sent, and the catalogue's
3703
+ * current compare-at for the order's currency where it was not. The second exists
3704
+ * because the first is not yet populated, and it carries a caveat the first does not: a
3705
+ * catalogue price moves with merchandising, so this figure can differ between two reads
3706
+ * of the same order. What was *paid* never moves.
3707
+ *
3708
+ * Always strictly greater than `unit_price` when present — a compare-at at or below what
3709
+ * was paid is dropped rather than drawn as a saving of zero or less.
3700
3710
  */
3701
3711
  compare_at_unit_price: z.ZodOptional<z.ZodObject<{
3702
3712
  amount: z.ZodNumber;
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,
@@ -6472,22 +6473,23 @@ function renderValue(key, pricing, format, t) {
6472
6473
  }
6473
6474
  return key === "discount" ? null : format(pricing[key]);
6474
6475
  }
6475
- const lines$1 = "_lines_7mr8w_19";
6476
- const line$2 = "_line_7mr8w_19";
6477
- const thumb$2 = "_thumb_7mr8w_34";
6478
- const image$9 = "_image_7mr8w_44";
6479
- const placeholder$8 = "_placeholder_7mr8w_48";
6480
- const lineBody = "_lineBody_7mr8w_53";
6481
- const lineText = "_lineText_7mr8w_62";
6482
- const lineTitle = "_lineTitle_7mr8w_72";
6483
- const lineMeta = "_lineMeta_7mr8w_91";
6484
- const linePrice = "_linePrice_7mr8w_106";
6485
- const paid$3 = "_paid_7mr8w_118";
6486
- const was$4 = "_was_7mr8w_124";
6487
- const card$4 = "_card_7mr8w_144";
6488
- const cardTitle = "_cardTitle_7mr8w_152";
6489
- const cardBody = "_cardBody_7mr8w_164";
6490
- const summaryCard = "_summaryCard_7mr8w_136";
6476
+ const lines$1 = "_lines_1vmnm_19";
6477
+ const line$2 = "_line_1vmnm_19";
6478
+ const thumb$2 = "_thumb_1vmnm_34";
6479
+ const image$9 = "_image_1vmnm_44";
6480
+ const placeholder$8 = "_placeholder_1vmnm_48";
6481
+ const lineBody = "_lineBody_1vmnm_53";
6482
+ const lineText = "_lineText_1vmnm_62";
6483
+ const lineTitle = "_lineTitle_1vmnm_72";
6484
+ const lineMeta = "_lineMeta_1vmnm_104";
6485
+ const detail$1 = "_detail_1vmnm_101";
6486
+ const linePrice = "_linePrice_1vmnm_125";
6487
+ const paid$3 = "_paid_1vmnm_137";
6488
+ const was$4 = "_was_1vmnm_150";
6489
+ const card$4 = "_card_1vmnm_173";
6490
+ const cardTitle = "_cardTitle_1vmnm_181";
6491
+ const cardBody = "_cardBody_1vmnm_193";
6492
+ const summaryCard = "_summaryCard_1vmnm_165";
6491
6493
  const styles$D = {
6492
6494
  lines: lines$1,
6493
6495
  line: line$2,
@@ -6498,6 +6500,7 @@ const styles$D = {
6498
6500
  lineText,
6499
6501
  lineTitle,
6500
6502
  lineMeta,
6503
+ detail: detail$1,
6501
6504
  linePrice,
6502
6505
  paid: paid$3,
6503
6506
  was: was$4,
@@ -6549,6 +6552,7 @@ function OrderLine({ item: item2 }) {
6549
6552
  }), jsxs("span", {
6550
6553
  className: styles$D.lineMeta,
6551
6554
  children: [details2.map((detail2) => jsx("span", {
6555
+ className: styles$D.detail,
6552
6556
  children: detail2
6553
6557
  }, detail2)), pct !== void 0 && jsx(SaleBadge, {
6554
6558
  pct
@@ -10563,24 +10567,24 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
10563
10567
  }
10564
10568
  return unavailable;
10565
10569
  }
10566
- const showcase = "_showcase_12z2a_40";
10567
- const panel = "_panel_12z2a_59";
10568
- const image = "_image_12z2a_69";
10569
- const heroImageBox = "_heroImageBox_12z2a_117";
10570
- const hero = "_hero_12z2a_117";
10571
- const heroContent = "_heroContent_12z2a_188";
10572
- const heroText = "_heroText_12z2a_205";
10573
- const logo = "_logo_12z2a_214";
10574
- const heroTitle = "_heroTitle_12z2a_234";
10575
- const heroSub = "_heroSub_12z2a_258";
10576
- const swipe = "_swipe_12z2a_271";
10577
- const swipeLabel = "_swipeLabel_12z2a_279";
10578
- const chevron$1 = "_chevron_12z2a_285";
10579
- const overlay$1 = "_overlay_12z2a_302";
10580
- const copy = "_copy_12z2a_313";
10581
- const title$2 = "_title_12z2a_318";
10582
- const subtitle$1 = "_subtitle_12z2a_325";
10583
- const cta = "_cta_12z2a_331";
10570
+ const showcase = "_showcase_1y51o_40";
10571
+ const panel = "_panel_1y51o_59";
10572
+ const image = "_image_1y51o_88";
10573
+ const heroImageBox = "_heroImageBox_1y51o_136";
10574
+ const hero = "_hero_1y51o_136";
10575
+ const heroContent = "_heroContent_1y51o_207";
10576
+ const heroText = "_heroText_1y51o_224";
10577
+ const logo = "_logo_1y51o_233";
10578
+ const heroTitle = "_heroTitle_1y51o_253";
10579
+ const heroSub = "_heroSub_1y51o_277";
10580
+ const swipe = "_swipe_1y51o_290";
10581
+ const swipeLabel = "_swipeLabel_1y51o_298";
10582
+ const chevron$1 = "_chevron_1y51o_304";
10583
+ const overlay$1 = "_overlay_1y51o_321";
10584
+ const copy = "_copy_1y51o_332";
10585
+ const title$2 = "_title_1y51o_337";
10586
+ const subtitle$1 = "_subtitle_1y51o_344";
10587
+ const cta = "_cta_1y51o_350";
10584
10588
  const styles$2 = {
10585
10589
  showcase,
10586
10590
  panel,
@@ -10677,6 +10681,11 @@ function CategoryPanel({ panel: panel2 }) {
10677
10681
  return jsxs("section", {
10678
10682
  className: styles$2.panel,
10679
10683
  "aria-label": panel2.title,
10684
+ ...panel2.focalY === void 0 ? {} : {
10685
+ style: {
10686
+ "--slide-focal-y": `${panel2.focalY}%`
10687
+ }
10688
+ },
10680
10689
  children: [jsx(ShopImage, {
10681
10690
  src: panel2.image,
10682
10691
  alt: "",
@@ -10725,7 +10734,10 @@ function useSlides() {
10725
10734
  subtitle: s.subtitle,
10726
10735
  cta: s.cta,
10727
10736
  to: s.target ? `/category/${s.target}` : "/",
10728
- image: s.image ?? ""
10737
+ image: s.image ?? "",
10738
+ ...s.focal_y === void 0 ? {} : {
10739
+ focalY: s.focal_y
10740
+ }
10729
10741
  })));
10730
10742
  }).catch(() => {
10731
10743
  });
@@ -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,
@@ -6472,22 +6473,23 @@ function renderValue(key, pricing, format, t) {
6472
6473
  }
6473
6474
  return key === "discount" ? null : format(pricing[key]);
6474
6475
  }
6475
- const lines$1 = "_lines_7mr8w_19";
6476
- const line$2 = "_line_7mr8w_19";
6477
- const thumb$2 = "_thumb_7mr8w_34";
6478
- const image$9 = "_image_7mr8w_44";
6479
- const placeholder$8 = "_placeholder_7mr8w_48";
6480
- const lineBody = "_lineBody_7mr8w_53";
6481
- const lineText = "_lineText_7mr8w_62";
6482
- const lineTitle = "_lineTitle_7mr8w_72";
6483
- const lineMeta = "_lineMeta_7mr8w_91";
6484
- const linePrice = "_linePrice_7mr8w_106";
6485
- const paid$3 = "_paid_7mr8w_118";
6486
- const was$4 = "_was_7mr8w_124";
6487
- const card$4 = "_card_7mr8w_144";
6488
- const cardTitle = "_cardTitle_7mr8w_152";
6489
- const cardBody = "_cardBody_7mr8w_164";
6490
- const summaryCard = "_summaryCard_7mr8w_136";
6476
+ const lines$1 = "_lines_1vmnm_19";
6477
+ const line$2 = "_line_1vmnm_19";
6478
+ const thumb$2 = "_thumb_1vmnm_34";
6479
+ const image$9 = "_image_1vmnm_44";
6480
+ const placeholder$8 = "_placeholder_1vmnm_48";
6481
+ const lineBody = "_lineBody_1vmnm_53";
6482
+ const lineText = "_lineText_1vmnm_62";
6483
+ const lineTitle = "_lineTitle_1vmnm_72";
6484
+ const lineMeta = "_lineMeta_1vmnm_104";
6485
+ const detail$1 = "_detail_1vmnm_101";
6486
+ const linePrice = "_linePrice_1vmnm_125";
6487
+ const paid$3 = "_paid_1vmnm_137";
6488
+ const was$4 = "_was_1vmnm_150";
6489
+ const card$4 = "_card_1vmnm_173";
6490
+ const cardTitle = "_cardTitle_1vmnm_181";
6491
+ const cardBody = "_cardBody_1vmnm_193";
6492
+ const summaryCard = "_summaryCard_1vmnm_165";
6491
6493
  const styles$D = {
6492
6494
  lines: lines$1,
6493
6495
  line: line$2,
@@ -6498,6 +6500,7 @@ const styles$D = {
6498
6500
  lineText,
6499
6501
  lineTitle,
6500
6502
  lineMeta,
6503
+ detail: detail$1,
6501
6504
  linePrice,
6502
6505
  paid: paid$3,
6503
6506
  was: was$4,
@@ -6549,6 +6552,7 @@ function OrderLine({ item: item2 }) {
6549
6552
  }), jsxs("span", {
6550
6553
  className: styles$D.lineMeta,
6551
6554
  children: [details2.map((detail2) => jsx("span", {
6555
+ className: styles$D.detail,
6552
6556
  children: detail2
6553
6557
  }, detail2)), pct !== void 0 && jsx(SaleBadge, {
6554
6558
  pct
@@ -10563,24 +10567,24 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
10563
10567
  }
10564
10568
  return unavailable;
10565
10569
  }
10566
- const showcase = "_showcase_12z2a_40";
10567
- const panel = "_panel_12z2a_59";
10568
- const image = "_image_12z2a_69";
10569
- const heroImageBox = "_heroImageBox_12z2a_117";
10570
- const hero = "_hero_12z2a_117";
10571
- const heroContent = "_heroContent_12z2a_188";
10572
- const heroText = "_heroText_12z2a_205";
10573
- const logo = "_logo_12z2a_214";
10574
- const heroTitle = "_heroTitle_12z2a_234";
10575
- const heroSub = "_heroSub_12z2a_258";
10576
- const swipe = "_swipe_12z2a_271";
10577
- const swipeLabel = "_swipeLabel_12z2a_279";
10578
- const chevron$1 = "_chevron_12z2a_285";
10579
- const overlay$1 = "_overlay_12z2a_302";
10580
- const copy = "_copy_12z2a_313";
10581
- const title$2 = "_title_12z2a_318";
10582
- const subtitle$1 = "_subtitle_12z2a_325";
10583
- const cta = "_cta_12z2a_331";
10570
+ const showcase = "_showcase_1y51o_40";
10571
+ const panel = "_panel_1y51o_59";
10572
+ const image = "_image_1y51o_88";
10573
+ const heroImageBox = "_heroImageBox_1y51o_136";
10574
+ const hero = "_hero_1y51o_136";
10575
+ const heroContent = "_heroContent_1y51o_207";
10576
+ const heroText = "_heroText_1y51o_224";
10577
+ const logo = "_logo_1y51o_233";
10578
+ const heroTitle = "_heroTitle_1y51o_253";
10579
+ const heroSub = "_heroSub_1y51o_277";
10580
+ const swipe = "_swipe_1y51o_290";
10581
+ const swipeLabel = "_swipeLabel_1y51o_298";
10582
+ const chevron$1 = "_chevron_1y51o_304";
10583
+ const overlay$1 = "_overlay_1y51o_321";
10584
+ const copy = "_copy_1y51o_332";
10585
+ const title$2 = "_title_1y51o_337";
10586
+ const subtitle$1 = "_subtitle_1y51o_344";
10587
+ const cta = "_cta_1y51o_350";
10584
10588
  const styles$2 = {
10585
10589
  showcase,
10586
10590
  panel,
@@ -10677,6 +10681,11 @@ function CategoryPanel({ panel: panel2 }) {
10677
10681
  return jsxs("section", {
10678
10682
  className: styles$2.panel,
10679
10683
  "aria-label": panel2.title,
10684
+ ...panel2.focalY === void 0 ? {} : {
10685
+ style: {
10686
+ "--slide-focal-y": `${panel2.focalY}%`
10687
+ }
10688
+ },
10680
10689
  children: [jsx(ShopImage, {
10681
10690
  src: panel2.image,
10682
10691
  alt: "",
@@ -10725,7 +10734,10 @@ function useSlides() {
10725
10734
  subtitle: s.subtitle,
10726
10735
  cta: s.cta,
10727
10736
  to: s.target ? `/category/${s.target}` : "/",
10728
- image: s.image ?? ""
10737
+ image: s.image ?? "",
10738
+ ...s.focal_y === void 0 ? {} : {
10739
+ focalY: s.focal_y
10740
+ }
10729
10741
  })));
10730
10742
  }).catch(() => {
10731
10743
  });
@@ -683,7 +683,7 @@
683
683
  ._row_1hsxt_16._discount_1hsxt_69 dd {
684
684
  color: var(--color-state-text-success);
685
685
  }
686
- ._lines_7mr8w_19 {
686
+ ._lines_1vmnm_19 {
687
687
  list-style: none;
688
688
  margin: 0;
689
689
  padding: 0;
@@ -691,12 +691,12 @@
691
691
  flex-direction: column;
692
692
  gap: var(--space-16);
693
693
  }
694
- ._line_7mr8w_19 {
694
+ ._line_1vmnm_19 {
695
695
  display: flex;
696
696
  align-items: center;
697
697
  gap: var(--space-12);
698
698
  }
699
- ._thumb_7mr8w_34 {
699
+ ._thumb_1vmnm_34 {
700
700
  position: relative;
701
701
  flex-shrink: 0;
702
702
  width: 48px;
@@ -705,14 +705,14 @@
705
705
  overflow: hidden;
706
706
  background: var(--color-surface-soft);
707
707
  }
708
- ._image_7mr8w_44 {
708
+ ._image_1vmnm_44 {
709
709
  object-fit: cover;
710
710
  }
711
- ._placeholder_7mr8w_48 {
711
+ ._placeholder_1vmnm_48 {
712
712
  width: 100%;
713
713
  height: 100%;
714
714
  }
715
- ._lineBody_7mr8w_53 {
715
+ ._lineBody_1vmnm_53 {
716
716
  display: flex;
717
717
  align-items: flex-start;
718
718
  justify-content: space-between;
@@ -720,14 +720,14 @@
720
720
  flex: 1 1 0;
721
721
  min-width: 0;
722
722
  }
723
- ._lineText_7mr8w_62 {
723
+ ._lineText_1vmnm_62 {
724
724
  display: flex;
725
725
  flex-direction: column;
726
726
  gap: var(--space-12);
727
727
  flex: 1 1 0;
728
728
  min-width: 0;
729
729
  }
730
- ._lineTitle_7mr8w_72 {
730
+ ._lineTitle_1vmnm_72 {
731
731
  margin: -6px 0;
732
732
  padding: 6px 0;
733
733
  font-size: var(--type-trimmed-sm-size);
@@ -737,16 +737,20 @@
737
737
  overflow: hidden;
738
738
  text-overflow: ellipsis;
739
739
  }
740
- ._lineMeta_7mr8w_91 {
740
+ ._lineMeta_1vmnm_104 {
741
741
  display: flex;
742
742
  align-items: center;
743
- gap: var(--space-12);
743
+ flex-wrap: wrap;
744
+ gap: var(--space-6);
744
745
  min-width: 0;
745
746
  font-size: var(--type-trimmed-sm-size);
746
747
  line-height: 11px;
747
748
  color: var(--color-text-subtle);
748
749
  }
749
- ._linePrice_7mr8w_106 {
750
+ ._detail_1vmnm_101 {
751
+ white-space: nowrap;
752
+ }
753
+ ._linePrice_1vmnm_125 {
750
754
  display: flex;
751
755
  flex-direction: column;
752
756
  align-items: flex-end;
@@ -755,26 +759,29 @@
755
759
  white-space: nowrap;
756
760
  font-variant-numeric: tabular-nums;
757
761
  }
758
- ._paid_7mr8w_118 {
762
+ ._paid_1vmnm_137 {
759
763
  font-size: var(--type-trimmed-md-size);
760
764
  line-height: 11px;
761
765
  font-weight: var(--font-weight-bold);
762
766
  }
763
- ._was_7mr8w_124 {
767
+ ._was_1vmnm_150 {
768
+ display: flex;
769
+ align-items: center;
770
+ justify-content: flex-end;
764
771
  font-size: var(--type-trimmed-sm-size);
765
772
  line-height: 10px;
766
773
  font-weight: var(--font-weight-regular);
767
774
  color: var(--color-text-disabled);
768
775
  text-decoration: line-through;
769
776
  }
770
- ._card_7mr8w_144 {
777
+ ._card_1vmnm_173 {
771
778
  display: flex;
772
779
  flex-direction: column;
773
780
  box-shadow: inset 0 0 0 1px var(--color-border-default);
774
781
  border-radius: var(--radius-18);
775
782
  overflow: hidden;
776
783
  }
777
- ._cardTitle_7mr8w_152 {
784
+ ._cardTitle_1vmnm_181 {
778
785
  display: flex;
779
786
  align-items: center;
780
787
  margin: 0;
@@ -785,16 +792,16 @@
785
792
  line-height: 1.38;
786
793
  font-weight: var(--font-weight-bold);
787
794
  }
788
- ._cardBody_7mr8w_164 {
795
+ ._cardBody_1vmnm_193 {
789
796
  margin: 0;
790
797
  padding: var(--space-16);
791
798
  font-size: var(--type-trimmed-sm-size);
792
799
  line-height: 1.5;
793
800
  }
794
- ._summaryCard_7mr8w_136 {
801
+ ._summaryCard_1vmnm_165 {
795
802
  background: var(--color-surface-soft);
796
803
  }
797
- ._summaryCard_7mr8w_136 > :last-child {
804
+ ._summaryCard_1vmnm_165 > :last-child {
798
805
  padding: 0 var(--space-16);
799
806
  }
800
807
  ._header_1f3nh_7 {
@@ -3390,7 +3397,7 @@
3390
3397
  column-gap: var(--space-12);
3391
3398
  row-gap: var(--space-24);
3392
3399
  }
3393
- ._showcase_12z2a_40 {
3400
+ ._showcase_1y51o_40 {
3394
3401
  height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
3395
3402
  overflow-y: auto;
3396
3403
  scroll-snap-type: y mandatory;
@@ -3399,10 +3406,10 @@
3399
3406
  background: #080e12;
3400
3407
  scrollbar-width: none;
3401
3408
  }
3402
- ._showcase_12z2a_40::-webkit-scrollbar {
3409
+ ._showcase_1y51o_40::-webkit-scrollbar {
3403
3410
  display: none;
3404
3411
  }
3405
- ._panel_12z2a_59 {
3412
+ ._panel_1y51o_59 {
3406
3413
  position: relative;
3407
3414
  height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
3408
3415
  scroll-snap-align: start;
@@ -3410,11 +3417,11 @@
3410
3417
  overflow: hidden;
3411
3418
  background: #080e12;
3412
3419
  }
3413
- ._image_12z2a_69 {
3420
+ ._image_1y51o_88 {
3414
3421
  object-fit: cover;
3415
- object-position: center;
3422
+ object-position: 50% var(--slide-focal-y, 50%);
3416
3423
  }
3417
- ._heroImageBox_12z2a_117 {
3424
+ ._heroImageBox_1y51o_136 {
3418
3425
  position: absolute;
3419
3426
  top: 31px;
3420
3427
  left: 0;
@@ -3422,7 +3429,7 @@
3422
3429
  aspect-ratio: 750 / 1348;
3423
3430
  overflow: hidden;
3424
3431
  }
3425
- ._hero_12z2a_117::after {
3432
+ ._hero_1y51o_136::after {
3426
3433
  content: "";
3427
3434
  position: absolute;
3428
3435
  inset: 0;
@@ -3437,10 +3444,10 @@
3437
3444
  rgba(8, 14, 18, 1) 90%);
3438
3445
  pointer-events: none;
3439
3446
  }
3440
- ._hero_12z2a_117 ._image_12z2a_69 {
3447
+ ._hero_1y51o_136 ._image_1y51o_88 {
3441
3448
  object-position: top;
3442
3449
  }
3443
- ._hero_12z2a_117 ._heroContent_12z2a_188 {
3450
+ ._hero_1y51o_136 ._heroContent_1y51o_207 {
3444
3451
  position: absolute;
3445
3452
  bottom: 0;
3446
3453
  left: 0;
@@ -3451,7 +3458,7 @@
3451
3458
  gap: 24px;
3452
3459
  align-items: stretch;
3453
3460
  }
3454
- ._heroText_12z2a_205 {
3461
+ ._heroText_1y51o_224 {
3455
3462
  display: flex;
3456
3463
  flex-direction: column;
3457
3464
  gap: 8px;
@@ -3459,11 +3466,11 @@
3459
3466
  padding: 0 24px;
3460
3467
  text-align: center;
3461
3468
  }
3462
- ._heroText_12z2a_205 ._logo_12z2a_214 {
3469
+ ._heroText_1y51o_224 ._logo_1y51o_233 {
3463
3470
  width: 48px;
3464
3471
  height: 48px;
3465
3472
  }
3466
- ._heroTitle_12z2a_234 {
3473
+ ._heroTitle_1y51o_253 {
3467
3474
  width: 100%;
3468
3475
  margin: 0;
3469
3476
  font-family:
@@ -3478,14 +3485,14 @@
3478
3485
  letter-spacing: -1.12px;
3479
3486
  color: #f9fafa;
3480
3487
  }
3481
- ._heroSub_12z2a_258 {
3488
+ ._heroSub_1y51o_277 {
3482
3489
  margin: 0;
3483
3490
  font-size: 16px;
3484
3491
  line-height: 1.55;
3485
3492
  color: #f9fafa;
3486
3493
  max-width: 327px;
3487
3494
  }
3488
- ._swipe_12z2a_271 {
3495
+ ._swipe_1y51o_290 {
3489
3496
  display: flex;
3490
3497
  flex-direction: column;
3491
3498
  align-items: center;
@@ -3493,19 +3500,19 @@
3493
3500
  padding: 8px 0;
3494
3501
  background: #080e12;
3495
3502
  }
3496
- ._swipeLabel_12z2a_279 {
3503
+ ._swipeLabel_1y51o_298 {
3497
3504
  margin: 0;
3498
3505
  font-size: 14px;
3499
3506
  line-height: 1;
3500
3507
  color: rgba(255, 255, 255, 0.54);
3501
3508
  }
3502
- ._chevron_12z2a_285 {
3509
+ ._chevron_1y51o_304 {
3503
3510
  width: 24px;
3504
3511
  height: 24px;
3505
3512
  color: rgba(255, 255, 255, 0.54);
3506
- animation: _bob_12z2a_1 1.8s ease-in-out infinite;
3513
+ animation: _bob_1y51o_1 1.8s ease-in-out infinite;
3507
3514
  }
3508
- @keyframes _bob_12z2a_1 {
3515
+ @keyframes _bob_1y51o_1 {
3509
3516
  0%, 100% {
3510
3517
  transform: translateY(0);
3511
3518
  }
@@ -3513,7 +3520,7 @@
3513
3520
  transform: translateY(4px);
3514
3521
  }
3515
3522
  }
3516
- ._overlay_12z2a_302 {
3523
+ ._overlay_1y51o_321 {
3517
3524
  position: absolute;
3518
3525
  inset: 0;
3519
3526
  z-index: 1;
@@ -3524,25 +3531,25 @@
3524
3531
  align-items: flex-start;
3525
3532
  padding: 0 24px 24px;
3526
3533
  }
3527
- ._copy_12z2a_313 {
3534
+ ._copy_1y51o_332 {
3528
3535
  display: flex;
3529
3536
  flex-direction: column;
3530
3537
  gap: 8px;
3531
3538
  }
3532
- ._title_12z2a_318 {
3539
+ ._title_1y51o_337 {
3533
3540
  margin: 0;
3534
3541
  font-size: 32px;
3535
3542
  line-height: 1.2;
3536
3543
  font-weight: 700;
3537
3544
  color: #f9fafa;
3538
3545
  }
3539
- ._subtitle_12z2a_325 {
3546
+ ._subtitle_1y51o_344 {
3540
3547
  margin: 0;
3541
3548
  font-size: 16px;
3542
3549
  line-height: 1.55;
3543
3550
  color: #f9fafa;
3544
3551
  }
3545
- ._cta_12z2a_331 {
3552
+ ._cta_1y51o_350 {
3546
3553
  display: inline-flex;
3547
3554
  align-items: center;
3548
3555
  justify-content: center;
@@ -3556,15 +3563,15 @@
3556
3563
  font-weight: 700;
3557
3564
  text-decoration: none;
3558
3565
  }
3559
- ._cta_12z2a_331::after {
3566
+ ._cta_1y51o_350::after {
3560
3567
  content: "";
3561
3568
  position: absolute;
3562
3569
  inset: 0;
3563
3570
  }
3564
- ._cta_12z2a_331:active {
3571
+ ._cta_1y51o_350:active {
3565
3572
  background: rgba(249, 250, 250, 0.12);
3566
3573
  }
3567
- ._cta_12z2a_331:focus-visible {
3574
+ ._cta_1y51o_350:focus-visible {
3568
3575
  outline: none;
3569
3576
  box-shadow: var(--focus-ring);
3570
3577
  }
package/dist/styles.css CHANGED
@@ -683,7 +683,7 @@
683
683
  ._row_1hsxt_16._discount_1hsxt_69 dd {
684
684
  color: var(--color-state-text-success);
685
685
  }
686
- ._lines_7mr8w_19 {
686
+ ._lines_1vmnm_19 {
687
687
  list-style: none;
688
688
  margin: 0;
689
689
  padding: 0;
@@ -691,12 +691,12 @@
691
691
  flex-direction: column;
692
692
  gap: var(--space-16);
693
693
  }
694
- ._line_7mr8w_19 {
694
+ ._line_1vmnm_19 {
695
695
  display: flex;
696
696
  align-items: center;
697
697
  gap: var(--space-12);
698
698
  }
699
- ._thumb_7mr8w_34 {
699
+ ._thumb_1vmnm_34 {
700
700
  position: relative;
701
701
  flex-shrink: 0;
702
702
  width: 48px;
@@ -705,14 +705,14 @@
705
705
  overflow: hidden;
706
706
  background: var(--color-surface-soft);
707
707
  }
708
- ._image_7mr8w_44 {
708
+ ._image_1vmnm_44 {
709
709
  object-fit: cover;
710
710
  }
711
- ._placeholder_7mr8w_48 {
711
+ ._placeholder_1vmnm_48 {
712
712
  width: 100%;
713
713
  height: 100%;
714
714
  }
715
- ._lineBody_7mr8w_53 {
715
+ ._lineBody_1vmnm_53 {
716
716
  display: flex;
717
717
  align-items: flex-start;
718
718
  justify-content: space-between;
@@ -720,14 +720,14 @@
720
720
  flex: 1 1 0;
721
721
  min-width: 0;
722
722
  }
723
- ._lineText_7mr8w_62 {
723
+ ._lineText_1vmnm_62 {
724
724
  display: flex;
725
725
  flex-direction: column;
726
726
  gap: var(--space-12);
727
727
  flex: 1 1 0;
728
728
  min-width: 0;
729
729
  }
730
- ._lineTitle_7mr8w_72 {
730
+ ._lineTitle_1vmnm_72 {
731
731
  margin: -6px 0;
732
732
  padding: 6px 0;
733
733
  font-size: var(--type-trimmed-sm-size);
@@ -737,16 +737,20 @@
737
737
  overflow: hidden;
738
738
  text-overflow: ellipsis;
739
739
  }
740
- ._lineMeta_7mr8w_91 {
740
+ ._lineMeta_1vmnm_104 {
741
741
  display: flex;
742
742
  align-items: center;
743
- gap: var(--space-12);
743
+ flex-wrap: wrap;
744
+ gap: var(--space-6);
744
745
  min-width: 0;
745
746
  font-size: var(--type-trimmed-sm-size);
746
747
  line-height: 11px;
747
748
  color: var(--color-text-subtle);
748
749
  }
749
- ._linePrice_7mr8w_106 {
750
+ ._detail_1vmnm_101 {
751
+ white-space: nowrap;
752
+ }
753
+ ._linePrice_1vmnm_125 {
750
754
  display: flex;
751
755
  flex-direction: column;
752
756
  align-items: flex-end;
@@ -755,26 +759,29 @@
755
759
  white-space: nowrap;
756
760
  font-variant-numeric: tabular-nums;
757
761
  }
758
- ._paid_7mr8w_118 {
762
+ ._paid_1vmnm_137 {
759
763
  font-size: var(--type-trimmed-md-size);
760
764
  line-height: 11px;
761
765
  font-weight: var(--font-weight-bold);
762
766
  }
763
- ._was_7mr8w_124 {
767
+ ._was_1vmnm_150 {
768
+ display: flex;
769
+ align-items: center;
770
+ justify-content: flex-end;
764
771
  font-size: var(--type-trimmed-sm-size);
765
772
  line-height: 10px;
766
773
  font-weight: var(--font-weight-regular);
767
774
  color: var(--color-text-disabled);
768
775
  text-decoration: line-through;
769
776
  }
770
- ._card_7mr8w_144 {
777
+ ._card_1vmnm_173 {
771
778
  display: flex;
772
779
  flex-direction: column;
773
780
  box-shadow: inset 0 0 0 1px var(--color-border-default);
774
781
  border-radius: var(--radius-18);
775
782
  overflow: hidden;
776
783
  }
777
- ._cardTitle_7mr8w_152 {
784
+ ._cardTitle_1vmnm_181 {
778
785
  display: flex;
779
786
  align-items: center;
780
787
  margin: 0;
@@ -785,16 +792,16 @@
785
792
  line-height: 1.38;
786
793
  font-weight: var(--font-weight-bold);
787
794
  }
788
- ._cardBody_7mr8w_164 {
795
+ ._cardBody_1vmnm_193 {
789
796
  margin: 0;
790
797
  padding: var(--space-16);
791
798
  font-size: var(--type-trimmed-sm-size);
792
799
  line-height: 1.5;
793
800
  }
794
- ._summaryCard_7mr8w_136 {
801
+ ._summaryCard_1vmnm_165 {
795
802
  background: var(--color-surface-soft);
796
803
  }
797
- ._summaryCard_7mr8w_136 > :last-child {
804
+ ._summaryCard_1vmnm_165 > :last-child {
798
805
  padding: 0 var(--space-16);
799
806
  }
800
807
  ._header_1f3nh_7 {
@@ -3390,7 +3397,7 @@
3390
3397
  column-gap: var(--space-12);
3391
3398
  row-gap: var(--space-24);
3392
3399
  }
3393
- ._showcase_12z2a_40 {
3400
+ ._showcase_1y51o_40 {
3394
3401
  height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
3395
3402
  overflow-y: auto;
3396
3403
  scroll-snap-type: y mandatory;
@@ -3399,10 +3406,10 @@
3399
3406
  background: #080e12;
3400
3407
  scrollbar-width: none;
3401
3408
  }
3402
- ._showcase_12z2a_40::-webkit-scrollbar {
3409
+ ._showcase_1y51o_40::-webkit-scrollbar {
3403
3410
  display: none;
3404
3411
  }
3405
- ._panel_12z2a_59 {
3412
+ ._panel_1y51o_59 {
3406
3413
  position: relative;
3407
3414
  height: calc(var(--showcase-vh, 100svh) - var(--showcase-top, 0px));
3408
3415
  scroll-snap-align: start;
@@ -3410,11 +3417,11 @@
3410
3417
  overflow: hidden;
3411
3418
  background: #080e12;
3412
3419
  }
3413
- ._image_12z2a_69 {
3420
+ ._image_1y51o_88 {
3414
3421
  object-fit: cover;
3415
- object-position: center;
3422
+ object-position: 50% var(--slide-focal-y, 50%);
3416
3423
  }
3417
- ._heroImageBox_12z2a_117 {
3424
+ ._heroImageBox_1y51o_136 {
3418
3425
  position: absolute;
3419
3426
  top: 31px;
3420
3427
  left: 0;
@@ -3422,7 +3429,7 @@
3422
3429
  aspect-ratio: 750 / 1348;
3423
3430
  overflow: hidden;
3424
3431
  }
3425
- ._hero_12z2a_117::after {
3432
+ ._hero_1y51o_136::after {
3426
3433
  content: "";
3427
3434
  position: absolute;
3428
3435
  inset: 0;
@@ -3437,10 +3444,10 @@
3437
3444
  rgba(8, 14, 18, 1) 90%);
3438
3445
  pointer-events: none;
3439
3446
  }
3440
- ._hero_12z2a_117 ._image_12z2a_69 {
3447
+ ._hero_1y51o_136 ._image_1y51o_88 {
3441
3448
  object-position: top;
3442
3449
  }
3443
- ._hero_12z2a_117 ._heroContent_12z2a_188 {
3450
+ ._hero_1y51o_136 ._heroContent_1y51o_207 {
3444
3451
  position: absolute;
3445
3452
  bottom: 0;
3446
3453
  left: 0;
@@ -3451,7 +3458,7 @@
3451
3458
  gap: 24px;
3452
3459
  align-items: stretch;
3453
3460
  }
3454
- ._heroText_12z2a_205 {
3461
+ ._heroText_1y51o_224 {
3455
3462
  display: flex;
3456
3463
  flex-direction: column;
3457
3464
  gap: 8px;
@@ -3459,11 +3466,11 @@
3459
3466
  padding: 0 24px;
3460
3467
  text-align: center;
3461
3468
  }
3462
- ._heroText_12z2a_205 ._logo_12z2a_214 {
3469
+ ._heroText_1y51o_224 ._logo_1y51o_233 {
3463
3470
  width: 48px;
3464
3471
  height: 48px;
3465
3472
  }
3466
- ._heroTitle_12z2a_234 {
3473
+ ._heroTitle_1y51o_253 {
3467
3474
  width: 100%;
3468
3475
  margin: 0;
3469
3476
  font-family:
@@ -3478,14 +3485,14 @@
3478
3485
  letter-spacing: -1.12px;
3479
3486
  color: #f9fafa;
3480
3487
  }
3481
- ._heroSub_12z2a_258 {
3488
+ ._heroSub_1y51o_277 {
3482
3489
  margin: 0;
3483
3490
  font-size: 16px;
3484
3491
  line-height: 1.55;
3485
3492
  color: #f9fafa;
3486
3493
  max-width: 327px;
3487
3494
  }
3488
- ._swipe_12z2a_271 {
3495
+ ._swipe_1y51o_290 {
3489
3496
  display: flex;
3490
3497
  flex-direction: column;
3491
3498
  align-items: center;
@@ -3493,19 +3500,19 @@
3493
3500
  padding: 8px 0;
3494
3501
  background: #080e12;
3495
3502
  }
3496
- ._swipeLabel_12z2a_279 {
3503
+ ._swipeLabel_1y51o_298 {
3497
3504
  margin: 0;
3498
3505
  font-size: 14px;
3499
3506
  line-height: 1;
3500
3507
  color: rgba(255, 255, 255, 0.54);
3501
3508
  }
3502
- ._chevron_12z2a_285 {
3509
+ ._chevron_1y51o_304 {
3503
3510
  width: 24px;
3504
3511
  height: 24px;
3505
3512
  color: rgba(255, 255, 255, 0.54);
3506
- animation: _bob_12z2a_1 1.8s ease-in-out infinite;
3513
+ animation: _bob_1y51o_1 1.8s ease-in-out infinite;
3507
3514
  }
3508
- @keyframes _bob_12z2a_1 {
3515
+ @keyframes _bob_1y51o_1 {
3509
3516
  0%, 100% {
3510
3517
  transform: translateY(0);
3511
3518
  }
@@ -3513,7 +3520,7 @@
3513
3520
  transform: translateY(4px);
3514
3521
  }
3515
3522
  }
3516
- ._overlay_12z2a_302 {
3523
+ ._overlay_1y51o_321 {
3517
3524
  position: absolute;
3518
3525
  inset: 0;
3519
3526
  z-index: 1;
@@ -3524,25 +3531,25 @@
3524
3531
  align-items: flex-start;
3525
3532
  padding: 0 24px 24px;
3526
3533
  }
3527
- ._copy_12z2a_313 {
3534
+ ._copy_1y51o_332 {
3528
3535
  display: flex;
3529
3536
  flex-direction: column;
3530
3537
  gap: 8px;
3531
3538
  }
3532
- ._title_12z2a_318 {
3539
+ ._title_1y51o_337 {
3533
3540
  margin: 0;
3534
3541
  font-size: 32px;
3535
3542
  line-height: 1.2;
3536
3543
  font-weight: 700;
3537
3544
  color: #f9fafa;
3538
3545
  }
3539
- ._subtitle_12z2a_325 {
3546
+ ._subtitle_1y51o_344 {
3540
3547
  margin: 0;
3541
3548
  font-size: 16px;
3542
3549
  line-height: 1.55;
3543
3550
  color: #f9fafa;
3544
3551
  }
3545
- ._cta_12z2a_331 {
3552
+ ._cta_1y51o_350 {
3546
3553
  display: inline-flex;
3547
3554
  align-items: center;
3548
3555
  justify-content: center;
@@ -3556,15 +3563,15 @@
3556
3563
  font-weight: 700;
3557
3564
  text-decoration: none;
3558
3565
  }
3559
- ._cta_12z2a_331::after {
3566
+ ._cta_1y51o_350::after {
3560
3567
  content: "";
3561
3568
  position: absolute;
3562
3569
  inset: 0;
3563
3570
  }
3564
- ._cta_12z2a_331:active {
3571
+ ._cta_1y51o_350:active {
3565
3572
  background: rgba(249, 250, 250, 0.12);
3566
3573
  }
3567
- ._cta_12z2a_331:focus-visible {
3574
+ ._cta_1y51o_350:focus-visible {
3568
3575
  outline: none;
3569
3576
  box-shadow: var(--focus-ring);
3570
3577
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nok-integration/storefront-react",
3
- "version": "0.19.6",
3
+ "version": "0.19.8",
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": {