@nok-integration/storefront-react 0.29.0 → 0.29.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
@@ -10937,11 +10937,11 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
10937
10937
  })]
10938
10938
  });
10939
10939
  }
10940
- const box$1 = "_box_w9fja_1";
10941
- const row$4 = "_row_w9fja_10";
10942
- const icon$2 = "_icon_w9fja_16";
10943
- const label$1 = "_label_w9fja_22";
10944
- const divider$1 = "_divider_w9fja_29";
10940
+ const box$1 = "_box_tuawd_1";
10941
+ const row$4 = "_row_tuawd_10";
10942
+ const icon$2 = "_icon_tuawd_16";
10943
+ const label$1 = "_label_tuawd_22";
10944
+ const divider$1 = "_divider_tuawd_29";
10945
10945
  const styles$q = {
10946
10946
  box: box$1,
10947
10947
  row: row$4,
@@ -15888,19 +15888,19 @@ function ShopBar({ onBack, onMenu, title: title2, showCart, floating: floating2
15888
15888
  })]
15889
15889
  });
15890
15890
  }
15891
- const overlay = "_overlay_1vpmg_5";
15892
- const scrim = "_scrim_1vpmg_21";
15893
- const sheet = "_sheet_1vpmg_31";
15894
- const header = "_header_1vpmg_80";
15895
- const close = "_close_1vpmg_86";
15896
- const list$1 = "_list_1vpmg_105";
15897
- const row = "_row_1vpmg_120";
15898
- const icon = "_icon_1vpmg_149";
15899
- const text = "_text_1vpmg_157";
15900
- const title = "_title_1vpmg_165";
15901
- const subtitle = "_subtitle_1vpmg_172";
15902
- const chevron = "_chevron_1vpmg_178";
15903
- const dropdown = "_dropdown_1vpmg_187";
15891
+ const overlay = "_overlay_sz96n_5";
15892
+ const scrim = "_scrim_sz96n_21";
15893
+ const sheet = "_sheet_sz96n_31";
15894
+ const header = "_header_sz96n_80";
15895
+ const close = "_close_sz96n_86";
15896
+ const list$1 = "_list_sz96n_105";
15897
+ const row = "_row_sz96n_120";
15898
+ const icon = "_icon_sz96n_149";
15899
+ const text = "_text_sz96n_157";
15900
+ const title = "_title_sz96n_165";
15901
+ const subtitle = "_subtitle_sz96n_172";
15902
+ const chevron = "_chevron_sz96n_178";
15903
+ const dropdown = "_dropdown_sz96n_187";
15904
15904
  const styles$1 = {
15905
15905
  overlay,
15906
15906
  scrim,
@@ -10937,11 +10937,11 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
10937
10937
  })]
10938
10938
  });
10939
10939
  }
10940
- const box$1 = "_box_w9fja_1";
10941
- const row$4 = "_row_w9fja_10";
10942
- const icon$2 = "_icon_w9fja_16";
10943
- const label$1 = "_label_w9fja_22";
10944
- const divider$1 = "_divider_w9fja_29";
10940
+ const box$1 = "_box_tuawd_1";
10941
+ const row$4 = "_row_tuawd_10";
10942
+ const icon$2 = "_icon_tuawd_16";
10943
+ const label$1 = "_label_tuawd_22";
10944
+ const divider$1 = "_divider_tuawd_29";
10945
10945
  const styles$q = {
10946
10946
  box: box$1,
10947
10947
  row: row$4,
@@ -15888,19 +15888,19 @@ function ShopBar({ onBack, onMenu, title: title2, showCart, floating: floating2
15888
15888
  })]
15889
15889
  });
15890
15890
  }
15891
- const overlay = "_overlay_1vpmg_5";
15892
- const scrim = "_scrim_1vpmg_21";
15893
- const sheet = "_sheet_1vpmg_31";
15894
- const header = "_header_1vpmg_80";
15895
- const close = "_close_1vpmg_86";
15896
- const list$1 = "_list_1vpmg_105";
15897
- const row = "_row_1vpmg_120";
15898
- const icon = "_icon_1vpmg_149";
15899
- const text = "_text_1vpmg_157";
15900
- const title = "_title_1vpmg_165";
15901
- const subtitle = "_subtitle_1vpmg_172";
15902
- const chevron = "_chevron_1vpmg_178";
15903
- const dropdown = "_dropdown_1vpmg_187";
15891
+ const overlay = "_overlay_sz96n_5";
15892
+ const scrim = "_scrim_sz96n_21";
15893
+ const sheet = "_sheet_sz96n_31";
15894
+ const header = "_header_sz96n_80";
15895
+ const close = "_close_sz96n_86";
15896
+ const list$1 = "_list_sz96n_105";
15897
+ const row = "_row_sz96n_120";
15898
+ const icon = "_icon_sz96n_149";
15899
+ const text = "_text_sz96n_157";
15900
+ const title = "_title_sz96n_165";
15901
+ const subtitle = "_subtitle_sz96n_172";
15902
+ const chevron = "_chevron_sz96n_178";
15903
+ const dropdown = "_dropdown_sz96n_187";
15904
15904
  const styles$1 = {
15905
15905
  overlay,
15906
15906
  scrim,
@@ -3019,7 +3019,7 @@
3019
3019
  text-decoration: line-through;
3020
3020
  white-space: nowrap;
3021
3021
  }
3022
- ._box_w9fja_1 {
3022
+ ._box_tuawd_1 {
3023
3023
  display: flex;
3024
3024
  flex-direction: column;
3025
3025
  gap: var(--space-12);
@@ -3027,26 +3027,31 @@
3027
3027
  border-radius: var(--radius-8);
3028
3028
  background: var(--color-surface-soft);
3029
3029
  }
3030
- ._row_w9fja_10 {
3030
+ ._row_tuawd_10 {
3031
3031
  display: flex;
3032
3032
  align-items: center;
3033
3033
  gap: var(--space-12);
3034
3034
  }
3035
- ._icon_w9fja_16 {
3035
+ ._icon_tuawd_16 {
3036
3036
  display: block;
3037
3037
  flex-shrink: 0;
3038
3038
  color: var(--color-surface-max);
3039
3039
  }
3040
- ._label_w9fja_22 {
3040
+ ._label_tuawd_22 {
3041
3041
  margin: 0;
3042
3042
  font-size: var(--type-trimmed-sm-size);
3043
3043
  font-weight: var(--font-weight-bold);
3044
3044
  color: var(--color-text-default);
3045
3045
  }
3046
- ._divider_w9fja_29 {
3046
+ ._divider_tuawd_29 {
3047
3047
  height: 1px;
3048
3048
  background: var(--color-border-default);
3049
3049
  }
3050
+ @media (min-width: 1200px) {
3051
+ ._box_tuawd_1 {
3052
+ background: var(--color-surface-default);
3053
+ }
3054
+ }
3050
3055
  ._bar_23dkv_1 {
3051
3056
  position: sticky;
3052
3057
  bottom: 0;
@@ -5443,7 +5448,7 @@
5443
5448
  width: auto;
5444
5449
  text-align: center;
5445
5450
  }
5446
- ._overlay_1vpmg_5 {
5451
+ ._overlay_sz96n_5 {
5447
5452
  position: fixed;
5448
5453
  inset: 0;
5449
5454
  z-index: 900;
@@ -5452,12 +5457,12 @@
5452
5457
  justify-content: center;
5453
5458
  padding: calc(var(--header-height) + var(--space-16) + env(safe-area-inset-top, 0px)) var(--space-16) var(--space-16);
5454
5459
  }
5455
- ._scrim_1vpmg_21 {
5460
+ ._scrim_sz96n_21 {
5456
5461
  position: absolute;
5457
5462
  inset: 0;
5458
5463
  background: rgba(12, 22, 28, 0.32);
5459
5464
  }
5460
- ._sheet_1vpmg_31 {
5465
+ ._sheet_sz96n_31 {
5461
5466
  position: relative;
5462
5467
  width: 100%;
5463
5468
  max-width: 343px;
@@ -5468,13 +5473,13 @@
5468
5473
  border-radius: var(--radius-12);
5469
5474
  display: flex;
5470
5475
  flex-direction: column;
5471
- animation: _menu-in_1vpmg_1 160ms ease;
5476
+ animation: _menu-in_sz96n_1 160ms ease;
5472
5477
  scrollbar-width: none;
5473
5478
  }
5474
- ._sheet_1vpmg_31::-webkit-scrollbar {
5479
+ ._sheet_sz96n_31::-webkit-scrollbar {
5475
5480
  display: none;
5476
5481
  }
5477
- @keyframes _menu-in_1vpmg_1 {
5482
+ @keyframes _menu-in_sz96n_1 {
5478
5483
  from {
5479
5484
  opacity: 0;
5480
5485
  transform: translateY(-8px);
@@ -5485,16 +5490,16 @@
5485
5490
  }
5486
5491
  }
5487
5492
  @media (prefers-reduced-motion: reduce) {
5488
- ._sheet_1vpmg_31 {
5493
+ ._sheet_sz96n_31 {
5489
5494
  animation: none;
5490
5495
  }
5491
5496
  }
5492
- ._header_1vpmg_80 {
5497
+ ._header_sz96n_80 {
5493
5498
  display: flex;
5494
5499
  justify-content: flex-end;
5495
5500
  border-bottom: 1px solid rgba(249, 250, 250, 0.2);
5496
5501
  }
5497
- ._close_1vpmg_86 {
5502
+ ._close_sz96n_86 {
5498
5503
  display: inline-flex;
5499
5504
  align-items: center;
5500
5505
  justify-content: center;
@@ -5506,19 +5511,19 @@
5506
5511
  color: inherit;
5507
5512
  cursor: pointer;
5508
5513
  }
5509
- ._close_1vpmg_86:focus-visible {
5514
+ ._close_sz96n_86:focus-visible {
5510
5515
  outline: none;
5511
5516
  box-shadow: var(--focus-ring);
5512
5517
  border-radius: var(--radius-4);
5513
5518
  }
5514
- ._list_1vpmg_105 {
5519
+ ._list_sz96n_105 {
5515
5520
  list-style: none;
5516
5521
  margin: 0;
5517
5522
  padding: var(--space-6) 0;
5518
5523
  display: flex;
5519
5524
  flex-direction: column;
5520
5525
  }
5521
- ._row_1vpmg_120 {
5526
+ ._row_sz96n_120 {
5522
5527
  display: flex;
5523
5528
  align-items: center;
5524
5529
  gap: var(--space-8);
@@ -5531,39 +5536,39 @@
5531
5536
  text-align: left;
5532
5537
  cursor: pointer;
5533
5538
  }
5534
- ._row_1vpmg_120[disabled] {
5539
+ ._row_sz96n_120[disabled] {
5535
5540
  cursor: default;
5536
5541
  }
5537
- ._row_1vpmg_120:focus-visible {
5542
+ ._row_sz96n_120:focus-visible {
5538
5543
  outline: none;
5539
5544
  box-shadow: var(--focus-ring);
5540
5545
  }
5541
- ._icon_1vpmg_149 {
5546
+ ._icon_sz96n_149 {
5542
5547
  display: inline-flex;
5543
5548
  flex: 0 0 24px;
5544
5549
  width: 24px;
5545
5550
  height: 24px;
5546
5551
  color: var(--color-text-default);
5547
5552
  }
5548
- ._text_1vpmg_157 {
5553
+ ._text_sz96n_157 {
5549
5554
  display: flex;
5550
5555
  flex: 1 1 auto;
5551
5556
  flex-direction: column;
5552
5557
  gap: var(--space-2);
5553
5558
  min-width: 0;
5554
5559
  }
5555
- ._title_1vpmg_165 {
5560
+ ._title_sz96n_165 {
5556
5561
  font-size: var(--type-paragraph-size);
5557
5562
  font-weight: var(--font-weight-bold);
5558
5563
  line-height: 1;
5559
5564
  color: var(--color-text-default);
5560
5565
  }
5561
- ._subtitle_1vpmg_172 {
5566
+ ._subtitle_sz96n_172 {
5562
5567
  font-size: var(--type-trimmed-xs-size);
5563
5568
  line-height: 1.52;
5564
5569
  color: var(--color-text-subtle);
5565
5570
  }
5566
- ._chevron_1vpmg_178 {
5571
+ ._chevron_sz96n_178 {
5567
5572
  display: inline-flex;
5568
5573
  flex: 0 0 16px;
5569
5574
  width: 16px;
@@ -5571,24 +5576,24 @@
5571
5576
  color: var(--color-text-subtle);
5572
5577
  }
5573
5578
  @media (min-width: 1200px) {
5574
- ._dropdown_1vpmg_187 {
5579
+ ._dropdown_sz96n_187 {
5575
5580
  padding: 0;
5576
5581
  }
5577
- ._dropdown_1vpmg_187 ._scrim_1vpmg_21 {
5582
+ ._dropdown_sz96n_187 ._scrim_sz96n_21 {
5578
5583
  background: transparent;
5579
5584
  }
5580
- ._dropdown_1vpmg_187 ._sheet_1vpmg_31 {
5585
+ ._dropdown_sz96n_187 ._sheet_sz96n_31 {
5581
5586
  position: absolute;
5582
5587
  top: calc(var(--shop-chrome-top, 0px) + 64px);
5583
- right: calc(max(176px, calc((100% - 1088px) / 2)) - 112px);
5584
- width: 320px;
5585
- max-width: 320px;
5588
+ right: calc(max(176px, calc((100% - 1088px) / 2)) - 8px);
5589
+ width: 343px;
5590
+ max-width: 343px;
5586
5591
  max-height: calc(100dvh - var(--shop-chrome-top, 0px) - 80px);
5587
5592
  border: 1px solid rgba(249, 250, 250, 0.2);
5588
5593
  background: #f9fafa;
5589
5594
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
5590
5595
  }
5591
- ._dropdown_1vpmg_187 ._list_1vpmg_105 li:not(:last-child) ._row_1vpmg_120 {
5596
+ ._dropdown_sz96n_187 ._list_sz96n_105 li:not(:last-child) ._row_sz96n_120 {
5592
5597
  border-bottom: 1px solid #dddedf;
5593
5598
  }
5594
5599
  }
package/dist/styles.css CHANGED
@@ -3019,7 +3019,7 @@
3019
3019
  text-decoration: line-through;
3020
3020
  white-space: nowrap;
3021
3021
  }
3022
- ._box_w9fja_1 {
3022
+ ._box_tuawd_1 {
3023
3023
  display: flex;
3024
3024
  flex-direction: column;
3025
3025
  gap: var(--space-12);
@@ -3027,26 +3027,31 @@
3027
3027
  border-radius: var(--radius-8);
3028
3028
  background: var(--color-surface-soft);
3029
3029
  }
3030
- ._row_w9fja_10 {
3030
+ ._row_tuawd_10 {
3031
3031
  display: flex;
3032
3032
  align-items: center;
3033
3033
  gap: var(--space-12);
3034
3034
  }
3035
- ._icon_w9fja_16 {
3035
+ ._icon_tuawd_16 {
3036
3036
  display: block;
3037
3037
  flex-shrink: 0;
3038
3038
  color: var(--color-surface-max);
3039
3039
  }
3040
- ._label_w9fja_22 {
3040
+ ._label_tuawd_22 {
3041
3041
  margin: 0;
3042
3042
  font-size: var(--type-trimmed-sm-size);
3043
3043
  font-weight: var(--font-weight-bold);
3044
3044
  color: var(--color-text-default);
3045
3045
  }
3046
- ._divider_w9fja_29 {
3046
+ ._divider_tuawd_29 {
3047
3047
  height: 1px;
3048
3048
  background: var(--color-border-default);
3049
3049
  }
3050
+ @media (min-width: 1200px) {
3051
+ ._box_tuawd_1 {
3052
+ background: var(--color-surface-default);
3053
+ }
3054
+ }
3050
3055
  ._bar_23dkv_1 {
3051
3056
  position: sticky;
3052
3057
  bottom: 0;
@@ -5443,7 +5448,7 @@
5443
5448
  width: auto;
5444
5449
  text-align: center;
5445
5450
  }
5446
- ._overlay_1vpmg_5 {
5451
+ ._overlay_sz96n_5 {
5447
5452
  position: fixed;
5448
5453
  inset: 0;
5449
5454
  z-index: 900;
@@ -5452,12 +5457,12 @@
5452
5457
  justify-content: center;
5453
5458
  padding: calc(var(--header-height) + var(--space-16) + env(safe-area-inset-top, 0px)) var(--space-16) var(--space-16);
5454
5459
  }
5455
- ._scrim_1vpmg_21 {
5460
+ ._scrim_sz96n_21 {
5456
5461
  position: absolute;
5457
5462
  inset: 0;
5458
5463
  background: rgba(12, 22, 28, 0.32);
5459
5464
  }
5460
- ._sheet_1vpmg_31 {
5465
+ ._sheet_sz96n_31 {
5461
5466
  position: relative;
5462
5467
  width: 100%;
5463
5468
  max-width: 343px;
@@ -5468,13 +5473,13 @@
5468
5473
  border-radius: var(--radius-12);
5469
5474
  display: flex;
5470
5475
  flex-direction: column;
5471
- animation: _menu-in_1vpmg_1 160ms ease;
5476
+ animation: _menu-in_sz96n_1 160ms ease;
5472
5477
  scrollbar-width: none;
5473
5478
  }
5474
- ._sheet_1vpmg_31::-webkit-scrollbar {
5479
+ ._sheet_sz96n_31::-webkit-scrollbar {
5475
5480
  display: none;
5476
5481
  }
5477
- @keyframes _menu-in_1vpmg_1 {
5482
+ @keyframes _menu-in_sz96n_1 {
5478
5483
  from {
5479
5484
  opacity: 0;
5480
5485
  transform: translateY(-8px);
@@ -5485,16 +5490,16 @@
5485
5490
  }
5486
5491
  }
5487
5492
  @media (prefers-reduced-motion: reduce) {
5488
- ._sheet_1vpmg_31 {
5493
+ ._sheet_sz96n_31 {
5489
5494
  animation: none;
5490
5495
  }
5491
5496
  }
5492
- ._header_1vpmg_80 {
5497
+ ._header_sz96n_80 {
5493
5498
  display: flex;
5494
5499
  justify-content: flex-end;
5495
5500
  border-bottom: 1px solid rgba(249, 250, 250, 0.2);
5496
5501
  }
5497
- ._close_1vpmg_86 {
5502
+ ._close_sz96n_86 {
5498
5503
  display: inline-flex;
5499
5504
  align-items: center;
5500
5505
  justify-content: center;
@@ -5506,19 +5511,19 @@
5506
5511
  color: inherit;
5507
5512
  cursor: pointer;
5508
5513
  }
5509
- ._close_1vpmg_86:focus-visible {
5514
+ ._close_sz96n_86:focus-visible {
5510
5515
  outline: none;
5511
5516
  box-shadow: var(--focus-ring);
5512
5517
  border-radius: var(--radius-4);
5513
5518
  }
5514
- ._list_1vpmg_105 {
5519
+ ._list_sz96n_105 {
5515
5520
  list-style: none;
5516
5521
  margin: 0;
5517
5522
  padding: var(--space-6) 0;
5518
5523
  display: flex;
5519
5524
  flex-direction: column;
5520
5525
  }
5521
- ._row_1vpmg_120 {
5526
+ ._row_sz96n_120 {
5522
5527
  display: flex;
5523
5528
  align-items: center;
5524
5529
  gap: var(--space-8);
@@ -5531,39 +5536,39 @@
5531
5536
  text-align: left;
5532
5537
  cursor: pointer;
5533
5538
  }
5534
- ._row_1vpmg_120[disabled] {
5539
+ ._row_sz96n_120[disabled] {
5535
5540
  cursor: default;
5536
5541
  }
5537
- ._row_1vpmg_120:focus-visible {
5542
+ ._row_sz96n_120:focus-visible {
5538
5543
  outline: none;
5539
5544
  box-shadow: var(--focus-ring);
5540
5545
  }
5541
- ._icon_1vpmg_149 {
5546
+ ._icon_sz96n_149 {
5542
5547
  display: inline-flex;
5543
5548
  flex: 0 0 24px;
5544
5549
  width: 24px;
5545
5550
  height: 24px;
5546
5551
  color: var(--color-text-default);
5547
5552
  }
5548
- ._text_1vpmg_157 {
5553
+ ._text_sz96n_157 {
5549
5554
  display: flex;
5550
5555
  flex: 1 1 auto;
5551
5556
  flex-direction: column;
5552
5557
  gap: var(--space-2);
5553
5558
  min-width: 0;
5554
5559
  }
5555
- ._title_1vpmg_165 {
5560
+ ._title_sz96n_165 {
5556
5561
  font-size: var(--type-paragraph-size);
5557
5562
  font-weight: var(--font-weight-bold);
5558
5563
  line-height: 1;
5559
5564
  color: var(--color-text-default);
5560
5565
  }
5561
- ._subtitle_1vpmg_172 {
5566
+ ._subtitle_sz96n_172 {
5562
5567
  font-size: var(--type-trimmed-xs-size);
5563
5568
  line-height: 1.52;
5564
5569
  color: var(--color-text-subtle);
5565
5570
  }
5566
- ._chevron_1vpmg_178 {
5571
+ ._chevron_sz96n_178 {
5567
5572
  display: inline-flex;
5568
5573
  flex: 0 0 16px;
5569
5574
  width: 16px;
@@ -5571,24 +5576,24 @@
5571
5576
  color: var(--color-text-subtle);
5572
5577
  }
5573
5578
  @media (min-width: 1200px) {
5574
- ._dropdown_1vpmg_187 {
5579
+ ._dropdown_sz96n_187 {
5575
5580
  padding: 0;
5576
5581
  }
5577
- ._dropdown_1vpmg_187 ._scrim_1vpmg_21 {
5582
+ ._dropdown_sz96n_187 ._scrim_sz96n_21 {
5578
5583
  background: transparent;
5579
5584
  }
5580
- ._dropdown_1vpmg_187 ._sheet_1vpmg_31 {
5585
+ ._dropdown_sz96n_187 ._sheet_sz96n_31 {
5581
5586
  position: absolute;
5582
5587
  top: calc(var(--shop-chrome-top, 0px) + 64px);
5583
- right: calc(max(176px, calc((100% - 1088px) / 2)) - 112px);
5584
- width: 320px;
5585
- max-width: 320px;
5588
+ right: calc(max(176px, calc((100% - 1088px) / 2)) - 8px);
5589
+ width: 343px;
5590
+ max-width: 343px;
5586
5591
  max-height: calc(100dvh - var(--shop-chrome-top, 0px) - 80px);
5587
5592
  border: 1px solid rgba(249, 250, 250, 0.2);
5588
5593
  background: #f9fafa;
5589
5594
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
5590
5595
  }
5591
- ._dropdown_1vpmg_187 ._list_1vpmg_105 li:not(:last-child) ._row_1vpmg_120 {
5596
+ ._dropdown_sz96n_187 ._list_sz96n_105 li:not(:last-child) ._row_sz96n_120 {
5592
5597
  border-bottom: 1px solid #dddedf;
5593
5598
  }
5594
5599
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nok-integration/storefront-react",
3
- "version": "0.29.0",
3
+ "version": "0.29.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",