@nok-integration/storefront-react 0.16.2 → 0.16.4
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 +14 -3
- package/dist/index.mjs +19 -19
- package/dist/standalone/storefront.mjs +19 -19
- package/dist/standalone/styles.css +32 -19
- package/dist/styles.css +32 -19
- package/package.json +9 -26
package/dist/index.d.ts
CHANGED
|
@@ -3386,9 +3386,20 @@ export declare type ShopEvent = {
|
|
|
3386
3386
|
* if the design is ours, and a mismatch if only half of it is.
|
|
3387
3387
|
*
|
|
3388
3388
|
* The cart count is real, never fabricated: `useCartCount` returns `null` until it knows,
|
|
3389
|
-
* and the badge stays hidden until then
|
|
3390
|
-
*
|
|
3391
|
-
*
|
|
3389
|
+
* and the badge stays hidden until then — a "0" that appears while the cart is still
|
|
3390
|
+
* loading and then jumps to "3" is a guess wearing a number.
|
|
3391
|
+
*
|
|
3392
|
+
* **The badge is also hidden at zero**, which is a deliberate departure from the frame:
|
|
3393
|
+
* `.cart.icon` draws an explicit empty state carrying "0". DAZN asked for it removed on
|
|
3394
|
+
* 17 Aug 2026 and they are right — a filled pill is an attention mark, and one that says
|
|
3395
|
+
* there is nothing to look at spends the fan's attention to tell them so. The empty state
|
|
3396
|
+
* is the icon on its own.
|
|
3397
|
+
*
|
|
3398
|
+
* `useCartCount` had said as much since it was written ("a badge must render nothing for
|
|
3399
|
+
* `null` and nothing for `0`"); the component followed the frame instead, and the two
|
|
3400
|
+
* disagreed in the codebase for as long as the badge existed. The count still
|
|
3401
|
+
* distinguishes the two states, because the accessible name needs to: unknown reads
|
|
3402
|
+
* "Cart", empty reads "Cart, empty".
|
|
3392
3403
|
*
|
|
3393
3404
|
* Mount it inside `DaznShopProvider`, and inside `CartSheet` if `showCart` is on, since
|
|
3394
3405
|
* the trigger opens that sheet.
|
package/dist/index.mjs
CHANGED
|
@@ -7403,15 +7403,15 @@ function CartSheetProvider({ children }) {
|
|
|
7403
7403
|
isOpen && /* @__PURE__ */ jsx(BottomSheet, { open: true, onClose: close2, title: "Cart", children: /* @__PURE__ */ jsx(CartView, { onContinueShopping: close2 }) })
|
|
7404
7404
|
] });
|
|
7405
7405
|
}
|
|
7406
|
-
const gallery = "
|
|
7407
|
-
const track$2 = "
|
|
7408
|
-
const slide$1 = "
|
|
7409
|
-
const image$4 = "
|
|
7410
|
-
const placeholder$1 = "
|
|
7411
|
-
const share = "
|
|
7412
|
-
const dots$2 = "
|
|
7413
|
-
const dot$2 = "
|
|
7414
|
-
const dotActive$2 = "
|
|
7406
|
+
const gallery = "_gallery_1e69n_1";
|
|
7407
|
+
const track$2 = "_track_1e69n_8";
|
|
7408
|
+
const slide$1 = "_slide_1e69n_25";
|
|
7409
|
+
const image$4 = "_image_1e69n_32";
|
|
7410
|
+
const placeholder$1 = "_placeholder_1e69n_36";
|
|
7411
|
+
const share = "_share_1e69n_43";
|
|
7412
|
+
const dots$2 = "_dots_1e69n_60";
|
|
7413
|
+
const dot$2 = "_dot_1e69n_60";
|
|
7414
|
+
const dotActive$2 = "_dotActive_1e69n_84";
|
|
7415
7415
|
const styles$i = {
|
|
7416
7416
|
gallery,
|
|
7417
7417
|
track: track$2,
|
|
@@ -8212,15 +8212,15 @@ function LifestyleImage({ images }) {
|
|
|
8212
8212
|
)) })
|
|
8213
8213
|
] }) });
|
|
8214
8214
|
}
|
|
8215
|
-
const section$2 = "
|
|
8216
|
-
const track = "
|
|
8217
|
-
const card = "
|
|
8218
|
-
const quote = "
|
|
8219
|
-
const author = "
|
|
8220
|
-
const dots = "
|
|
8221
|
-
const dot = "
|
|
8222
|
-
const dotActive = "
|
|
8223
|
-
const disclaimer = "
|
|
8215
|
+
const section$2 = "_section_n8xka_1";
|
|
8216
|
+
const track = "_track_n8xka_8";
|
|
8217
|
+
const card = "_card_n8xka_38";
|
|
8218
|
+
const quote = "_quote_n8xka_50";
|
|
8219
|
+
const author = "_author_n8xka_58";
|
|
8220
|
+
const dots = "_dots_n8xka_64";
|
|
8221
|
+
const dot = "_dot_n8xka_64";
|
|
8222
|
+
const dotActive = "_dotActive_n8xka_77";
|
|
8223
|
+
const disclaimer = "_disclaimer_n8xka_83";
|
|
8224
8224
|
const styles$6 = {
|
|
8225
8225
|
section: section$2,
|
|
8226
8226
|
track,
|
|
@@ -8717,7 +8717,7 @@ function ShopHeader({
|
|
|
8717
8717
|
/* @__PURE__ */ jsxs("div", { className: styles$1.right, children: [
|
|
8718
8718
|
showCart ? /* @__PURE__ */ jsxs(CartTrigger, { className: styles$1.iconBtn, "aria-label": cartLabel, children: [
|
|
8719
8719
|
/* @__PURE__ */ jsx(CartIcon, {}),
|
|
8720
|
-
cartCount
|
|
8720
|
+
cartCount !== null && cartCount > 0 ? /* @__PURE__ */ jsx("span", { className: styles$1.badge, "aria-hidden": "true", children: cartCount > 99 ? "99+" : cartCount }) : null
|
|
8721
8721
|
] }) : null,
|
|
8722
8722
|
onMenu ? /* @__PURE__ */ jsx(
|
|
8723
8723
|
"button",
|
|
@@ -7403,15 +7403,15 @@ function CartSheetProvider({ children }) {
|
|
|
7403
7403
|
isOpen && /* @__PURE__ */ jsx(BottomSheet, { open: true, onClose: close2, title: "Cart", children: /* @__PURE__ */ jsx(CartView, { onContinueShopping: close2 }) })
|
|
7404
7404
|
] });
|
|
7405
7405
|
}
|
|
7406
|
-
const gallery = "
|
|
7407
|
-
const track$2 = "
|
|
7408
|
-
const slide$1 = "
|
|
7409
|
-
const image$4 = "
|
|
7410
|
-
const placeholder$1 = "
|
|
7411
|
-
const share = "
|
|
7412
|
-
const dots$2 = "
|
|
7413
|
-
const dot$2 = "
|
|
7414
|
-
const dotActive$2 = "
|
|
7406
|
+
const gallery = "_gallery_1e69n_1";
|
|
7407
|
+
const track$2 = "_track_1e69n_8";
|
|
7408
|
+
const slide$1 = "_slide_1e69n_25";
|
|
7409
|
+
const image$4 = "_image_1e69n_32";
|
|
7410
|
+
const placeholder$1 = "_placeholder_1e69n_36";
|
|
7411
|
+
const share = "_share_1e69n_43";
|
|
7412
|
+
const dots$2 = "_dots_1e69n_60";
|
|
7413
|
+
const dot$2 = "_dot_1e69n_60";
|
|
7414
|
+
const dotActive$2 = "_dotActive_1e69n_84";
|
|
7415
7415
|
const styles$i = {
|
|
7416
7416
|
gallery,
|
|
7417
7417
|
track: track$2,
|
|
@@ -8212,15 +8212,15 @@ function LifestyleImage({ images }) {
|
|
|
8212
8212
|
)) })
|
|
8213
8213
|
] }) });
|
|
8214
8214
|
}
|
|
8215
|
-
const section$2 = "
|
|
8216
|
-
const track = "
|
|
8217
|
-
const card = "
|
|
8218
|
-
const quote = "
|
|
8219
|
-
const author = "
|
|
8220
|
-
const dots = "
|
|
8221
|
-
const dot = "
|
|
8222
|
-
const dotActive = "
|
|
8223
|
-
const disclaimer = "
|
|
8215
|
+
const section$2 = "_section_n8xka_1";
|
|
8216
|
+
const track = "_track_n8xka_8";
|
|
8217
|
+
const card = "_card_n8xka_38";
|
|
8218
|
+
const quote = "_quote_n8xka_50";
|
|
8219
|
+
const author = "_author_n8xka_58";
|
|
8220
|
+
const dots = "_dots_n8xka_64";
|
|
8221
|
+
const dot = "_dot_n8xka_64";
|
|
8222
|
+
const dotActive = "_dotActive_n8xka_77";
|
|
8223
|
+
const disclaimer = "_disclaimer_n8xka_83";
|
|
8224
8224
|
const styles$6 = {
|
|
8225
8225
|
section: section$2,
|
|
8226
8226
|
track,
|
|
@@ -8717,7 +8717,7 @@ function ShopHeader({
|
|
|
8717
8717
|
/* @__PURE__ */ jsxs("div", { className: styles$1.right, children: [
|
|
8718
8718
|
showCart ? /* @__PURE__ */ jsxs(CartTrigger, { className: styles$1.iconBtn, "aria-label": cartLabel, children: [
|
|
8719
8719
|
/* @__PURE__ */ jsx(CartIcon, {}),
|
|
8720
|
-
cartCount
|
|
8720
|
+
cartCount !== null && cartCount > 0 ? /* @__PURE__ */ jsx("span", { className: styles$1.badge, "aria-hidden": "true", children: cartCount > 99 ? "99+" : cartCount }) : null
|
|
8721
8721
|
] }) : null,
|
|
8722
8722
|
onMenu ? /* @__PURE__ */ jsx(
|
|
8723
8723
|
"button",
|
|
@@ -2123,14 +2123,14 @@
|
|
|
2123
2123
|
gap: var(--space-20);
|
|
2124
2124
|
}
|
|
2125
2125
|
|
|
2126
|
-
.
|
|
2126
|
+
._gallery_1e69n_1 {
|
|
2127
2127
|
position: relative;
|
|
2128
2128
|
display: flex;
|
|
2129
2129
|
flex-direction: column;
|
|
2130
2130
|
gap: var(--space-12);
|
|
2131
2131
|
}
|
|
2132
2132
|
|
|
2133
|
-
.
|
|
2133
|
+
._track_1e69n_8 {
|
|
2134
2134
|
display: flex;
|
|
2135
2135
|
overflow-x: auto;
|
|
2136
2136
|
scroll-snap-type: x mandatory;
|
|
@@ -2139,27 +2139,33 @@
|
|
|
2139
2139
|
edge-to-edge and flush under the header. */
|
|
2140
2140
|
aspect-ratio: 375 / 485;
|
|
2141
2141
|
background: var(--color-surface-soft);
|
|
2142
|
+
/* Same as the review carousel: the dots below are the indicator. */
|
|
2143
|
+
scrollbar-width: none;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
._track_1e69n_8::-webkit-scrollbar {
|
|
2147
|
+
display: none;
|
|
2142
2148
|
}
|
|
2143
2149
|
|
|
2144
|
-
.
|
|
2150
|
+
._slide_1e69n_25 {
|
|
2145
2151
|
position: relative;
|
|
2146
2152
|
flex: 0 0 100%;
|
|
2147
2153
|
scroll-snap-align: center;
|
|
2148
2154
|
aspect-ratio: 375 / 485;
|
|
2149
2155
|
}
|
|
2150
2156
|
|
|
2151
|
-
.
|
|
2157
|
+
._image_1e69n_32 {
|
|
2152
2158
|
object-fit: cover;
|
|
2153
2159
|
}
|
|
2154
2160
|
|
|
2155
|
-
.
|
|
2161
|
+
._placeholder_1e69n_36 {
|
|
2156
2162
|
width: 100%;
|
|
2157
2163
|
aspect-ratio: 375 / 485;
|
|
2158
2164
|
background: var(--color-surface-soft);
|
|
2159
2165
|
}
|
|
2160
2166
|
|
|
2161
2167
|
/* Share button — top-right chrome over the image (mobile/button: 32px, soft, radius-8). */
|
|
2162
|
-
.
|
|
2168
|
+
._share_1e69n_43 {
|
|
2163
2169
|
position: absolute;
|
|
2164
2170
|
top: var(--space-16);
|
|
2165
2171
|
right: var(--space-16);
|
|
@@ -2176,13 +2182,13 @@
|
|
|
2176
2182
|
cursor: pointer;
|
|
2177
2183
|
}
|
|
2178
2184
|
|
|
2179
|
-
.
|
|
2185
|
+
._dots_1e69n_60 {
|
|
2180
2186
|
display: flex;
|
|
2181
2187
|
justify-content: center;
|
|
2182
2188
|
gap: var(--space-6);
|
|
2183
2189
|
}
|
|
2184
2190
|
|
|
2185
|
-
.
|
|
2191
|
+
._dot_1e69n_60 {
|
|
2186
2192
|
width: 8px;
|
|
2187
2193
|
height: 8px;
|
|
2188
2194
|
padding: 0;
|
|
@@ -2194,13 +2200,13 @@
|
|
|
2194
2200
|
position: relative;
|
|
2195
2201
|
}
|
|
2196
2202
|
|
|
2197
|
-
.
|
|
2203
|
+
._dot_1e69n_60::after {
|
|
2198
2204
|
content: '';
|
|
2199
2205
|
position: absolute;
|
|
2200
2206
|
inset: -18px;
|
|
2201
2207
|
}
|
|
2202
2208
|
|
|
2203
|
-
.
|
|
2209
|
+
._dotActive_1e69n_84 {
|
|
2204
2210
|
background: var(--color-surface-max);
|
|
2205
2211
|
}
|
|
2206
2212
|
/*
|
|
@@ -2957,14 +2963,14 @@
|
|
|
2957
2963
|
._dotActive_9mquf_63 {
|
|
2958
2964
|
background: #f9fafa;
|
|
2959
2965
|
}
|
|
2960
|
-
.
|
|
2966
|
+
._section_n8xka_1 {
|
|
2961
2967
|
display: flex;
|
|
2962
2968
|
flex-direction: column;
|
|
2963
2969
|
gap: var(--space-12);
|
|
2964
2970
|
padding: var(--space-24) 0 var(--space-16);
|
|
2965
2971
|
}
|
|
2966
2972
|
|
|
2967
|
-
.
|
|
2973
|
+
._track_n8xka_8 {
|
|
2968
2974
|
display: flex;
|
|
2969
2975
|
gap: var(--space-12);
|
|
2970
2976
|
list-style: none;
|
|
@@ -2974,6 +2980,13 @@
|
|
|
2974
2980
|
scroll-snap-type: x mandatory;
|
|
2975
2981
|
scroll-padding-inline: var(--space-16);
|
|
2976
2982
|
-webkit-overflow-scrolling: touch;
|
|
2983
|
+
/* The dots are the position indicator. A native scrollbar under them says the same
|
|
2984
|
+
thing twice, in a style nothing else on the page uses, and it is not in the frame. */
|
|
2985
|
+
scrollbar-width: none;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
._track_n8xka_8::-webkit-scrollbar {
|
|
2989
|
+
display: none;
|
|
2977
2990
|
}
|
|
2978
2991
|
|
|
2979
2992
|
/*
|
|
@@ -2987,7 +3000,7 @@
|
|
|
2987
3000
|
* is raised with DAZN's designers, and the card flips the moment they retune the token.
|
|
2988
3001
|
* Everything else on this block follows Figma exactly.
|
|
2989
3002
|
*/
|
|
2990
|
-
.
|
|
3003
|
+
._card_n8xka_38 {
|
|
2991
3004
|
flex: 0 0 323px;
|
|
2992
3005
|
max-width: calc(100% - var(--space-20));
|
|
2993
3006
|
scroll-snap-align: start;
|
|
@@ -2999,7 +3012,7 @@
|
|
|
2999
3012
|
background: #f9fafa;
|
|
3000
3013
|
}
|
|
3001
3014
|
|
|
3002
|
-
.
|
|
3015
|
+
._quote_n8xka_50 {
|
|
3003
3016
|
margin: 0;
|
|
3004
3017
|
font-size: var(--type-heading-lg-size);
|
|
3005
3018
|
line-height: 1.2;
|
|
@@ -3007,32 +3020,32 @@
|
|
|
3007
3020
|
color: #0c161c;
|
|
3008
3021
|
}
|
|
3009
3022
|
|
|
3010
|
-
.
|
|
3023
|
+
._author_n8xka_58 {
|
|
3011
3024
|
margin: 0;
|
|
3012
3025
|
font-size: var(--type-trimmed-sm-size);
|
|
3013
3026
|
color: #3d4549;
|
|
3014
3027
|
}
|
|
3015
3028
|
|
|
3016
|
-
.
|
|
3029
|
+
._dots_n8xka_64 {
|
|
3017
3030
|
display: flex;
|
|
3018
3031
|
justify-content: center;
|
|
3019
3032
|
gap: var(--space-8);
|
|
3020
3033
|
}
|
|
3021
3034
|
|
|
3022
|
-
.
|
|
3035
|
+
._dot_n8xka_64 {
|
|
3023
3036
|
width: 8px;
|
|
3024
3037
|
height: 8px;
|
|
3025
3038
|
border-radius: var(--radius-full);
|
|
3026
3039
|
background: #9ea2a4;
|
|
3027
3040
|
}
|
|
3028
3041
|
|
|
3029
|
-
.
|
|
3042
|
+
._dotActive_n8xka_77 {
|
|
3030
3043
|
background: #f9fafa;
|
|
3031
3044
|
}
|
|
3032
3045
|
|
|
3033
3046
|
/* Quiet, but present. Not in the Figma frame — the component's own note makes it
|
|
3034
3047
|
mandatory, and staff quotes shown as reviews without one is the failure it guards. */
|
|
3035
|
-
.
|
|
3048
|
+
._disclaimer_n8xka_83 {
|
|
3036
3049
|
margin: 0;
|
|
3037
3050
|
padding: 0 var(--space-16);
|
|
3038
3051
|
font-size: var(--type-trimmed-xs-size);
|
package/dist/styles.css
CHANGED
|
@@ -2123,14 +2123,14 @@
|
|
|
2123
2123
|
gap: var(--space-20);
|
|
2124
2124
|
}
|
|
2125
2125
|
|
|
2126
|
-
.
|
|
2126
|
+
._gallery_1e69n_1 {
|
|
2127
2127
|
position: relative;
|
|
2128
2128
|
display: flex;
|
|
2129
2129
|
flex-direction: column;
|
|
2130
2130
|
gap: var(--space-12);
|
|
2131
2131
|
}
|
|
2132
2132
|
|
|
2133
|
-
.
|
|
2133
|
+
._track_1e69n_8 {
|
|
2134
2134
|
display: flex;
|
|
2135
2135
|
overflow-x: auto;
|
|
2136
2136
|
scroll-snap-type: x mandatory;
|
|
@@ -2139,27 +2139,33 @@
|
|
|
2139
2139
|
edge-to-edge and flush under the header. */
|
|
2140
2140
|
aspect-ratio: 375 / 485;
|
|
2141
2141
|
background: var(--color-surface-soft);
|
|
2142
|
+
/* Same as the review carousel: the dots below are the indicator. */
|
|
2143
|
+
scrollbar-width: none;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
._track_1e69n_8::-webkit-scrollbar {
|
|
2147
|
+
display: none;
|
|
2142
2148
|
}
|
|
2143
2149
|
|
|
2144
|
-
.
|
|
2150
|
+
._slide_1e69n_25 {
|
|
2145
2151
|
position: relative;
|
|
2146
2152
|
flex: 0 0 100%;
|
|
2147
2153
|
scroll-snap-align: center;
|
|
2148
2154
|
aspect-ratio: 375 / 485;
|
|
2149
2155
|
}
|
|
2150
2156
|
|
|
2151
|
-
.
|
|
2157
|
+
._image_1e69n_32 {
|
|
2152
2158
|
object-fit: cover;
|
|
2153
2159
|
}
|
|
2154
2160
|
|
|
2155
|
-
.
|
|
2161
|
+
._placeholder_1e69n_36 {
|
|
2156
2162
|
width: 100%;
|
|
2157
2163
|
aspect-ratio: 375 / 485;
|
|
2158
2164
|
background: var(--color-surface-soft);
|
|
2159
2165
|
}
|
|
2160
2166
|
|
|
2161
2167
|
/* Share button — top-right chrome over the image (mobile/button: 32px, soft, radius-8). */
|
|
2162
|
-
.
|
|
2168
|
+
._share_1e69n_43 {
|
|
2163
2169
|
position: absolute;
|
|
2164
2170
|
top: var(--space-16);
|
|
2165
2171
|
right: var(--space-16);
|
|
@@ -2176,13 +2182,13 @@
|
|
|
2176
2182
|
cursor: pointer;
|
|
2177
2183
|
}
|
|
2178
2184
|
|
|
2179
|
-
.
|
|
2185
|
+
._dots_1e69n_60 {
|
|
2180
2186
|
display: flex;
|
|
2181
2187
|
justify-content: center;
|
|
2182
2188
|
gap: var(--space-6);
|
|
2183
2189
|
}
|
|
2184
2190
|
|
|
2185
|
-
.
|
|
2191
|
+
._dot_1e69n_60 {
|
|
2186
2192
|
width: 8px;
|
|
2187
2193
|
height: 8px;
|
|
2188
2194
|
padding: 0;
|
|
@@ -2194,13 +2200,13 @@
|
|
|
2194
2200
|
position: relative;
|
|
2195
2201
|
}
|
|
2196
2202
|
|
|
2197
|
-
.
|
|
2203
|
+
._dot_1e69n_60::after {
|
|
2198
2204
|
content: '';
|
|
2199
2205
|
position: absolute;
|
|
2200
2206
|
inset: -18px;
|
|
2201
2207
|
}
|
|
2202
2208
|
|
|
2203
|
-
.
|
|
2209
|
+
._dotActive_1e69n_84 {
|
|
2204
2210
|
background: var(--color-surface-max);
|
|
2205
2211
|
}
|
|
2206
2212
|
/*
|
|
@@ -2957,14 +2963,14 @@
|
|
|
2957
2963
|
._dotActive_9mquf_63 {
|
|
2958
2964
|
background: #f9fafa;
|
|
2959
2965
|
}
|
|
2960
|
-
.
|
|
2966
|
+
._section_n8xka_1 {
|
|
2961
2967
|
display: flex;
|
|
2962
2968
|
flex-direction: column;
|
|
2963
2969
|
gap: var(--space-12);
|
|
2964
2970
|
padding: var(--space-24) 0 var(--space-16);
|
|
2965
2971
|
}
|
|
2966
2972
|
|
|
2967
|
-
.
|
|
2973
|
+
._track_n8xka_8 {
|
|
2968
2974
|
display: flex;
|
|
2969
2975
|
gap: var(--space-12);
|
|
2970
2976
|
list-style: none;
|
|
@@ -2974,6 +2980,13 @@
|
|
|
2974
2980
|
scroll-snap-type: x mandatory;
|
|
2975
2981
|
scroll-padding-inline: var(--space-16);
|
|
2976
2982
|
-webkit-overflow-scrolling: touch;
|
|
2983
|
+
/* The dots are the position indicator. A native scrollbar under them says the same
|
|
2984
|
+
thing twice, in a style nothing else on the page uses, and it is not in the frame. */
|
|
2985
|
+
scrollbar-width: none;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
._track_n8xka_8::-webkit-scrollbar {
|
|
2989
|
+
display: none;
|
|
2977
2990
|
}
|
|
2978
2991
|
|
|
2979
2992
|
/*
|
|
@@ -2987,7 +3000,7 @@
|
|
|
2987
3000
|
* is raised with DAZN's designers, and the card flips the moment they retune the token.
|
|
2988
3001
|
* Everything else on this block follows Figma exactly.
|
|
2989
3002
|
*/
|
|
2990
|
-
.
|
|
3003
|
+
._card_n8xka_38 {
|
|
2991
3004
|
flex: 0 0 323px;
|
|
2992
3005
|
max-width: calc(100% - var(--space-20));
|
|
2993
3006
|
scroll-snap-align: start;
|
|
@@ -2999,7 +3012,7 @@
|
|
|
2999
3012
|
background: #f9fafa;
|
|
3000
3013
|
}
|
|
3001
3014
|
|
|
3002
|
-
.
|
|
3015
|
+
._quote_n8xka_50 {
|
|
3003
3016
|
margin: 0;
|
|
3004
3017
|
font-size: var(--type-heading-lg-size);
|
|
3005
3018
|
line-height: 1.2;
|
|
@@ -3007,32 +3020,32 @@
|
|
|
3007
3020
|
color: #0c161c;
|
|
3008
3021
|
}
|
|
3009
3022
|
|
|
3010
|
-
.
|
|
3023
|
+
._author_n8xka_58 {
|
|
3011
3024
|
margin: 0;
|
|
3012
3025
|
font-size: var(--type-trimmed-sm-size);
|
|
3013
3026
|
color: #3d4549;
|
|
3014
3027
|
}
|
|
3015
3028
|
|
|
3016
|
-
.
|
|
3029
|
+
._dots_n8xka_64 {
|
|
3017
3030
|
display: flex;
|
|
3018
3031
|
justify-content: center;
|
|
3019
3032
|
gap: var(--space-8);
|
|
3020
3033
|
}
|
|
3021
3034
|
|
|
3022
|
-
.
|
|
3035
|
+
._dot_n8xka_64 {
|
|
3023
3036
|
width: 8px;
|
|
3024
3037
|
height: 8px;
|
|
3025
3038
|
border-radius: var(--radius-full);
|
|
3026
3039
|
background: #9ea2a4;
|
|
3027
3040
|
}
|
|
3028
3041
|
|
|
3029
|
-
.
|
|
3042
|
+
._dotActive_n8xka_77 {
|
|
3030
3043
|
background: #f9fafa;
|
|
3031
3044
|
}
|
|
3032
3045
|
|
|
3033
3046
|
/* Quiet, but present. Not in the Figma frame — the component's own note makes it
|
|
3034
3047
|
mandatory, and staff quotes shown as reviews without one is the failure it guards. */
|
|
3035
|
-
.
|
|
3048
|
+
._disclaimer_n8xka_83 {
|
|
3036
3049
|
margin: 0;
|
|
3037
3050
|
padding: 0 var(--space-16);
|
|
3038
3051
|
font-size: var(--type-trimmed-xs-size);
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nok-integration/storefront-react",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.4",
|
|
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
|
-
"publishConfig": {
|
|
7
|
-
"access": "public",
|
|
8
|
-
"registry": "https://registry.npmjs.org/"
|
|
9
|
-
},
|
|
10
6
|
"type": "module",
|
|
11
7
|
"main": "./dist/index.mjs",
|
|
8
|
+
"module": "./dist/index.mjs",
|
|
12
9
|
"types": "./dist/index.d.ts",
|
|
13
10
|
"exports": {
|
|
14
11
|
".": {
|
|
@@ -23,32 +20,18 @@
|
|
|
23
20
|
"dist",
|
|
24
21
|
"!dist/**/*.map"
|
|
25
22
|
],
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"build:standalone": "BUILD_TARGET=standalone vite build",
|
|
30
|
-
"typecheck": "tsc --noEmit",
|
|
31
|
-
"build:partner": "PARTNER_DROP=1 pnpm build && pnpm pack"
|
|
32
|
-
},
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"*.css"
|
|
25
|
+
],
|
|
33
26
|
"peerDependencies": {
|
|
34
27
|
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
35
28
|
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
36
29
|
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"@dazn/contracts": "^2.0.0",
|
|
39
|
-
"@microsoft/api-extractor": "^7.58.12",
|
|
40
|
-
"@types/react": "^19.1.0",
|
|
41
|
-
"@types/react-dom": "^19.1.0",
|
|
42
|
-
"@vitejs/plugin-react": "^4.3.4",
|
|
43
|
-
"typescript": "^5.7.3",
|
|
44
|
-
"vite": "^7.0.0",
|
|
45
|
-
"vite-plugin-dts": "^5.0.3"
|
|
46
|
-
},
|
|
47
|
-
"module": "./dist/index.mjs",
|
|
48
|
-
"sideEffects": [
|
|
49
|
-
"*.css"
|
|
50
|
-
],
|
|
51
30
|
"dependencies": {
|
|
52
31
|
"zod": "^3.24.1"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public",
|
|
35
|
+
"registry": "https://registry.npmjs.org/"
|
|
53
36
|
}
|
|
54
37
|
}
|