@nok-integration/storefront-react 0.22.0 → 0.22.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 +15 -38
- package/dist/standalone/storefront.mjs +15 -38
- package/dist/standalone/styles.css +6 -6
- package/dist/styles.css +6 -6
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9949,11 +9949,11 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
|
|
|
9949
9949
|
})]
|
|
9950
9950
|
});
|
|
9951
9951
|
}
|
|
9952
|
-
const box$1 = "
|
|
9953
|
-
const row$4 = "
|
|
9954
|
-
const icon$2 = "
|
|
9955
|
-
const label = "
|
|
9956
|
-
const divider$1 = "
|
|
9952
|
+
const box$1 = "_box_w9fja_1";
|
|
9953
|
+
const row$4 = "_row_w9fja_10";
|
|
9954
|
+
const icon$2 = "_icon_w9fja_16";
|
|
9955
|
+
const label = "_label_w9fja_22";
|
|
9956
|
+
const divider$1 = "_divider_w9fja_29";
|
|
9957
9957
|
const styles$o = {
|
|
9958
9958
|
box: box$1,
|
|
9959
9959
|
row: row$4,
|
|
@@ -9968,31 +9968,17 @@ function ShippingInfo() {
|
|
|
9968
9968
|
"aria-label": t("Shipping and returns"),
|
|
9969
9969
|
children: [jsxs("div", {
|
|
9970
9970
|
className: styles$o.row,
|
|
9971
|
-
children: [
|
|
9971
|
+
children: [jsx("svg", {
|
|
9972
9972
|
className: styles$o.icon,
|
|
9973
9973
|
width: "24",
|
|
9974
9974
|
height: "24",
|
|
9975
9975
|
viewBox: "0 0 24 24",
|
|
9976
9976
|
fill: "none",
|
|
9977
9977
|
"aria-hidden": "true",
|
|
9978
|
-
children:
|
|
9979
|
-
d: "
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
strokeLinejoin: "round"
|
|
9983
|
-
}), jsx("circle", {
|
|
9984
|
-
cx: "7",
|
|
9985
|
-
cy: "17",
|
|
9986
|
-
r: "1.6",
|
|
9987
|
-
stroke: "currentColor",
|
|
9988
|
-
strokeWidth: "1.5"
|
|
9989
|
-
}), jsx("circle", {
|
|
9990
|
-
cx: "17.5",
|
|
9991
|
-
cy: "17",
|
|
9992
|
-
r: "1.6",
|
|
9993
|
-
stroke: "currentColor",
|
|
9994
|
-
strokeWidth: "1.5"
|
|
9995
|
-
})]
|
|
9978
|
+
children: jsx("path", {
|
|
9979
|
+
d: "M15.459 14.2744C14.6592 14.835 14.1396 15.7646 14.1396 16.8174C14.1396 16.9951 14.1602 17.1729 14.1875 17.3369H10.5098C10.5371 17.166 10.5576 16.9951 10.5576 16.8174C10.5576 15.0537 9.12207 13.6182 7.35156 13.6182C5.58105 13.6182 4.13867 15.0537 4.13867 16.8174C4.13867 16.9883 4.15234 17.1523 4.18652 17.3164H3.91992C2.6416 17.3164 1.9375 16.3799 1.9375 15.0264V6.31738C1.9375 4.84766 2.77832 4 4.25488 4H13.1484C14.6182 4 15.459 4.84766 15.459 6.31738V14.2744ZM16.4365 7.58203H18.1865C18.9795 7.58203 19.5127 7.78711 19.9844 8.32031L22.2949 10.9316C22.7393 11.4238 22.8691 11.7998 22.8691 12.5859V15.0264C22.8691 16.4277 22.1172 17.3438 20.7773 17.3438H20.5107C20.5381 17.1729 20.5586 16.9951 20.5586 16.8174C20.5586 15.0469 19.1094 13.6113 17.3457 13.6113C17.0244 13.6113 16.7168 13.6729 16.4365 13.7686V7.58203ZM18.6377 12.21H21.0303C21.0166 12.0664 20.9551 11.9707 20.8594 11.8613L19.0615 9.83105C18.8359 9.57812 18.665 9.50977 18.3506 9.50977H17.9268V11.499C17.9268 11.9365 18.207 12.21 18.6377 12.21ZM17.3525 19.1279C16.0811 19.1279 15.042 18.0957 15.042 16.8174C15.042 15.5459 16.0811 14.5137 17.3525 14.5137C18.624 14.5137 19.6562 15.5459 19.6562 16.8174C19.6562 18.1162 18.6309 19.1279 17.3525 19.1279ZM7.35156 19.1279C6.08008 19.1279 5.04102 18.0957 5.04102 16.8174C5.04102 15.5459 6.08008 14.5137 7.35156 14.5137C8.62305 14.5137 9.65527 15.5459 9.65527 16.8174C9.65527 18.0889 8.62305 19.1279 7.35156 19.1279Z",
|
|
9980
|
+
fill: "currentColor"
|
|
9981
|
+
})
|
|
9996
9982
|
}), jsx("p", {
|
|
9997
9983
|
className: styles$o.label,
|
|
9998
9984
|
children: t("Standard or express delivery")
|
|
@@ -10002,26 +9988,17 @@ function ShippingInfo() {
|
|
|
10002
9988
|
role: "presentation"
|
|
10003
9989
|
}), jsxs("div", {
|
|
10004
9990
|
className: styles$o.row,
|
|
10005
|
-
children: [
|
|
9991
|
+
children: [jsx("svg", {
|
|
10006
9992
|
className: styles$o.icon,
|
|
10007
9993
|
width: "24",
|
|
10008
9994
|
height: "24",
|
|
10009
9995
|
viewBox: "0 0 24 24",
|
|
10010
9996
|
fill: "none",
|
|
10011
9997
|
"aria-hidden": "true",
|
|
10012
|
-
children:
|
|
10013
|
-
d: "
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
strokeLinecap: "round",
|
|
10017
|
-
strokeLinejoin: "round"
|
|
10018
|
-
}), jsx("path", {
|
|
10019
|
-
d: "M5.5 10.5H15a4 4 0 0 1 0 8h-3",
|
|
10020
|
-
stroke: "currentColor",
|
|
10021
|
-
strokeWidth: "1.5",
|
|
10022
|
-
strokeLinecap: "round",
|
|
10023
|
-
strokeLinejoin: "round"
|
|
10024
|
-
})]
|
|
9998
|
+
children: jsx("path", {
|
|
9999
|
+
d: "M12.2449 19.8028C12.2449 20.4839 11.7649 21 11.1087 21C10.6386 21 10.2566 20.7936 9.79628 20.3394L2.47992 13.0734C2.11753 12.7225 2 12.3303 2 12C2 11.6594 2.11753 11.2775 2.47992 10.9163L9.79628 3.71216C10.3056 3.21674 10.619 3 11.0891 3C11.7649 3 12.2449 3.56766 12.2449 4.24885V7.88188H12.4995C19.0813 7.88188 22 12.3303 22 19.5034C22 20.4633 21.5299 20.9794 20.9912 20.9794C20.57 20.9794 20.1391 20.8658 19.8061 20.2156C18.2292 17.1193 16.0255 16.1388 12.4995 16.1388H12.2449V19.8028Z",
|
|
10000
|
+
fill: "currentColor"
|
|
10001
|
+
})
|
|
10025
10002
|
}), jsx("p", {
|
|
10026
10003
|
className: styles$o.label,
|
|
10027
10004
|
children: t("14 days returns")
|
|
@@ -9949,11 +9949,11 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
|
|
|
9949
9949
|
})]
|
|
9950
9950
|
});
|
|
9951
9951
|
}
|
|
9952
|
-
const box$1 = "
|
|
9953
|
-
const row$4 = "
|
|
9954
|
-
const icon$2 = "
|
|
9955
|
-
const label = "
|
|
9956
|
-
const divider$1 = "
|
|
9952
|
+
const box$1 = "_box_w9fja_1";
|
|
9953
|
+
const row$4 = "_row_w9fja_10";
|
|
9954
|
+
const icon$2 = "_icon_w9fja_16";
|
|
9955
|
+
const label = "_label_w9fja_22";
|
|
9956
|
+
const divider$1 = "_divider_w9fja_29";
|
|
9957
9957
|
const styles$o = {
|
|
9958
9958
|
box: box$1,
|
|
9959
9959
|
row: row$4,
|
|
@@ -9968,31 +9968,17 @@ function ShippingInfo() {
|
|
|
9968
9968
|
"aria-label": t("Shipping and returns"),
|
|
9969
9969
|
children: [jsxs("div", {
|
|
9970
9970
|
className: styles$o.row,
|
|
9971
|
-
children: [
|
|
9971
|
+
children: [jsx("svg", {
|
|
9972
9972
|
className: styles$o.icon,
|
|
9973
9973
|
width: "24",
|
|
9974
9974
|
height: "24",
|
|
9975
9975
|
viewBox: "0 0 24 24",
|
|
9976
9976
|
fill: "none",
|
|
9977
9977
|
"aria-hidden": "true",
|
|
9978
|
-
children:
|
|
9979
|
-
d: "
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
strokeLinejoin: "round"
|
|
9983
|
-
}), jsx("circle", {
|
|
9984
|
-
cx: "7",
|
|
9985
|
-
cy: "17",
|
|
9986
|
-
r: "1.6",
|
|
9987
|
-
stroke: "currentColor",
|
|
9988
|
-
strokeWidth: "1.5"
|
|
9989
|
-
}), jsx("circle", {
|
|
9990
|
-
cx: "17.5",
|
|
9991
|
-
cy: "17",
|
|
9992
|
-
r: "1.6",
|
|
9993
|
-
stroke: "currentColor",
|
|
9994
|
-
strokeWidth: "1.5"
|
|
9995
|
-
})]
|
|
9978
|
+
children: jsx("path", {
|
|
9979
|
+
d: "M15.459 14.2744C14.6592 14.835 14.1396 15.7646 14.1396 16.8174C14.1396 16.9951 14.1602 17.1729 14.1875 17.3369H10.5098C10.5371 17.166 10.5576 16.9951 10.5576 16.8174C10.5576 15.0537 9.12207 13.6182 7.35156 13.6182C5.58105 13.6182 4.13867 15.0537 4.13867 16.8174C4.13867 16.9883 4.15234 17.1523 4.18652 17.3164H3.91992C2.6416 17.3164 1.9375 16.3799 1.9375 15.0264V6.31738C1.9375 4.84766 2.77832 4 4.25488 4H13.1484C14.6182 4 15.459 4.84766 15.459 6.31738V14.2744ZM16.4365 7.58203H18.1865C18.9795 7.58203 19.5127 7.78711 19.9844 8.32031L22.2949 10.9316C22.7393 11.4238 22.8691 11.7998 22.8691 12.5859V15.0264C22.8691 16.4277 22.1172 17.3438 20.7773 17.3438H20.5107C20.5381 17.1729 20.5586 16.9951 20.5586 16.8174C20.5586 15.0469 19.1094 13.6113 17.3457 13.6113C17.0244 13.6113 16.7168 13.6729 16.4365 13.7686V7.58203ZM18.6377 12.21H21.0303C21.0166 12.0664 20.9551 11.9707 20.8594 11.8613L19.0615 9.83105C18.8359 9.57812 18.665 9.50977 18.3506 9.50977H17.9268V11.499C17.9268 11.9365 18.207 12.21 18.6377 12.21ZM17.3525 19.1279C16.0811 19.1279 15.042 18.0957 15.042 16.8174C15.042 15.5459 16.0811 14.5137 17.3525 14.5137C18.624 14.5137 19.6562 15.5459 19.6562 16.8174C19.6562 18.1162 18.6309 19.1279 17.3525 19.1279ZM7.35156 19.1279C6.08008 19.1279 5.04102 18.0957 5.04102 16.8174C5.04102 15.5459 6.08008 14.5137 7.35156 14.5137C8.62305 14.5137 9.65527 15.5459 9.65527 16.8174C9.65527 18.0889 8.62305 19.1279 7.35156 19.1279Z",
|
|
9980
|
+
fill: "currentColor"
|
|
9981
|
+
})
|
|
9996
9982
|
}), jsx("p", {
|
|
9997
9983
|
className: styles$o.label,
|
|
9998
9984
|
children: t("Standard or express delivery")
|
|
@@ -10002,26 +9988,17 @@ function ShippingInfo() {
|
|
|
10002
9988
|
role: "presentation"
|
|
10003
9989
|
}), jsxs("div", {
|
|
10004
9990
|
className: styles$o.row,
|
|
10005
|
-
children: [
|
|
9991
|
+
children: [jsx("svg", {
|
|
10006
9992
|
className: styles$o.icon,
|
|
10007
9993
|
width: "24",
|
|
10008
9994
|
height: "24",
|
|
10009
9995
|
viewBox: "0 0 24 24",
|
|
10010
9996
|
fill: "none",
|
|
10011
9997
|
"aria-hidden": "true",
|
|
10012
|
-
children:
|
|
10013
|
-
d: "
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
strokeLinecap: "round",
|
|
10017
|
-
strokeLinejoin: "round"
|
|
10018
|
-
}), jsx("path", {
|
|
10019
|
-
d: "M5.5 10.5H15a4 4 0 0 1 0 8h-3",
|
|
10020
|
-
stroke: "currentColor",
|
|
10021
|
-
strokeWidth: "1.5",
|
|
10022
|
-
strokeLinecap: "round",
|
|
10023
|
-
strokeLinejoin: "round"
|
|
10024
|
-
})]
|
|
9998
|
+
children: jsx("path", {
|
|
9999
|
+
d: "M12.2449 19.8028C12.2449 20.4839 11.7649 21 11.1087 21C10.6386 21 10.2566 20.7936 9.79628 20.3394L2.47992 13.0734C2.11753 12.7225 2 12.3303 2 12C2 11.6594 2.11753 11.2775 2.47992 10.9163L9.79628 3.71216C10.3056 3.21674 10.619 3 11.0891 3C11.7649 3 12.2449 3.56766 12.2449 4.24885V7.88188H12.4995C19.0813 7.88188 22 12.3303 22 19.5034C22 20.4633 21.5299 20.9794 20.9912 20.9794C20.57 20.9794 20.1391 20.8658 19.8061 20.2156C18.2292 17.1193 16.0255 16.1388 12.4995 16.1388H12.2449V19.8028Z",
|
|
10000
|
+
fill: "currentColor"
|
|
10001
|
+
})
|
|
10025
10002
|
}), jsx("p", {
|
|
10026
10003
|
className: styles$o.label,
|
|
10027
10004
|
children: t("14 days returns")
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
text-decoration: line-through;
|
|
2404
2404
|
white-space: nowrap;
|
|
2405
2405
|
}
|
|
2406
|
-
.
|
|
2406
|
+
._box_w9fja_1 {
|
|
2407
2407
|
display: flex;
|
|
2408
2408
|
flex-direction: column;
|
|
2409
2409
|
gap: var(--space-12);
|
|
@@ -2411,23 +2411,23 @@
|
|
|
2411
2411
|
border-radius: var(--radius-8);
|
|
2412
2412
|
background: var(--color-surface-soft);
|
|
2413
2413
|
}
|
|
2414
|
-
.
|
|
2414
|
+
._row_w9fja_10 {
|
|
2415
2415
|
display: flex;
|
|
2416
2416
|
align-items: center;
|
|
2417
2417
|
gap: var(--space-12);
|
|
2418
2418
|
}
|
|
2419
|
-
.
|
|
2419
|
+
._icon_w9fja_16 {
|
|
2420
2420
|
display: block;
|
|
2421
2421
|
flex-shrink: 0;
|
|
2422
|
-
color: var(--color-
|
|
2422
|
+
color: var(--color-surface-max);
|
|
2423
2423
|
}
|
|
2424
|
-
.
|
|
2424
|
+
._label_w9fja_22 {
|
|
2425
2425
|
margin: 0;
|
|
2426
2426
|
font-size: var(--type-trimmed-sm-size);
|
|
2427
2427
|
font-weight: var(--font-weight-bold);
|
|
2428
2428
|
color: var(--color-text-default);
|
|
2429
2429
|
}
|
|
2430
|
-
.
|
|
2430
|
+
._divider_w9fja_29 {
|
|
2431
2431
|
height: 1px;
|
|
2432
2432
|
background: var(--color-border-default);
|
|
2433
2433
|
}
|
package/dist/styles.css
CHANGED
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
text-decoration: line-through;
|
|
2404
2404
|
white-space: nowrap;
|
|
2405
2405
|
}
|
|
2406
|
-
.
|
|
2406
|
+
._box_w9fja_1 {
|
|
2407
2407
|
display: flex;
|
|
2408
2408
|
flex-direction: column;
|
|
2409
2409
|
gap: var(--space-12);
|
|
@@ -2411,23 +2411,23 @@
|
|
|
2411
2411
|
border-radius: var(--radius-8);
|
|
2412
2412
|
background: var(--color-surface-soft);
|
|
2413
2413
|
}
|
|
2414
|
-
.
|
|
2414
|
+
._row_w9fja_10 {
|
|
2415
2415
|
display: flex;
|
|
2416
2416
|
align-items: center;
|
|
2417
2417
|
gap: var(--space-12);
|
|
2418
2418
|
}
|
|
2419
|
-
.
|
|
2419
|
+
._icon_w9fja_16 {
|
|
2420
2420
|
display: block;
|
|
2421
2421
|
flex-shrink: 0;
|
|
2422
|
-
color: var(--color-
|
|
2422
|
+
color: var(--color-surface-max);
|
|
2423
2423
|
}
|
|
2424
|
-
.
|
|
2424
|
+
._label_w9fja_22 {
|
|
2425
2425
|
margin: 0;
|
|
2426
2426
|
font-size: var(--type-trimmed-sm-size);
|
|
2427
2427
|
font-weight: var(--font-weight-bold);
|
|
2428
2428
|
color: var(--color-text-default);
|
|
2429
2429
|
}
|
|
2430
|
-
.
|
|
2430
|
+
._divider_w9fja_29 {
|
|
2431
2431
|
height: 1px;
|
|
2432
2432
|
background: var(--color-border-default);
|
|
2433
2433
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nok-integration/storefront-react",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.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",
|