@nok-integration/storefront-react 0.19.14 → 0.19.16

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/styles.css CHANGED
@@ -1708,14 +1708,34 @@
1708
1708
  height: 24px;
1709
1709
  color: var(--color-text-default);
1710
1710
  }
1711
- ._tile_1a177_7 {
1711
+ ._swatches_mdi63_1 {
1712
+ display: flex;
1713
+ gap: var(--space-4);
1714
+ align-items: center;
1715
+ }
1716
+ ._swatch_mdi63_1 {
1717
+ display: inline-flex;
1718
+ padding: 2px;
1719
+ box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-subtle);
1720
+ border-radius: var(--radius-2);
1721
+ }
1722
+ ._swatchActive_mdi63_18 {
1723
+ box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-max);
1724
+ }
1725
+ ._swatchDot_mdi63_22 {
1726
+ display: block;
1727
+ width: 14px;
1728
+ height: 14px;
1729
+ border-radius: var(--radius-2);
1730
+ }
1731
+ ._tile_yg69t_7 {
1712
1732
  display: flex;
1713
1733
  flex-direction: column;
1714
1734
  gap: var(--space-12);
1715
1735
  text-decoration: none;
1716
1736
  color: inherit;
1717
1737
  }
1718
- ._media_1a177_15 {
1738
+ ._media_yg69t_15 {
1719
1739
  position: relative;
1720
1740
  width: 100%;
1721
1741
  aspect-ratio: 165 / 220;
@@ -1723,15 +1743,15 @@
1723
1743
  overflow: hidden;
1724
1744
  background: var(--color-surface-soft);
1725
1745
  }
1726
- ._image_1a177_25 {
1746
+ ._image_yg69t_25 {
1727
1747
  object-fit: cover;
1728
1748
  }
1729
- ._placeholder_1a177_29 {
1749
+ ._placeholder_yg69t_29 {
1730
1750
  width: 100%;
1731
1751
  height: 100%;
1732
1752
  background: var(--color-surface-soft);
1733
1753
  }
1734
- ._topBadge_1a177_37 {
1754
+ ._topBadge_yg69t_37 {
1735
1755
  position: absolute;
1736
1756
  top: var(--space-8);
1737
1757
  left: var(--space-8);
@@ -1752,13 +1772,13 @@
1752
1772
  text-transform: uppercase;
1753
1773
  white-space: nowrap;
1754
1774
  }
1755
- ._saleBadge_1a177_78 {
1775
+ ._saleBadge_yg69t_78 {
1756
1776
  position: absolute;
1757
1777
  display: flex;
1758
1778
  bottom: var(--space-8);
1759
1779
  left: var(--space-8);
1760
1780
  }
1761
- ._oos_1a177_86 {
1781
+ ._oos_yg69t_86 {
1762
1782
  position: absolute;
1763
1783
  inset: 0;
1764
1784
  display: flex;
@@ -1770,17 +1790,17 @@
1770
1790
  font-size: var(--type-trimmed-sm-size);
1771
1791
  font-weight: var(--font-weight-bold);
1772
1792
  }
1773
- ._bottom_1a177_113 {
1793
+ ._bottom_yg69t_113 {
1774
1794
  display: flex;
1775
1795
  flex-direction: column;
1776
1796
  gap: var(--space-16);
1777
1797
  }
1778
- ._titlePrice_1a177_100 {
1798
+ ._titlePrice_yg69t_100 {
1779
1799
  display: flex;
1780
1800
  flex-direction: column;
1781
1801
  gap: var(--space-16);
1782
1802
  }
1783
- ._title_1a177_5 {
1803
+ ._title_yg69t_5 {
1784
1804
  font-size: var(--type-paragraph-size);
1785
1805
  line-height: 21px;
1786
1806
  padding: 5px 0;
@@ -1794,50 +1814,30 @@
1794
1814
  overflow: hidden;
1795
1815
  min-height: calc(2 * 21px + 10px);
1796
1816
  }
1797
- ._titlePrice_1a177_100 > :last-child {
1817
+ ._titlePrice_yg69t_100 > :last-child {
1798
1818
  line-height: 11px;
1799
1819
  }
1800
- ._swatches_1a177_181 {
1801
- display: flex;
1802
- gap: var(--space-4);
1803
- align-items: center;
1804
- }
1805
- ._swatch_1a177_181 {
1806
- display: inline-flex;
1807
- padding: 2px;
1808
- box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-subtle);
1809
- border-radius: var(--radius-2);
1810
- }
1811
- ._swatchActive_1a177_198 {
1812
- box-shadow: inset 0 0 0 0.5px var(--color-border-full-color-max);
1813
- }
1814
- ._swatchDot_1a177_202 {
1815
- display: block;
1816
- width: 14px;
1817
- height: 14px;
1818
- border-radius: var(--radius-2);
1819
- }
1820
- ._large_1a177_213 {
1820
+ ._large_yg69t_185 {
1821
1821
  padding: 0 var(--space-16);
1822
1822
  }
1823
- ._large_1a177_213 ._media_1a177_15 {
1823
+ ._large_yg69t_185 ._media_yg69t_15 {
1824
1824
  aspect-ratio: 343 / 457;
1825
1825
  }
1826
- ._large_1a177_213 ._title_1a177_5 {
1826
+ ._large_yg69t_185 ._title_yg69t_5 {
1827
1827
  font-size: 18px;
1828
1828
  line-height: 23px;
1829
1829
  min-height: 0;
1830
1830
  }
1831
- ._tile_1a177_7:not(._large_1a177_213) ._swatches_1a177_181 {
1831
+ ._tile_yg69t_7:not(._large_yg69t_185) ._swatchSlot_yg69t_223 {
1832
1832
  display: none;
1833
1833
  }
1834
- ._section_1n5an_5 {
1834
+ ._section_v48ok_9 {
1835
1835
  display: flex;
1836
1836
  flex-direction: column;
1837
1837
  gap: var(--space-12);
1838
1838
  padding: var(--space-24) 0;
1839
1839
  }
1840
- ._title_1n5an_17 {
1840
+ ._title_v48ok_21 {
1841
1841
  margin: 0;
1842
1842
  padding: 0 var(--space-16);
1843
1843
  font-size: var(--type-heading-md-size);
@@ -1845,14 +1845,14 @@
1845
1845
  font-weight: var(--font-weight-bold);
1846
1846
  color: var(--color-text-default);
1847
1847
  }
1848
- ._link_1n5an_26 {
1848
+ ._link_v48ok_30 {
1849
1849
  display: flex;
1850
1850
  flex-direction: column;
1851
1851
  gap: var(--space-12);
1852
1852
  text-decoration: none;
1853
1853
  color: inherit;
1854
1854
  }
1855
- ._track_1n5an_38 {
1855
+ ._track_v48ok_42 {
1856
1856
  display: flex;
1857
1857
  gap: var(--space-12);
1858
1858
  list-style: none;
@@ -1864,10 +1864,10 @@
1864
1864
  -webkit-overflow-scrolling: touch;
1865
1865
  scrollbar-width: none;
1866
1866
  }
1867
- ._track_1n5an_38::-webkit-scrollbar {
1867
+ ._track_v48ok_42::-webkit-scrollbar {
1868
1868
  display: none;
1869
1869
  }
1870
- ._frame_1n5an_58 {
1870
+ ._frame_v48ok_62 {
1871
1871
  position: relative;
1872
1872
  flex: 0 0 auto;
1873
1873
  width: 165px;
@@ -1877,20 +1877,20 @@
1877
1877
  background: var(--color-surface-soft);
1878
1878
  scroll-snap-align: start;
1879
1879
  }
1880
- ._image_1n5an_69 {
1880
+ ._image_v48ok_73 {
1881
1881
  object-fit: cover;
1882
1882
  }
1883
- ._placeholder_1n5an_73 {
1883
+ ._placeholder_v48ok_77 {
1884
1884
  width: 100%;
1885
1885
  height: 100%;
1886
1886
  }
1887
- ._saleBadge_1n5an_85 {
1887
+ ._saleBadge_v48ok_89 {
1888
1888
  position: absolute;
1889
1889
  display: flex;
1890
1890
  bottom: var(--space-8);
1891
1891
  left: var(--space-8);
1892
1892
  }
1893
- ._oos_1n5an_93 {
1893
+ ._oos_v48ok_97 {
1894
1894
  position: absolute;
1895
1895
  inset: 0;
1896
1896
  display: flex;
@@ -1901,13 +1901,16 @@
1901
1901
  font-size: var(--type-trimmed-sm-size);
1902
1902
  font-weight: var(--font-weight-bold);
1903
1903
  }
1904
- ._caption_1n5an_109 {
1904
+ ._caption_v48ok_113 {
1905
1905
  display: flex;
1906
1906
  flex-direction: column;
1907
1907
  gap: var(--space-16);
1908
1908
  padding: 0 var(--space-16);
1909
1909
  }
1910
- ._name_1n5an_122 {
1910
+ ._swatchRow_v48ok_132 {
1911
+ margin-top: calc(var(--space-12) - var(--space-16));
1912
+ }
1913
+ ._name_v48ok_142 {
1911
1914
  font-size: 18px;
1912
1915
  line-height: 23px;
1913
1916
  padding: 5px 0;
@@ -1918,7 +1921,7 @@
1918
1921
  text-overflow: ellipsis;
1919
1922
  white-space: nowrap;
1920
1923
  }
1921
- ._price_1n5an_135 {
1924
+ ._price_v48ok_155 {
1922
1925
  display: flex;
1923
1926
  align-items: baseline;
1924
1927
  gap: var(--space-4);
@@ -1926,11 +1929,11 @@
1926
1929
  line-height: 11px;
1927
1930
  font-variant-numeric: tabular-nums;
1928
1931
  }
1929
- ._paid_1n5an_144 {
1932
+ ._paid_v48ok_164 {
1930
1933
  font-weight: var(--font-weight-bold);
1931
1934
  color: var(--color-text-default);
1932
1935
  }
1933
- ._was_1n5an_150 {
1936
+ ._was_v48ok_170 {
1934
1937
  font-weight: var(--font-weight-bold);
1935
1938
  color: var(--color-text-disabled);
1936
1939
  text-decoration: line-through;
@@ -3207,18 +3210,17 @@
3207
3210
  justify-content: flex-start;
3208
3211
  text-align: left;
3209
3212
  }
3210
- ._wrap_9mquf_1 {
3211
- padding: var(--space-24) var(--space-16);
3213
+ ._wrap_79nr3_10 {
3214
+ padding: var(--space-24) 0;
3212
3215
  }
3213
- ._box_9mquf_5 {
3216
+ ._box_79nr3_14 {
3214
3217
  position: relative;
3215
3218
  width: 100%;
3216
- aspect-ratio: 343 / 425;
3217
- border-radius: var(--radius-18);
3219
+ aspect-ratio: 3 / 4;
3218
3220
  overflow: hidden;
3219
3221
  background: var(--color-surface-soft);
3220
3222
  }
3221
- ._track_9mquf_15 {
3223
+ ._track_79nr3_23 {
3222
3224
  display: flex;
3223
3225
  list-style: none;
3224
3226
  margin: 0;
@@ -3229,21 +3231,21 @@
3229
3231
  -webkit-overflow-scrolling: touch;
3230
3232
  scrollbar-width: none;
3231
3233
  }
3232
- ._track_9mquf_15::-webkit-scrollbar {
3234
+ ._track_79nr3_23::-webkit-scrollbar {
3233
3235
  display: none;
3234
3236
  }
3235
- ._slide_9mquf_31 {
3237
+ ._slide_79nr3_39 {
3236
3238
  position: relative;
3237
3239
  flex: 0 0 100%;
3238
3240
  height: 100%;
3239
3241
  scroll-snap-align: start;
3240
3242
  }
3241
- ._image_9mquf_38 {
3243
+ ._image_79nr3_46 {
3242
3244
  object-fit: cover;
3243
3245
  }
3244
- ._dots_9mquf_43 {
3246
+ ._dots_79nr3_51 {
3245
3247
  position: absolute;
3246
- bottom: 4px;
3248
+ bottom: 0;
3247
3249
  left: 0;
3248
3250
  right: 0;
3249
3251
  height: 32px;
@@ -3253,13 +3255,13 @@
3253
3255
  gap: var(--space-8);
3254
3256
  pointer-events: none;
3255
3257
  }
3256
- ._dot_9mquf_43 {
3258
+ ._dot_79nr3_51 {
3257
3259
  width: 8px;
3258
3260
  height: 8px;
3259
3261
  border-radius: var(--radius-full);
3260
3262
  background: #9ea2a4;
3261
3263
  }
3262
- ._dotActive_9mquf_63 {
3264
+ ._dotActive_79nr3_76 {
3263
3265
  background: #f9fafa;
3264
3266
  }
3265
3267
  ._section_kdf3c_1 {
@@ -3423,10 +3425,10 @@
3423
3425
  column-gap: var(--space-12);
3424
3426
  row-gap: var(--space-24);
3425
3427
  }
3426
- ._showcase_a0wva_39 {
3428
+ ._showcase_144lm_44 {
3427
3429
  background: #080e12;
3428
3430
  }
3429
- ._panel_a0wva_43 {
3431
+ ._panel_144lm_48 {
3430
3432
  position: relative;
3431
3433
  height: calc(100lvh - var(--showcase-top, 0px));
3432
3434
  scroll-snap-align: start;
@@ -3434,39 +3436,28 @@
3434
3436
  overflow: hidden;
3435
3437
  background: #080e12;
3436
3438
  }
3437
- ._image_a0wva_71 {
3439
+ ._image_144lm_76 {
3438
3440
  object-fit: cover;
3439
3441
  object-position: 50% var(--slide-focal-y, 50%);
3440
3442
  }
3441
- ._heroImageBox_a0wva_119 {
3442
- position: absolute;
3443
- top: 31px;
3444
- left: 0;
3445
- right: 0;
3446
- aspect-ratio: 750 / 1348;
3447
- overflow: hidden;
3448
- }
3449
- ._hero_a0wva_119::after {
3443
+ ._hero_144lm_116::after {
3450
3444
  content: "";
3451
3445
  position: absolute;
3452
3446
  inset: 0;
3453
3447
  background:
3454
3448
  linear-gradient(
3455
3449
  to bottom,
3456
- rgba(8, 14, 18, 1) 39px,
3457
- rgba(8, 14, 18, 0) 119px),
3450
+ rgba(8, 14, 18, 0.45) 118px,
3451
+ rgba(8, 14, 18, 0) 180px),
3458
3452
  linear-gradient(
3459
- to bottom,
3460
- rgba(8, 14, 18, 0) 18%,
3461
- rgba(8, 14, 18, 1) 90%);
3453
+ to top,
3454
+ rgba(8, 14, 18, 0.6) 330px,
3455
+ rgba(8, 14, 18, 0) 520px);
3462
3456
  pointer-events: none;
3463
3457
  }
3464
- ._hero_a0wva_119 ._image_a0wva_71 {
3465
- object-position: top;
3466
- }
3467
- ._hero_a0wva_119 ._heroContent_a0wva_190 {
3458
+ ._hero_144lm_116 ._heroContent_144lm_174 {
3468
3459
  position: absolute;
3469
- bottom: 0;
3460
+ bottom: 32px;
3470
3461
  left: 0;
3471
3462
  right: 0;
3472
3463
  z-index: 1;
@@ -3475,7 +3466,7 @@
3475
3466
  gap: 24px;
3476
3467
  align-items: stretch;
3477
3468
  }
3478
- ._heroText_a0wva_207 {
3469
+ ._heroText_144lm_197 {
3479
3470
  display: flex;
3480
3471
  flex-direction: column;
3481
3472
  gap: 8px;
@@ -3483,11 +3474,11 @@
3483
3474
  padding: 0 24px;
3484
3475
  text-align: center;
3485
3476
  }
3486
- ._heroText_a0wva_207 ._logo_a0wva_216 {
3477
+ ._heroText_144lm_197 ._logo_144lm_206 {
3487
3478
  width: 48px;
3488
3479
  height: 48px;
3489
3480
  }
3490
- ._heroTitle_a0wva_236 {
3481
+ ._heroTitle_144lm_226 {
3491
3482
  width: 100%;
3492
3483
  margin: 0;
3493
3484
  font-family:
@@ -3502,34 +3493,33 @@
3502
3493
  letter-spacing: -1.12px;
3503
3494
  color: #f9fafa;
3504
3495
  }
3505
- ._heroSub_a0wva_260 {
3496
+ ._heroSub_144lm_250 {
3506
3497
  margin: 0;
3507
3498
  font-size: 16px;
3508
3499
  line-height: 1.55;
3509
3500
  color: #f9fafa;
3510
3501
  max-width: 327px;
3511
3502
  }
3512
- ._swipe_a0wva_273 {
3503
+ ._swipe_144lm_269 {
3513
3504
  display: flex;
3514
3505
  flex-direction: column;
3515
3506
  align-items: center;
3516
3507
  gap: 6px;
3517
3508
  padding: 8px 0;
3518
- background: #080e12;
3519
3509
  }
3520
- ._swipeLabel_a0wva_281 {
3510
+ ._swipeLabel_144lm_276 {
3521
3511
  margin: 0;
3522
3512
  font-size: 14px;
3523
3513
  line-height: 1;
3524
3514
  color: rgba(255, 255, 255, 0.54);
3525
3515
  }
3526
- ._chevron_a0wva_287 {
3516
+ ._chevron_144lm_282 {
3527
3517
  width: 24px;
3528
3518
  height: 24px;
3529
3519
  color: rgba(255, 255, 255, 0.54);
3530
- animation: _bob_a0wva_1 1.8s ease-in-out infinite;
3520
+ animation: _bob_144lm_1 1.8s ease-in-out infinite;
3531
3521
  }
3532
- @keyframes _bob_a0wva_1 {
3522
+ @keyframes _bob_144lm_1 {
3533
3523
  0%, 100% {
3534
3524
  transform: translateY(0);
3535
3525
  }
@@ -3537,10 +3527,15 @@
3537
3527
  transform: translateY(4px);
3538
3528
  }
3539
3529
  }
3540
- ._overlay_a0wva_304 {
3530
+ ._overlay_144lm_11 {
3541
3531
  position: absolute;
3542
3532
  inset: 0;
3543
3533
  z-index: 1;
3534
+ background:
3535
+ linear-gradient(
3536
+ to top,
3537
+ rgba(8, 14, 18, 0.6) 260px,
3538
+ rgba(8, 14, 18, 0) 460px);
3544
3539
  display: flex;
3545
3540
  flex-direction: column;
3546
3541
  justify-content: flex-end;
@@ -3548,25 +3543,25 @@
3548
3543
  align-items: flex-start;
3549
3544
  padding: 0 24px 24px;
3550
3545
  }
3551
- ._copy_a0wva_315 {
3546
+ ._copy_144lm_315 {
3552
3547
  display: flex;
3553
3548
  flex-direction: column;
3554
3549
  gap: 8px;
3555
3550
  }
3556
- ._title_a0wva_320 {
3551
+ ._title_144lm_320 {
3557
3552
  margin: 0;
3558
3553
  font-size: 32px;
3559
3554
  line-height: 1.2;
3560
3555
  font-weight: 700;
3561
3556
  color: #f9fafa;
3562
3557
  }
3563
- ._subtitle_a0wva_327 {
3558
+ ._subtitle_144lm_327 {
3564
3559
  margin: 0;
3565
3560
  font-size: 16px;
3566
3561
  line-height: 1.55;
3567
3562
  color: #f9fafa;
3568
3563
  }
3569
- ._cta_a0wva_333 {
3564
+ ._cta_144lm_333 {
3570
3565
  display: inline-flex;
3571
3566
  align-items: center;
3572
3567
  justify-content: center;
@@ -3580,18 +3575,21 @@
3580
3575
  font-weight: 700;
3581
3576
  text-decoration: none;
3582
3577
  }
3583
- ._cta_a0wva_333::after {
3578
+ ._cta_144lm_333::after {
3584
3579
  content: "";
3585
3580
  position: absolute;
3586
3581
  inset: 0;
3587
3582
  }
3588
- ._cta_a0wva_333:active {
3583
+ ._cta_144lm_333:active {
3589
3584
  background: rgba(249, 250, 250, 0.12);
3590
3585
  }
3591
- ._cta_a0wva_333:focus-visible {
3586
+ ._cta_144lm_333:focus-visible {
3592
3587
  outline: none;
3593
3588
  box-shadow: var(--focus-ring);
3594
3589
  }
3590
+ ._mosaic_144lm_377 {
3591
+ background: #080e12;
3592
+ }
3595
3593
  ._header_8o3d7_25 {
3596
3594
  position: sticky;
3597
3595
  top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nok-integration/storefront-react",
3
- "version": "0.19.14",
3
+ "version": "0.19.16",
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",