@nok-integration/storefront-react 0.19.10 → 0.19.14

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
@@ -981,136 +981,6 @@
981
981
  animation: none;
982
982
  }
983
983
  }
984
- ._page_1v9my_8 {
985
- display: flex;
986
- flex-direction: column;
987
- gap: var(--space-32);
988
- padding: var(--space-20) var(--space-16) var(--space-24);
989
- }
990
- ._widget_1v9my_18 {
991
- display: flex;
992
- flex-direction: column;
993
- gap: var(--space-32);
994
- }
995
- ._titleRow_1v9my_26 {
996
- display: flex;
997
- align-items: center;
998
- justify-content: space-between;
999
- gap: var(--space-12);
1000
- }
1001
- ._headline_1v9my_42 {
1002
- margin: -9px 0;
1003
- padding: 9px 0;
1004
- min-width: 0;
1005
- font-size: var(--type-heading-md-size);
1006
- line-height: 14px;
1007
- font-weight: var(--font-weight-bold);
1008
- overflow: hidden;
1009
- text-overflow: ellipsis;
1010
- white-space: nowrap;
1011
- }
1012
- ._track_1v9my_74 {
1013
- display: inline-flex;
1014
- align-items: center;
1015
- gap: var(--space-6);
1016
- flex-shrink: 0;
1017
- font-size: var(--type-trimmed-md-size);
1018
- line-height: 14px;
1019
- font-weight: var(--font-weight-bold);
1020
- color: var(--color-text-default);
1021
- text-decoration: none;
1022
- }
1023
- ._track_1v9my_74:focus-visible {
1024
- outline: none;
1025
- box-shadow: var(--focus-ring);
1026
- border-radius: var(--radius-4);
1027
- }
1028
- ._rule_1v9my_99 {
1029
- height: 1px;
1030
- margin: 0 0 -1px;
1031
- border: 0;
1032
- background: var(--color-border-default);
1033
- }
1034
- ._help_1v9my_109 {
1035
- display: flex;
1036
- flex-direction: column;
1037
- gap: var(--space-6);
1038
- }
1039
- ._helpTitle_1v9my_115 {
1040
- margin: 0;
1041
- font-size: var(--type-heading-md-size);
1042
- line-height: 1.32;
1043
- font-weight: var(--font-weight-bold);
1044
- }
1045
- ._helpRows_1v9my_122 {
1046
- display: flex;
1047
- flex-direction: column;
1048
- }
1049
- ._helpRow_1v9my_122 {
1050
- display: flex;
1051
- align-items: center;
1052
- justify-content: space-between;
1053
- gap: var(--space-12);
1054
- width: 100%;
1055
- padding: var(--space-16) 0;
1056
- border: 0;
1057
- border-radius: var(--radius-8);
1058
- background: none;
1059
- color: var(--color-text-default);
1060
- font-family: inherit;
1061
- font-size: var(--type-trimmed-sm-size);
1062
- line-height: 10px;
1063
- font-weight: var(--font-weight-bold);
1064
- text-align: left;
1065
- cursor: pointer;
1066
- }
1067
- ._helpRow_1v9my_122 + ._helpRow_1v9my_122 {
1068
- border-top: 1px solid var(--color-border-subtle);
1069
- }
1070
- ._helpRow_1v9my_122:focus-visible {
1071
- outline: none;
1072
- box-shadow: var(--focus-ring);
1073
- }
1074
- ._cancel_1v9my_180 {
1075
- display: inline-flex;
1076
- align-items: center;
1077
- justify-content: center;
1078
- width: 100%;
1079
- min-height: var(--control-height);
1080
- padding: 0 var(--space-20);
1081
- border: 0;
1082
- border-radius: var(--radius-8);
1083
- background: var(--color-state-surface-critical-soft);
1084
- color: var(--color-state-text-critical);
1085
- font-family: inherit;
1086
- font-size: var(--type-trimmed-md-size);
1087
- line-height: 11px;
1088
- font-weight: var(--font-weight-bold);
1089
- cursor: pointer;
1090
- }
1091
- ._cancel_1v9my_180:focus-visible {
1092
- outline: none;
1093
- box-shadow: var(--focus-ring);
1094
- }
1095
- ._cancelledHead_1v9my_204 {
1096
- display: flex;
1097
- flex-direction: column;
1098
- gap: var(--space-8);
1099
- }
1100
- ._cancelledTitle_1v9my_210 {
1101
- margin: 0;
1102
- font-size: var(--type-heading-md-size);
1103
- line-height: 1.32;
1104
- font-weight: var(--font-weight-bold);
1105
- color: var(--color-text-default);
1106
- }
1107
- ._cancelledMeta_1v9my_219 {
1108
- font-size: var(--type-trimmed-sm-size);
1109
- line-height: 10px;
1110
- padding: 5px 0;
1111
- margin: -5px 0;
1112
- color: var(--color-text-subtle);
1113
- }
1114
984
  ._page_1c7ro_7 {
1115
985
  display: flex;
1116
986
  flex-direction: column;
@@ -1509,6 +1379,136 @@
1509
1379
  text-decoration: line-through;
1510
1380
  font-variant-numeric: tabular-nums;
1511
1381
  }
1382
+ ._page_1v9my_8 {
1383
+ display: flex;
1384
+ flex-direction: column;
1385
+ gap: var(--space-32);
1386
+ padding: var(--space-20) var(--space-16) var(--space-24);
1387
+ }
1388
+ ._widget_1v9my_18 {
1389
+ display: flex;
1390
+ flex-direction: column;
1391
+ gap: var(--space-32);
1392
+ }
1393
+ ._titleRow_1v9my_26 {
1394
+ display: flex;
1395
+ align-items: center;
1396
+ justify-content: space-between;
1397
+ gap: var(--space-12);
1398
+ }
1399
+ ._headline_1v9my_42 {
1400
+ margin: -9px 0;
1401
+ padding: 9px 0;
1402
+ min-width: 0;
1403
+ font-size: var(--type-heading-md-size);
1404
+ line-height: 14px;
1405
+ font-weight: var(--font-weight-bold);
1406
+ overflow: hidden;
1407
+ text-overflow: ellipsis;
1408
+ white-space: nowrap;
1409
+ }
1410
+ ._track_1v9my_74 {
1411
+ display: inline-flex;
1412
+ align-items: center;
1413
+ gap: var(--space-6);
1414
+ flex-shrink: 0;
1415
+ font-size: var(--type-trimmed-md-size);
1416
+ line-height: 14px;
1417
+ font-weight: var(--font-weight-bold);
1418
+ color: var(--color-text-default);
1419
+ text-decoration: none;
1420
+ }
1421
+ ._track_1v9my_74:focus-visible {
1422
+ outline: none;
1423
+ box-shadow: var(--focus-ring);
1424
+ border-radius: var(--radius-4);
1425
+ }
1426
+ ._rule_1v9my_99 {
1427
+ height: 1px;
1428
+ margin: 0 0 -1px;
1429
+ border: 0;
1430
+ background: var(--color-border-default);
1431
+ }
1432
+ ._help_1v9my_109 {
1433
+ display: flex;
1434
+ flex-direction: column;
1435
+ gap: var(--space-6);
1436
+ }
1437
+ ._helpTitle_1v9my_115 {
1438
+ margin: 0;
1439
+ font-size: var(--type-heading-md-size);
1440
+ line-height: 1.32;
1441
+ font-weight: var(--font-weight-bold);
1442
+ }
1443
+ ._helpRows_1v9my_122 {
1444
+ display: flex;
1445
+ flex-direction: column;
1446
+ }
1447
+ ._helpRow_1v9my_122 {
1448
+ display: flex;
1449
+ align-items: center;
1450
+ justify-content: space-between;
1451
+ gap: var(--space-12);
1452
+ width: 100%;
1453
+ padding: var(--space-16) 0;
1454
+ border: 0;
1455
+ border-radius: var(--radius-8);
1456
+ background: none;
1457
+ color: var(--color-text-default);
1458
+ font-family: inherit;
1459
+ font-size: var(--type-trimmed-sm-size);
1460
+ line-height: 10px;
1461
+ font-weight: var(--font-weight-bold);
1462
+ text-align: left;
1463
+ cursor: pointer;
1464
+ }
1465
+ ._helpRow_1v9my_122 + ._helpRow_1v9my_122 {
1466
+ border-top: 1px solid var(--color-border-subtle);
1467
+ }
1468
+ ._helpRow_1v9my_122:focus-visible {
1469
+ outline: none;
1470
+ box-shadow: var(--focus-ring);
1471
+ }
1472
+ ._cancel_1v9my_180 {
1473
+ display: inline-flex;
1474
+ align-items: center;
1475
+ justify-content: center;
1476
+ width: 100%;
1477
+ min-height: var(--control-height);
1478
+ padding: 0 var(--space-20);
1479
+ border: 0;
1480
+ border-radius: var(--radius-8);
1481
+ background: var(--color-state-surface-critical-soft);
1482
+ color: var(--color-state-text-critical);
1483
+ font-family: inherit;
1484
+ font-size: var(--type-trimmed-md-size);
1485
+ line-height: 11px;
1486
+ font-weight: var(--font-weight-bold);
1487
+ cursor: pointer;
1488
+ }
1489
+ ._cancel_1v9my_180:focus-visible {
1490
+ outline: none;
1491
+ box-shadow: var(--focus-ring);
1492
+ }
1493
+ ._cancelledHead_1v9my_204 {
1494
+ display: flex;
1495
+ flex-direction: column;
1496
+ gap: var(--space-8);
1497
+ }
1498
+ ._cancelledTitle_1v9my_210 {
1499
+ margin: 0;
1500
+ font-size: var(--type-heading-md-size);
1501
+ line-height: 1.32;
1502
+ font-weight: var(--font-weight-bold);
1503
+ color: var(--color-text-default);
1504
+ }
1505
+ ._cancelledMeta_1v9my_219 {
1506
+ font-size: var(--type-trimmed-sm-size);
1507
+ line-height: 10px;
1508
+ padding: 5px 0;
1509
+ margin: -5px 0;
1510
+ color: var(--color-text-subtle);
1511
+ }
1512
1512
  ._page_2uqhz_6 {
1513
1513
  display: flex;
1514
1514
  flex-direction: column;
@@ -2738,28 +2738,30 @@
2738
2738
  animation: none;
2739
2739
  }
2740
2740
  }
2741
- ._root_6sbl9_1 {
2741
+ ._root_1q3xe_1 {
2742
2742
  display: flex;
2743
2743
  flex-direction: column;
2744
2744
  gap: var(--space-12);
2745
2745
  }
2746
- ._header_6sbl9_7 {
2746
+ ._header_1q3xe_11 {
2747
2747
  display: flex;
2748
2748
  align-items: center;
2749
+ justify-content: space-between;
2750
+ gap: var(--space-8);
2749
2751
  }
2750
- ._title_6sbl9_12 {
2752
+ ._title_1q3xe_18 {
2751
2753
  margin: 0;
2752
2754
  font-size: var(--type-trimmed-md-size);
2753
2755
  line-height: var(--type-trimmed-md-line);
2754
2756
  font-weight: var(--font-weight-bold);
2755
2757
  color: var(--color-text-default);
2756
2758
  }
2757
- ._chips_6sbl9_20 {
2759
+ ._chips_1q3xe_26 {
2758
2760
  display: flex;
2759
2761
  flex-wrap: wrap;
2760
2762
  gap: var(--space-8);
2761
2763
  }
2762
- ._chip_6sbl9_20 {
2764
+ ._chip_1q3xe_26 {
2763
2765
  display: inline-flex;
2764
2766
  align-items: center;
2765
2767
  justify-content: center;
@@ -2775,43 +2777,51 @@
2775
2777
  font-weight: var(--font-weight-bold);
2776
2778
  cursor: pointer;
2777
2779
  }
2778
- ._selected_6sbl9_44 {
2780
+ ._selected_1q3xe_50 {
2779
2781
  border-color: var(--color-surface-max);
2780
2782
  background: var(--color-surface-max);
2781
2783
  color: var(--color-text-strong);
2782
2784
  }
2783
- ._disabled_6sbl9_56 {
2785
+ ._disabled_1q3xe_62 {
2784
2786
  cursor: not-allowed;
2785
2787
  border-style: dashed;
2786
2788
  color: var(--color-text-disabled);
2787
2789
  }
2788
- ._error_6sbl9_64 {
2790
+ ._lowStock_1q3xe_74 {
2791
+ margin: 0;
2792
+ font-size: var(--type-trimmed-sm-size);
2793
+ line-height: var(--type-trimmed-sm-line);
2794
+ font-weight: var(--font-weight-bold);
2795
+ color: var(--color-state-text-warning);
2796
+ }
2797
+ ._error_1q3xe_84 {
2789
2798
  margin: 0;
2790
2799
  font-size: var(--type-trimmed-sm-size);
2791
2800
  font-weight: var(--font-weight-regular);
2792
2801
  color: var(--color-state-surface-critical-default);
2793
2802
  }
2794
- ._sizeGuide_6sbl9_71 {
2803
+ ._sizeGuide_1q3xe_91 {
2795
2804
  position: relative;
2796
2805
  display: inline-flex;
2797
2806
  align-items: center;
2798
2807
  gap: var(--space-2);
2799
- align-self: flex-start;
2808
+ flex-shrink: 0;
2800
2809
  padding: 0;
2801
2810
  border: none;
2802
2811
  background: none;
2803
2812
  color: var(--color-text-subtle);
2804
2813
  font-family: inherit;
2805
2814
  font-size: var(--type-trimmed-sm-size);
2815
+ line-height: var(--type-trimmed-sm-line);
2806
2816
  cursor: pointer;
2807
2817
  }
2808
- ._chevron_6sbl9_87 {
2818
+ ._info_1q3xe_115 {
2809
2819
  display: block;
2810
2820
  }
2811
- ._sizeGuide_6sbl9_71::after {
2821
+ ._sizeGuide_1q3xe_91::after {
2812
2822
  content: "";
2813
2823
  position: absolute;
2814
- inset: -8px -8px -18px;
2824
+ inset: -24px -8px -8px;
2815
2825
  }
2816
2826
  ._root_1h4ny_1 {
2817
2827
  display: flex;
@@ -3094,22 +3104,23 @@
3094
3104
  ._oos_1hv16_66 {
3095
3105
  color: var(--color-state-surface-critical-default);
3096
3106
  }
3097
- ._hero_pi6qp_10 {
3098
- --hero-height: clamp(480px, 100svh, 812px);
3107
+ ._hero_1glho_10 {
3108
+ --hero-height: clamp(480px, calc(100svh - var(--hero-top, 0px)), 812px);
3099
3109
  position: relative;
3100
3110
  height: var(--hero-height);
3101
3111
  overflow: hidden;
3102
3112
  background: var(--color-surface-default);
3103
3113
  margin-bottom: calc(var(--hero-height) * -237 / 812);
3104
3114
  }
3105
- ._image_pi6qp_37 {
3115
+ ._image_1glho_42 {
3106
3116
  position: absolute;
3107
3117
  inset: 0;
3108
3118
  }
3109
- ._image_pi6qp_37 img {
3119
+ ._image_1glho_42 img {
3110
3120
  object-fit: cover;
3121
+ object-position: top center;
3111
3122
  }
3112
- ._scrim_pi6qp_51 {
3123
+ ._scrim_1glho_70 {
3113
3124
  position: absolute;
3114
3125
  inset: 0;
3115
3126
  background:
@@ -3119,9 +3130,22 @@
3119
3130
  rgba(0, 0, 0, 0.1) 45%,
3120
3131
  rgba(0, 0, 0, 0) 70%);
3121
3132
  }
3122
- ._text_pi6qp_57 {
3133
+ ._fade_1glho_94 {
3134
+ position: absolute;
3135
+ right: 0;
3136
+ bottom: 0;
3137
+ left: 0;
3138
+ height: 33%;
3139
+ background:
3140
+ linear-gradient(
3141
+ to bottom,
3142
+ rgba(8, 14, 18, 0) 0%,
3143
+ rgba(8, 14, 18, 0.65) 55%,
3144
+ var(--color-surface-default) 100%);
3145
+ }
3146
+ ._text_1glho_108 {
3123
3147
  position: absolute;
3124
- top: 106px;
3148
+ top: max(var(--space-12), calc(106px - var(--hero-top, 0px)));
3125
3149
  left: 0;
3126
3150
  right: 0;
3127
3151
  display: flex;
@@ -3131,7 +3155,7 @@
3131
3155
  padding: var(--space-12) var(--space-24) var(--space-24);
3132
3156
  text-align: center;
3133
3157
  }
3134
- ._title_pi6qp_79 {
3158
+ ._title_1glho_146 {
3135
3159
  width: 327px;
3136
3160
  max-width: 100%;
3137
3161
  margin: 0;
@@ -3141,7 +3165,7 @@
3141
3165
  color: #f9fafa;
3142
3166
  text-wrap: balance;
3143
3167
  }
3144
- ._subtitle_pi6qp_90 {
3168
+ ._subtitle_1glho_157 {
3145
3169
  width: 224px;
3146
3170
  max-width: 100%;
3147
3171
  margin: 0;
@@ -3150,18 +3174,18 @@
3150
3174
  font-weight: var(--font-weight-regular);
3151
3175
  color: #f9fafa;
3152
3176
  }
3153
- ._noImage_pi6qp_105 {
3177
+ ._noImage_1glho_172 {
3154
3178
  height: auto;
3155
3179
  min-height: 0;
3156
3180
  max-height: none;
3157
3181
  margin-bottom: 0;
3158
3182
  }
3159
- ._noImage_pi6qp_105 ._text_pi6qp_57 {
3183
+ ._noImage_1glho_172 ._text_1glho_108 {
3160
3184
  position: static;
3161
3185
  padding-top: var(--space-24);
3162
3186
  }
3163
- ._noImage_pi6qp_105 ._title_pi6qp_79,
3164
- ._noImage_pi6qp_105 ._subtitle_pi6qp_90 {
3187
+ ._noImage_1glho_172 ._title_1glho_146,
3188
+ ._noImage_1glho_172 ._subtitle_1glho_157 {
3165
3189
  color: var(--color-text-default);
3166
3190
  }
3167
3191
  ._text_1saw4_6 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nok-integration/storefront-react",
3
- "version": "0.19.10",
3
+ "version": "0.19.14",
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",