@nok-integration/storefront-react 0.21.0 → 0.21.1

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 CHANGED
@@ -11845,15 +11845,15 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
11845
11845
  })
11846
11846
  });
11847
11847
  }
11848
- const hero$1 = "_hero_1h61y_1";
11849
- const image$1 = "_image_1h61y_11";
11850
- const foot = "_foot_1h61y_21";
11851
- const text$1 = "_text_1h61y_27";
11852
- const logo$1 = "_logo_1h61y_35";
11853
- const copy$1 = "_copy_1h61y_40";
11854
- const headline = "_headline_1h61y_49";
11855
- const body = "_body_1h61y_57";
11856
- const cta$1 = "_cta_1h61y_66";
11848
+ const hero$1 = "_hero_1j0m8_1";
11849
+ const image$1 = "_image_1j0m8_11";
11850
+ const foot = "_foot_1j0m8_34";
11851
+ const text$1 = "_text_1j0m8_40";
11852
+ const logo$1 = "_logo_1j0m8_48";
11853
+ const copy$1 = "_copy_1j0m8_53";
11854
+ const headline = "_headline_1j0m8_62";
11855
+ const body = "_body_1j0m8_70";
11856
+ const cta$1 = "_cta_1j0m8_79";
11857
11857
  const styles$3 = {
11858
11858
  hero: hero$1,
11859
11859
  image: image$1,
@@ -11845,15 +11845,15 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
11845
11845
  })
11846
11846
  });
11847
11847
  }
11848
- const hero$1 = "_hero_1h61y_1";
11849
- const image$1 = "_image_1h61y_11";
11850
- const foot = "_foot_1h61y_21";
11851
- const text$1 = "_text_1h61y_27";
11852
- const logo$1 = "_logo_1h61y_35";
11853
- const copy$1 = "_copy_1h61y_40";
11854
- const headline = "_headline_1h61y_49";
11855
- const body = "_body_1h61y_57";
11856
- const cta$1 = "_cta_1h61y_66";
11848
+ const hero$1 = "_hero_1j0m8_1";
11849
+ const image$1 = "_image_1j0m8_11";
11850
+ const foot = "_foot_1j0m8_34";
11851
+ const text$1 = "_text_1j0m8_40";
11852
+ const logo$1 = "_logo_1j0m8_48";
11853
+ const copy$1 = "_copy_1j0m8_53";
11854
+ const headline = "_headline_1j0m8_62";
11855
+ const body = "_body_1j0m8_70";
11856
+ const cta$1 = "_cta_1j0m8_79";
11857
11857
  const styles$3 = {
11858
11858
  hero: hero$1,
11859
11859
  image: image$1,
@@ -3506,7 +3506,7 @@
3506
3506
  column-gap: var(--space-12);
3507
3507
  row-gap: var(--space-12);
3508
3508
  }
3509
- ._hero_1h61y_1 {
3509
+ ._hero_1j0m8_1 {
3510
3510
  position: relative;
3511
3511
  display: flex;
3512
3512
  flex-direction: column;
@@ -3515,31 +3515,43 @@
3515
3515
  overflow: hidden;
3516
3516
  background: var(--color-surface-default);
3517
3517
  }
3518
- ._image_1h61y_11 {
3518
+ ._image_1j0m8_11 {
3519
3519
  position: absolute;
3520
3520
  inset: 0;
3521
3521
  }
3522
- ._image_1h61y_11 img {
3522
+ ._image_1j0m8_11::after {
3523
+ content: "";
3524
+ position: absolute;
3525
+ inset: 0;
3526
+ background:
3527
+ linear-gradient(
3528
+ to top,
3529
+ rgba(8, 14, 18, 0.82) 0,
3530
+ rgba(8, 14, 18, 0.82) 227px,
3531
+ rgba(8, 14, 18, 0) 382px);
3532
+ pointer-events: none;
3533
+ }
3534
+ ._image_1j0m8_11 img {
3523
3535
  object-fit: cover;
3524
3536
  object-position: top center;
3525
3537
  }
3526
- ._foot_1h61y_21 {
3538
+ ._foot_1j0m8_34 {
3527
3539
  position: relative;
3528
3540
  display: flex;
3529
3541
  flex-direction: column;
3530
3542
  }
3531
- ._text_1h61y_27 {
3543
+ ._text_1j0m8_40 {
3532
3544
  display: flex;
3533
3545
  flex-direction: column;
3534
3546
  align-items: center;
3535
3547
  gap: var(--space-16);
3536
3548
  padding: 0 var(--space-16) var(--space-8);
3537
3549
  }
3538
- ._text_1h61y_27 ._logo_1h61y_35 {
3550
+ ._text_1j0m8_40 ._logo_1j0m8_48 {
3539
3551
  width: 48px;
3540
3552
  height: 48px;
3541
3553
  }
3542
- ._copy_1h61y_40 {
3554
+ ._copy_1j0m8_53 {
3543
3555
  display: flex;
3544
3556
  flex-direction: column;
3545
3557
  gap: 6px;
@@ -3547,14 +3559,14 @@
3547
3559
  text-align: center;
3548
3560
  overflow-wrap: break-word;
3549
3561
  }
3550
- ._headline_1h61y_49 {
3562
+ ._headline_1j0m8_62 {
3551
3563
  margin: 0;
3552
3564
  font-size: 36px;
3553
3565
  line-height: 1.1;
3554
3566
  font-weight: var(--font-weight-bold);
3555
3567
  color: var(--color-text-default);
3556
3568
  }
3557
- ._body_1h61y_57 {
3569
+ ._body_1j0m8_70 {
3558
3570
  margin: 0;
3559
3571
  font-size: var(--type-paragraph-size);
3560
3572
  line-height: var(--type-paragraph-line);
@@ -3562,7 +3574,7 @@
3562
3574
  color: var(--color-text-default);
3563
3575
  white-space: pre-line;
3564
3576
  }
3565
- ._cta_1h61y_66 {
3577
+ ._cta_1j0m8_79 {
3566
3578
  padding: var(--space-16) var(--space-16) var(--space-24);
3567
3579
  }
3568
3580
  ._showcase_9ibf6_14 {
package/dist/styles.css CHANGED
@@ -3506,7 +3506,7 @@
3506
3506
  column-gap: var(--space-12);
3507
3507
  row-gap: var(--space-12);
3508
3508
  }
3509
- ._hero_1h61y_1 {
3509
+ ._hero_1j0m8_1 {
3510
3510
  position: relative;
3511
3511
  display: flex;
3512
3512
  flex-direction: column;
@@ -3515,31 +3515,43 @@
3515
3515
  overflow: hidden;
3516
3516
  background: var(--color-surface-default);
3517
3517
  }
3518
- ._image_1h61y_11 {
3518
+ ._image_1j0m8_11 {
3519
3519
  position: absolute;
3520
3520
  inset: 0;
3521
3521
  }
3522
- ._image_1h61y_11 img {
3522
+ ._image_1j0m8_11::after {
3523
+ content: "";
3524
+ position: absolute;
3525
+ inset: 0;
3526
+ background:
3527
+ linear-gradient(
3528
+ to top,
3529
+ rgba(8, 14, 18, 0.82) 0,
3530
+ rgba(8, 14, 18, 0.82) 227px,
3531
+ rgba(8, 14, 18, 0) 382px);
3532
+ pointer-events: none;
3533
+ }
3534
+ ._image_1j0m8_11 img {
3523
3535
  object-fit: cover;
3524
3536
  object-position: top center;
3525
3537
  }
3526
- ._foot_1h61y_21 {
3538
+ ._foot_1j0m8_34 {
3527
3539
  position: relative;
3528
3540
  display: flex;
3529
3541
  flex-direction: column;
3530
3542
  }
3531
- ._text_1h61y_27 {
3543
+ ._text_1j0m8_40 {
3532
3544
  display: flex;
3533
3545
  flex-direction: column;
3534
3546
  align-items: center;
3535
3547
  gap: var(--space-16);
3536
3548
  padding: 0 var(--space-16) var(--space-8);
3537
3549
  }
3538
- ._text_1h61y_27 ._logo_1h61y_35 {
3550
+ ._text_1j0m8_40 ._logo_1j0m8_48 {
3539
3551
  width: 48px;
3540
3552
  height: 48px;
3541
3553
  }
3542
- ._copy_1h61y_40 {
3554
+ ._copy_1j0m8_53 {
3543
3555
  display: flex;
3544
3556
  flex-direction: column;
3545
3557
  gap: 6px;
@@ -3547,14 +3559,14 @@
3547
3559
  text-align: center;
3548
3560
  overflow-wrap: break-word;
3549
3561
  }
3550
- ._headline_1h61y_49 {
3562
+ ._headline_1j0m8_62 {
3551
3563
  margin: 0;
3552
3564
  font-size: 36px;
3553
3565
  line-height: 1.1;
3554
3566
  font-weight: var(--font-weight-bold);
3555
3567
  color: var(--color-text-default);
3556
3568
  }
3557
- ._body_1h61y_57 {
3569
+ ._body_1j0m8_70 {
3558
3570
  margin: 0;
3559
3571
  font-size: var(--type-paragraph-size);
3560
3572
  line-height: var(--type-paragraph-line);
@@ -3562,7 +3574,7 @@
3562
3574
  color: var(--color-text-default);
3563
3575
  white-space: pre-line;
3564
3576
  }
3565
- ._cta_1h61y_66 {
3577
+ ._cta_1j0m8_79 {
3566
3578
  padding: var(--space-16) var(--space-16) var(--space-24);
3567
3579
  }
3568
3580
  ._showcase_9ibf6_14 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nok-integration/storefront-react",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
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",