@nok-integration/storefront-react 0.29.12 → 0.29.13
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 +18 -12
- package/dist/standalone/storefront.mjs +18 -12
- package/dist/standalone/styles.css +23 -18
- package/dist/styles.css +23 -18
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11195,18 +11195,18 @@ function StickyCtaBar({ children, info: info2, variant = "floating", className }
|
|
|
11195
11195
|
})]
|
|
11196
11196
|
});
|
|
11197
11197
|
}
|
|
11198
|
-
const surface = "
|
|
11199
|
-
const screen = "
|
|
11200
|
-
const body$4 = "
|
|
11201
|
-
const items = "
|
|
11202
|
-
const sectionHeader = "
|
|
11203
|
-
const sectionTitle = "
|
|
11204
|
-
const count = "
|
|
11205
|
-
const lines = "
|
|
11206
|
-
const footer = "
|
|
11207
|
-
const empty = "
|
|
11208
|
-
const cta$4 = "
|
|
11209
|
-
const ctaError = "
|
|
11198
|
+
const surface = "_surface_1rn0i_15";
|
|
11199
|
+
const screen = "_screen_1rn0i_20";
|
|
11200
|
+
const body$4 = "_body_1rn0i_12";
|
|
11201
|
+
const items = "_items_1rn0i_34";
|
|
11202
|
+
const sectionHeader = "_sectionHeader_1rn0i_40";
|
|
11203
|
+
const sectionTitle = "_sectionTitle_1rn0i_46";
|
|
11204
|
+
const count = "_count_1rn0i_67";
|
|
11205
|
+
const lines = "_lines_1rn0i_91";
|
|
11206
|
+
const footer = "_footer_1rn0i_101";
|
|
11207
|
+
const empty = "_empty_1rn0i_105";
|
|
11208
|
+
const cta$4 = "_cta_1rn0i_152";
|
|
11209
|
+
const ctaError = "_ctaError_1rn0i_160";
|
|
11210
11210
|
const styles$o = {
|
|
11211
11211
|
surface,
|
|
11212
11212
|
screen,
|
|
@@ -11224,6 +11224,12 @@ const styles$o = {
|
|
|
11224
11224
|
function CartView(props = {}) {
|
|
11225
11225
|
const t = useT();
|
|
11226
11226
|
useSetScreenTitle(t("Cart"), "none");
|
|
11227
|
+
useSetScreenNav([{
|
|
11228
|
+
label: t("DAZN Shop"),
|
|
11229
|
+
to: "/"
|
|
11230
|
+
}, {
|
|
11231
|
+
label: t("Cart")
|
|
11232
|
+
}], "light");
|
|
11227
11233
|
return jsx(ShopSurface, {
|
|
11228
11234
|
tone: "light",
|
|
11229
11235
|
fill: true,
|
|
@@ -11195,18 +11195,18 @@ function StickyCtaBar({ children, info: info2, variant = "floating", className }
|
|
|
11195
11195
|
})]
|
|
11196
11196
|
});
|
|
11197
11197
|
}
|
|
11198
|
-
const surface = "
|
|
11199
|
-
const screen = "
|
|
11200
|
-
const body$4 = "
|
|
11201
|
-
const items = "
|
|
11202
|
-
const sectionHeader = "
|
|
11203
|
-
const sectionTitle = "
|
|
11204
|
-
const count = "
|
|
11205
|
-
const lines = "
|
|
11206
|
-
const footer = "
|
|
11207
|
-
const empty = "
|
|
11208
|
-
const cta$4 = "
|
|
11209
|
-
const ctaError = "
|
|
11198
|
+
const surface = "_surface_1rn0i_15";
|
|
11199
|
+
const screen = "_screen_1rn0i_20";
|
|
11200
|
+
const body$4 = "_body_1rn0i_12";
|
|
11201
|
+
const items = "_items_1rn0i_34";
|
|
11202
|
+
const sectionHeader = "_sectionHeader_1rn0i_40";
|
|
11203
|
+
const sectionTitle = "_sectionTitle_1rn0i_46";
|
|
11204
|
+
const count = "_count_1rn0i_67";
|
|
11205
|
+
const lines = "_lines_1rn0i_91";
|
|
11206
|
+
const footer = "_footer_1rn0i_101";
|
|
11207
|
+
const empty = "_empty_1rn0i_105";
|
|
11208
|
+
const cta$4 = "_cta_1rn0i_152";
|
|
11209
|
+
const ctaError = "_ctaError_1rn0i_160";
|
|
11210
11210
|
const styles$o = {
|
|
11211
11211
|
surface,
|
|
11212
11212
|
screen,
|
|
@@ -11224,6 +11224,12 @@ const styles$o = {
|
|
|
11224
11224
|
function CartView(props = {}) {
|
|
11225
11225
|
const t = useT();
|
|
11226
11226
|
useSetScreenTitle(t("Cart"), "none");
|
|
11227
|
+
useSetScreenNav([{
|
|
11228
|
+
label: t("DAZN Shop"),
|
|
11229
|
+
to: "/"
|
|
11230
|
+
}, {
|
|
11231
|
+
label: t("Cart")
|
|
11232
|
+
}], "light");
|
|
11227
11233
|
return jsx(ShopSurface, {
|
|
11228
11234
|
tone: "light",
|
|
11229
11235
|
fill: true,
|
|
@@ -3098,33 +3098,33 @@
|
|
|
3098
3098
|
._actions_23dkv_70 > * {
|
|
3099
3099
|
flex: 1 1 0;
|
|
3100
3100
|
}
|
|
3101
|
-
.
|
|
3101
|
+
._surface_1rn0i_15 {
|
|
3102
3102
|
display: flex;
|
|
3103
3103
|
flex-direction: column;
|
|
3104
3104
|
}
|
|
3105
|
-
.
|
|
3105
|
+
._screen_1rn0i_20 {
|
|
3106
3106
|
display: flex;
|
|
3107
3107
|
flex-direction: column;
|
|
3108
3108
|
flex: 1 1 auto;
|
|
3109
3109
|
}
|
|
3110
|
-
.
|
|
3110
|
+
._body_1rn0i_12 {
|
|
3111
3111
|
display: flex;
|
|
3112
3112
|
flex-direction: column;
|
|
3113
3113
|
gap: var(--space-20);
|
|
3114
3114
|
padding: var(--space-20) var(--space-16) 0;
|
|
3115
3115
|
flex: 1 1 auto;
|
|
3116
3116
|
}
|
|
3117
|
-
.
|
|
3117
|
+
._items_1rn0i_34 {
|
|
3118
3118
|
display: flex;
|
|
3119
3119
|
flex-direction: column;
|
|
3120
3120
|
gap: var(--space-20);
|
|
3121
3121
|
}
|
|
3122
|
-
.
|
|
3122
|
+
._sectionHeader_1rn0i_40 {
|
|
3123
3123
|
display: flex;
|
|
3124
3124
|
align-items: center;
|
|
3125
3125
|
gap: var(--space-12);
|
|
3126
3126
|
}
|
|
3127
|
-
.
|
|
3127
|
+
._sectionTitle_1rn0i_46 {
|
|
3128
3128
|
margin: 0;
|
|
3129
3129
|
font-size: var(--type-heading-md-size);
|
|
3130
3130
|
line-height: 1.38;
|
|
@@ -3132,7 +3132,7 @@
|
|
|
3132
3132
|
flex: 1 0 0;
|
|
3133
3133
|
min-width: 0;
|
|
3134
3134
|
}
|
|
3135
|
-
.
|
|
3135
|
+
._count_1rn0i_67 {
|
|
3136
3136
|
display: inline-flex;
|
|
3137
3137
|
align-items: center;
|
|
3138
3138
|
justify-content: center;
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
font-variant-numeric: tabular-nums;
|
|
3148
3148
|
flex-shrink: 0;
|
|
3149
3149
|
}
|
|
3150
|
-
.
|
|
3150
|
+
._lines_1rn0i_91 {
|
|
3151
3151
|
list-style: none;
|
|
3152
3152
|
margin: 0;
|
|
3153
3153
|
padding: 0;
|
|
@@ -3155,33 +3155,38 @@
|
|
|
3155
3155
|
flex-direction: column;
|
|
3156
3156
|
gap: var(--space-20);
|
|
3157
3157
|
}
|
|
3158
|
-
.
|
|
3158
|
+
._footer_1rn0i_101 {
|
|
3159
3159
|
display: contents;
|
|
3160
3160
|
}
|
|
3161
|
-
.
|
|
3161
|
+
._empty_1rn0i_105 {
|
|
3162
3162
|
display: contents;
|
|
3163
3163
|
}
|
|
3164
3164
|
@media (min-width: 1200px) {
|
|
3165
|
-
|
|
3165
|
+
._screen_1rn0i_20 {
|
|
3166
|
+
width: 100%;
|
|
3167
|
+
max-width: 480px;
|
|
3168
|
+
margin-inline: auto;
|
|
3169
|
+
}
|
|
3170
|
+
[data-shop-panel] ._empty_1rn0i_105 p {
|
|
3166
3171
|
max-width: none;
|
|
3167
3172
|
white-space: nowrap;
|
|
3168
3173
|
}
|
|
3169
|
-
[data-shop-panel] .
|
|
3174
|
+
[data-shop-panel] ._empty_1rn0i_105 button {
|
|
3170
3175
|
width: 154px;
|
|
3171
3176
|
padding: 0;
|
|
3172
3177
|
}
|
|
3173
|
-
[data-shop-panel] .
|
|
3178
|
+
[data-shop-panel] ._count_1rn0i_67 {
|
|
3174
3179
|
border: 1px solid var(--color-border-default);
|
|
3175
3180
|
background: transparent;
|
|
3176
3181
|
}
|
|
3177
|
-
[data-shop-panel] .
|
|
3182
|
+
[data-shop-panel] ._surface_1rn0i_15 {
|
|
3178
3183
|
justify-content: center;
|
|
3179
3184
|
background: var(--color-surface-base);
|
|
3180
3185
|
}
|
|
3181
|
-
[data-shop-panel] .
|
|
3186
|
+
[data-shop-panel] ._body_1rn0i_12 {
|
|
3182
3187
|
padding: var(--space-4) var(--space-24) var(--space-24);
|
|
3183
3188
|
}
|
|
3184
|
-
[data-shop-panel] .
|
|
3189
|
+
[data-shop-panel] ._footer_1rn0i_101 {
|
|
3185
3190
|
position: sticky;
|
|
3186
3191
|
bottom: 0;
|
|
3187
3192
|
z-index: 50;
|
|
@@ -3192,14 +3197,14 @@
|
|
|
3192
3197
|
border-top: 1px solid #e6e6e6;
|
|
3193
3198
|
background: var(--color-surface-base);
|
|
3194
3199
|
}
|
|
3195
|
-
[data-shop-panel] .
|
|
3200
|
+
[data-shop-panel] ._cta_1rn0i_152 {
|
|
3196
3201
|
position: static;
|
|
3197
3202
|
padding: 0;
|
|
3198
3203
|
border-top: none;
|
|
3199
3204
|
background: transparent;
|
|
3200
3205
|
}
|
|
3201
3206
|
}
|
|
3202
|
-
.
|
|
3207
|
+
._ctaError_1rn0i_160 {
|
|
3203
3208
|
margin: 0;
|
|
3204
3209
|
font-size: var(--type-caption-sm-size);
|
|
3205
3210
|
line-height: var(--type-caption-sm-line);
|
package/dist/styles.css
CHANGED
|
@@ -3098,33 +3098,33 @@
|
|
|
3098
3098
|
._actions_23dkv_70 > * {
|
|
3099
3099
|
flex: 1 1 0;
|
|
3100
3100
|
}
|
|
3101
|
-
.
|
|
3101
|
+
._surface_1rn0i_15 {
|
|
3102
3102
|
display: flex;
|
|
3103
3103
|
flex-direction: column;
|
|
3104
3104
|
}
|
|
3105
|
-
.
|
|
3105
|
+
._screen_1rn0i_20 {
|
|
3106
3106
|
display: flex;
|
|
3107
3107
|
flex-direction: column;
|
|
3108
3108
|
flex: 1 1 auto;
|
|
3109
3109
|
}
|
|
3110
|
-
.
|
|
3110
|
+
._body_1rn0i_12 {
|
|
3111
3111
|
display: flex;
|
|
3112
3112
|
flex-direction: column;
|
|
3113
3113
|
gap: var(--space-20);
|
|
3114
3114
|
padding: var(--space-20) var(--space-16) 0;
|
|
3115
3115
|
flex: 1 1 auto;
|
|
3116
3116
|
}
|
|
3117
|
-
.
|
|
3117
|
+
._items_1rn0i_34 {
|
|
3118
3118
|
display: flex;
|
|
3119
3119
|
flex-direction: column;
|
|
3120
3120
|
gap: var(--space-20);
|
|
3121
3121
|
}
|
|
3122
|
-
.
|
|
3122
|
+
._sectionHeader_1rn0i_40 {
|
|
3123
3123
|
display: flex;
|
|
3124
3124
|
align-items: center;
|
|
3125
3125
|
gap: var(--space-12);
|
|
3126
3126
|
}
|
|
3127
|
-
.
|
|
3127
|
+
._sectionTitle_1rn0i_46 {
|
|
3128
3128
|
margin: 0;
|
|
3129
3129
|
font-size: var(--type-heading-md-size);
|
|
3130
3130
|
line-height: 1.38;
|
|
@@ -3132,7 +3132,7 @@
|
|
|
3132
3132
|
flex: 1 0 0;
|
|
3133
3133
|
min-width: 0;
|
|
3134
3134
|
}
|
|
3135
|
-
.
|
|
3135
|
+
._count_1rn0i_67 {
|
|
3136
3136
|
display: inline-flex;
|
|
3137
3137
|
align-items: center;
|
|
3138
3138
|
justify-content: center;
|
|
@@ -3147,7 +3147,7 @@
|
|
|
3147
3147
|
font-variant-numeric: tabular-nums;
|
|
3148
3148
|
flex-shrink: 0;
|
|
3149
3149
|
}
|
|
3150
|
-
.
|
|
3150
|
+
._lines_1rn0i_91 {
|
|
3151
3151
|
list-style: none;
|
|
3152
3152
|
margin: 0;
|
|
3153
3153
|
padding: 0;
|
|
@@ -3155,33 +3155,38 @@
|
|
|
3155
3155
|
flex-direction: column;
|
|
3156
3156
|
gap: var(--space-20);
|
|
3157
3157
|
}
|
|
3158
|
-
.
|
|
3158
|
+
._footer_1rn0i_101 {
|
|
3159
3159
|
display: contents;
|
|
3160
3160
|
}
|
|
3161
|
-
.
|
|
3161
|
+
._empty_1rn0i_105 {
|
|
3162
3162
|
display: contents;
|
|
3163
3163
|
}
|
|
3164
3164
|
@media (min-width: 1200px) {
|
|
3165
|
-
|
|
3165
|
+
._screen_1rn0i_20 {
|
|
3166
|
+
width: 100%;
|
|
3167
|
+
max-width: 480px;
|
|
3168
|
+
margin-inline: auto;
|
|
3169
|
+
}
|
|
3170
|
+
[data-shop-panel] ._empty_1rn0i_105 p {
|
|
3166
3171
|
max-width: none;
|
|
3167
3172
|
white-space: nowrap;
|
|
3168
3173
|
}
|
|
3169
|
-
[data-shop-panel] .
|
|
3174
|
+
[data-shop-panel] ._empty_1rn0i_105 button {
|
|
3170
3175
|
width: 154px;
|
|
3171
3176
|
padding: 0;
|
|
3172
3177
|
}
|
|
3173
|
-
[data-shop-panel] .
|
|
3178
|
+
[data-shop-panel] ._count_1rn0i_67 {
|
|
3174
3179
|
border: 1px solid var(--color-border-default);
|
|
3175
3180
|
background: transparent;
|
|
3176
3181
|
}
|
|
3177
|
-
[data-shop-panel] .
|
|
3182
|
+
[data-shop-panel] ._surface_1rn0i_15 {
|
|
3178
3183
|
justify-content: center;
|
|
3179
3184
|
background: var(--color-surface-base);
|
|
3180
3185
|
}
|
|
3181
|
-
[data-shop-panel] .
|
|
3186
|
+
[data-shop-panel] ._body_1rn0i_12 {
|
|
3182
3187
|
padding: var(--space-4) var(--space-24) var(--space-24);
|
|
3183
3188
|
}
|
|
3184
|
-
[data-shop-panel] .
|
|
3189
|
+
[data-shop-panel] ._footer_1rn0i_101 {
|
|
3185
3190
|
position: sticky;
|
|
3186
3191
|
bottom: 0;
|
|
3187
3192
|
z-index: 50;
|
|
@@ -3192,14 +3197,14 @@
|
|
|
3192
3197
|
border-top: 1px solid #e6e6e6;
|
|
3193
3198
|
background: var(--color-surface-base);
|
|
3194
3199
|
}
|
|
3195
|
-
[data-shop-panel] .
|
|
3200
|
+
[data-shop-panel] ._cta_1rn0i_152 {
|
|
3196
3201
|
position: static;
|
|
3197
3202
|
padding: 0;
|
|
3198
3203
|
border-top: none;
|
|
3199
3204
|
background: transparent;
|
|
3200
3205
|
}
|
|
3201
3206
|
}
|
|
3202
|
-
.
|
|
3207
|
+
._ctaError_1rn0i_160 {
|
|
3203
3208
|
margin: 0;
|
|
3204
3209
|
font-size: var(--type-caption-sm-size);
|
|
3205
3210
|
line-height: var(--type-caption-sm-line);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nok-integration/storefront-react",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.13",
|
|
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",
|