@nok-integration/storefront-react 0.29.2 → 0.29.3
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 +60 -66
- package/dist/standalone/storefront.mjs +60 -66
- package/dist/standalone/styles.css +130 -126
- package/dist/styles.css +130 -126
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11033,18 +11033,18 @@ function StickyCtaBar({ children, info: info2, variant = "floating", className }
|
|
|
11033
11033
|
})]
|
|
11034
11034
|
});
|
|
11035
11035
|
}
|
|
11036
|
-
const surface = "
|
|
11037
|
-
const screen = "
|
|
11038
|
-
const body$4 = "
|
|
11039
|
-
const items = "
|
|
11040
|
-
const sectionHeader = "
|
|
11041
|
-
const sectionTitle = "
|
|
11042
|
-
const count = "
|
|
11043
|
-
const lines = "
|
|
11044
|
-
const footer = "
|
|
11045
|
-
const empty = "
|
|
11046
|
-
const cta$4 = "
|
|
11047
|
-
const ctaError = "
|
|
11036
|
+
const surface = "_surface_o6bcy_15";
|
|
11037
|
+
const screen = "_screen_o6bcy_20";
|
|
11038
|
+
const body$4 = "_body_o6bcy_12";
|
|
11039
|
+
const items = "_items_o6bcy_34";
|
|
11040
|
+
const sectionHeader = "_sectionHeader_o6bcy_40";
|
|
11041
|
+
const sectionTitle = "_sectionTitle_o6bcy_46";
|
|
11042
|
+
const count = "_count_o6bcy_67";
|
|
11043
|
+
const lines = "_lines_o6bcy_91";
|
|
11044
|
+
const footer = "_footer_o6bcy_101";
|
|
11045
|
+
const empty = "_empty_o6bcy_105";
|
|
11046
|
+
const cta$4 = "_cta_o6bcy_146";
|
|
11047
|
+
const ctaError = "_ctaError_o6bcy_154";
|
|
11048
11048
|
const styles$o = {
|
|
11049
11049
|
surface,
|
|
11050
11050
|
screen,
|
|
@@ -15066,40 +15066,40 @@ function ActiveLanding({ token, invite }) {
|
|
|
15066
15066
|
})
|
|
15067
15067
|
});
|
|
15068
15068
|
}
|
|
15069
|
-
const showcase = "
|
|
15070
|
-
const panel = "
|
|
15071
|
-
const image = "
|
|
15072
|
-
const desktopArt = "
|
|
15073
|
-
const hero = "
|
|
15074
|
-
const heroContent = "
|
|
15075
|
-
const heroText = "
|
|
15076
|
-
const logo = "
|
|
15077
|
-
const heroTitle = "
|
|
15078
|
-
const heroSub = "
|
|
15079
|
-
const swipe = "
|
|
15080
|
-
const swipeLabel = "
|
|
15081
|
-
const chevron$1 = "
|
|
15082
|
-
const overlay$1 = "
|
|
15083
|
-
const copy = "
|
|
15084
|
-
const title$2 = "
|
|
15085
|
-
const subtitle$1 = "
|
|
15086
|
-
const cta = "
|
|
15087
|
-
const mosaic = "
|
|
15088
|
-
const info = "
|
|
15089
|
-
const art = "
|
|
15090
|
-
const band = "
|
|
15091
|
-
const bandTitle = "
|
|
15092
|
-
const products = "
|
|
15093
|
-
const wideOnly = "
|
|
15094
|
-
const phoneOnly = "
|
|
15095
|
-
const phoneArt = "
|
|
15096
|
-
const desktopFocal = "
|
|
15097
|
-
const diptych = "
|
|
15098
|
-
const tile = "
|
|
15099
|
-
const tileCopy = "
|
|
15100
|
-
const tileText = "
|
|
15101
|
-
const tileTitle = "
|
|
15102
|
-
const tileSubtitle = "
|
|
15069
|
+
const showcase = "_showcase_px8r_14";
|
|
15070
|
+
const panel = "_panel_px8r_40";
|
|
15071
|
+
const image = "_image_px8r_93";
|
|
15072
|
+
const desktopArt = "_desktopArt_px8r_98";
|
|
15073
|
+
const hero = "_hero_px8r_137";
|
|
15074
|
+
const heroContent = "_heroContent_px8r_228";
|
|
15075
|
+
const heroText = "_heroText_px8r_252";
|
|
15076
|
+
const logo = "_logo_px8r_261";
|
|
15077
|
+
const heroTitle = "_heroTitle_px8r_281";
|
|
15078
|
+
const heroSub = "_heroSub_px8r_305";
|
|
15079
|
+
const swipe = "_swipe_px8r_324";
|
|
15080
|
+
const swipeLabel = "_swipeLabel_px8r_331";
|
|
15081
|
+
const chevron$1 = "_chevron_px8r_337";
|
|
15082
|
+
const overlay$1 = "_overlay_px8r_11";
|
|
15083
|
+
const copy = "_copy_px8r_374";
|
|
15084
|
+
const title$2 = "_title_px8r_386";
|
|
15085
|
+
const subtitle$1 = "_subtitle_px8r_395";
|
|
15086
|
+
const cta = "_cta_px8r_403";
|
|
15087
|
+
const mosaic = "_mosaic_px8r_447";
|
|
15088
|
+
const info = "_info_px8r_459";
|
|
15089
|
+
const art = "_art_px8r_463";
|
|
15090
|
+
const band = "_band_px8r_468";
|
|
15091
|
+
const bandTitle = "_bandTitle_px8r_477";
|
|
15092
|
+
const products = "_products_px8r_489";
|
|
15093
|
+
const wideOnly = "_wideOnly_px8r_509";
|
|
15094
|
+
const phoneOnly = "_phoneOnly_px8r_535";
|
|
15095
|
+
const phoneArt = "_phoneArt_px8r_536";
|
|
15096
|
+
const desktopFocal = "_desktopFocal_px8r_545";
|
|
15097
|
+
const diptych = "_diptych_px8r_740";
|
|
15098
|
+
const tile = "_tile_px8r_745";
|
|
15099
|
+
const tileCopy = "_tileCopy_px8r_759";
|
|
15100
|
+
const tileText = "_tileText_px8r_772";
|
|
15101
|
+
const tileTitle = "_tileTitle_px8r_779";
|
|
15102
|
+
const tileSubtitle = "_tileSubtitle_px8r_786";
|
|
15103
15103
|
const styles$3 = {
|
|
15104
15104
|
showcase,
|
|
15105
15105
|
panel,
|
|
@@ -15146,12 +15146,6 @@ function useDocumentSnap(ref, enabled = true) {
|
|
|
15146
15146
|
const previousType = root2.style.scrollSnapType;
|
|
15147
15147
|
const previousPadding = root2.style.scrollPaddingTop;
|
|
15148
15148
|
root2.style.scrollPaddingTop = "0px";
|
|
15149
|
-
const desktop = typeof window.matchMedia === "function" ? window.matchMedia("(min-width: 1200px)") : null;
|
|
15150
|
-
const pad = () => {
|
|
15151
|
-
root2.style.scrollPaddingTop = desktop?.matches ? "calc(var(--shop-chrome-top, 0px) + var(--shop-nav-height, 64px))" : "0px";
|
|
15152
|
-
};
|
|
15153
|
-
pad();
|
|
15154
|
-
desktop?.addEventListener?.("change", pad);
|
|
15155
15149
|
let snapping = false;
|
|
15156
15150
|
let awaitingTouch = false;
|
|
15157
15151
|
const layoutOf = () => {
|
|
@@ -15265,7 +15259,6 @@ function useDocumentSnap(ref, enabled = true) {
|
|
|
15265
15259
|
passive: true
|
|
15266
15260
|
});
|
|
15267
15261
|
return () => {
|
|
15268
|
-
desktop?.removeEventListener?.("change", pad);
|
|
15269
15262
|
document.removeEventListener("scroll", note2, {
|
|
15270
15263
|
capture: true
|
|
15271
15264
|
});
|
|
@@ -15915,19 +15908,19 @@ function ShopBar({ onBack, onMenu, title: title2, showCart, floating: floating2
|
|
|
15915
15908
|
})]
|
|
15916
15909
|
});
|
|
15917
15910
|
}
|
|
15918
|
-
const overlay = "
|
|
15919
|
-
const scrim = "
|
|
15920
|
-
const sheet = "
|
|
15921
|
-
const header = "
|
|
15922
|
-
const close = "
|
|
15923
|
-
const list$1 = "
|
|
15924
|
-
const row = "
|
|
15925
|
-
const icon = "
|
|
15926
|
-
const text = "
|
|
15927
|
-
const title = "
|
|
15928
|
-
const subtitle = "
|
|
15929
|
-
const chevron = "
|
|
15930
|
-
const dropdown = "
|
|
15911
|
+
const overlay = "_overlay_y4mxb_5";
|
|
15912
|
+
const scrim = "_scrim_y4mxb_21";
|
|
15913
|
+
const sheet = "_sheet_y4mxb_31";
|
|
15914
|
+
const header = "_header_y4mxb_80";
|
|
15915
|
+
const close = "_close_y4mxb_86";
|
|
15916
|
+
const list$1 = "_list_y4mxb_105";
|
|
15917
|
+
const row = "_row_y4mxb_120";
|
|
15918
|
+
const icon = "_icon_y4mxb_149";
|
|
15919
|
+
const text = "_text_y4mxb_157";
|
|
15920
|
+
const title = "_title_y4mxb_165";
|
|
15921
|
+
const subtitle = "_subtitle_y4mxb_172";
|
|
15922
|
+
const chevron = "_chevron_y4mxb_178";
|
|
15923
|
+
const dropdown = "_dropdown_y4mxb_187";
|
|
15931
15924
|
const styles$1 = {
|
|
15932
15925
|
overlay,
|
|
15933
15926
|
scrim,
|
|
@@ -16137,6 +16130,7 @@ function ShopMenuSheet({ open, onClose, onManageOrders, onHelp, closeLabel, labe
|
|
|
16137
16130
|
}), jsx("ul", {
|
|
16138
16131
|
className: styles$1.list,
|
|
16139
16132
|
children: rows.map((row2) => jsx("li", {
|
|
16133
|
+
"data-row": row2.key,
|
|
16140
16134
|
children: jsxs("button", {
|
|
16141
16135
|
type: "button",
|
|
16142
16136
|
className: styles$1.row,
|
|
@@ -11033,18 +11033,18 @@ function StickyCtaBar({ children, info: info2, variant = "floating", className }
|
|
|
11033
11033
|
})]
|
|
11034
11034
|
});
|
|
11035
11035
|
}
|
|
11036
|
-
const surface = "
|
|
11037
|
-
const screen = "
|
|
11038
|
-
const body$4 = "
|
|
11039
|
-
const items = "
|
|
11040
|
-
const sectionHeader = "
|
|
11041
|
-
const sectionTitle = "
|
|
11042
|
-
const count = "
|
|
11043
|
-
const lines = "
|
|
11044
|
-
const footer = "
|
|
11045
|
-
const empty = "
|
|
11046
|
-
const cta$4 = "
|
|
11047
|
-
const ctaError = "
|
|
11036
|
+
const surface = "_surface_o6bcy_15";
|
|
11037
|
+
const screen = "_screen_o6bcy_20";
|
|
11038
|
+
const body$4 = "_body_o6bcy_12";
|
|
11039
|
+
const items = "_items_o6bcy_34";
|
|
11040
|
+
const sectionHeader = "_sectionHeader_o6bcy_40";
|
|
11041
|
+
const sectionTitle = "_sectionTitle_o6bcy_46";
|
|
11042
|
+
const count = "_count_o6bcy_67";
|
|
11043
|
+
const lines = "_lines_o6bcy_91";
|
|
11044
|
+
const footer = "_footer_o6bcy_101";
|
|
11045
|
+
const empty = "_empty_o6bcy_105";
|
|
11046
|
+
const cta$4 = "_cta_o6bcy_146";
|
|
11047
|
+
const ctaError = "_ctaError_o6bcy_154";
|
|
11048
11048
|
const styles$o = {
|
|
11049
11049
|
surface,
|
|
11050
11050
|
screen,
|
|
@@ -15066,40 +15066,40 @@ function ActiveLanding({ token, invite }) {
|
|
|
15066
15066
|
})
|
|
15067
15067
|
});
|
|
15068
15068
|
}
|
|
15069
|
-
const showcase = "
|
|
15070
|
-
const panel = "
|
|
15071
|
-
const image = "
|
|
15072
|
-
const desktopArt = "
|
|
15073
|
-
const hero = "
|
|
15074
|
-
const heroContent = "
|
|
15075
|
-
const heroText = "
|
|
15076
|
-
const logo = "
|
|
15077
|
-
const heroTitle = "
|
|
15078
|
-
const heroSub = "
|
|
15079
|
-
const swipe = "
|
|
15080
|
-
const swipeLabel = "
|
|
15081
|
-
const chevron$1 = "
|
|
15082
|
-
const overlay$1 = "
|
|
15083
|
-
const copy = "
|
|
15084
|
-
const title$2 = "
|
|
15085
|
-
const subtitle$1 = "
|
|
15086
|
-
const cta = "
|
|
15087
|
-
const mosaic = "
|
|
15088
|
-
const info = "
|
|
15089
|
-
const art = "
|
|
15090
|
-
const band = "
|
|
15091
|
-
const bandTitle = "
|
|
15092
|
-
const products = "
|
|
15093
|
-
const wideOnly = "
|
|
15094
|
-
const phoneOnly = "
|
|
15095
|
-
const phoneArt = "
|
|
15096
|
-
const desktopFocal = "
|
|
15097
|
-
const diptych = "
|
|
15098
|
-
const tile = "
|
|
15099
|
-
const tileCopy = "
|
|
15100
|
-
const tileText = "
|
|
15101
|
-
const tileTitle = "
|
|
15102
|
-
const tileSubtitle = "
|
|
15069
|
+
const showcase = "_showcase_px8r_14";
|
|
15070
|
+
const panel = "_panel_px8r_40";
|
|
15071
|
+
const image = "_image_px8r_93";
|
|
15072
|
+
const desktopArt = "_desktopArt_px8r_98";
|
|
15073
|
+
const hero = "_hero_px8r_137";
|
|
15074
|
+
const heroContent = "_heroContent_px8r_228";
|
|
15075
|
+
const heroText = "_heroText_px8r_252";
|
|
15076
|
+
const logo = "_logo_px8r_261";
|
|
15077
|
+
const heroTitle = "_heroTitle_px8r_281";
|
|
15078
|
+
const heroSub = "_heroSub_px8r_305";
|
|
15079
|
+
const swipe = "_swipe_px8r_324";
|
|
15080
|
+
const swipeLabel = "_swipeLabel_px8r_331";
|
|
15081
|
+
const chevron$1 = "_chevron_px8r_337";
|
|
15082
|
+
const overlay$1 = "_overlay_px8r_11";
|
|
15083
|
+
const copy = "_copy_px8r_374";
|
|
15084
|
+
const title$2 = "_title_px8r_386";
|
|
15085
|
+
const subtitle$1 = "_subtitle_px8r_395";
|
|
15086
|
+
const cta = "_cta_px8r_403";
|
|
15087
|
+
const mosaic = "_mosaic_px8r_447";
|
|
15088
|
+
const info = "_info_px8r_459";
|
|
15089
|
+
const art = "_art_px8r_463";
|
|
15090
|
+
const band = "_band_px8r_468";
|
|
15091
|
+
const bandTitle = "_bandTitle_px8r_477";
|
|
15092
|
+
const products = "_products_px8r_489";
|
|
15093
|
+
const wideOnly = "_wideOnly_px8r_509";
|
|
15094
|
+
const phoneOnly = "_phoneOnly_px8r_535";
|
|
15095
|
+
const phoneArt = "_phoneArt_px8r_536";
|
|
15096
|
+
const desktopFocal = "_desktopFocal_px8r_545";
|
|
15097
|
+
const diptych = "_diptych_px8r_740";
|
|
15098
|
+
const tile = "_tile_px8r_745";
|
|
15099
|
+
const tileCopy = "_tileCopy_px8r_759";
|
|
15100
|
+
const tileText = "_tileText_px8r_772";
|
|
15101
|
+
const tileTitle = "_tileTitle_px8r_779";
|
|
15102
|
+
const tileSubtitle = "_tileSubtitle_px8r_786";
|
|
15103
15103
|
const styles$3 = {
|
|
15104
15104
|
showcase,
|
|
15105
15105
|
panel,
|
|
@@ -15146,12 +15146,6 @@ function useDocumentSnap(ref, enabled = true) {
|
|
|
15146
15146
|
const previousType = root2.style.scrollSnapType;
|
|
15147
15147
|
const previousPadding = root2.style.scrollPaddingTop;
|
|
15148
15148
|
root2.style.scrollPaddingTop = "0px";
|
|
15149
|
-
const desktop = typeof window.matchMedia === "function" ? window.matchMedia("(min-width: 1200px)") : null;
|
|
15150
|
-
const pad = () => {
|
|
15151
|
-
root2.style.scrollPaddingTop = desktop?.matches ? "calc(var(--shop-chrome-top, 0px) + var(--shop-nav-height, 64px))" : "0px";
|
|
15152
|
-
};
|
|
15153
|
-
pad();
|
|
15154
|
-
desktop?.addEventListener?.("change", pad);
|
|
15155
15149
|
let snapping = false;
|
|
15156
15150
|
let awaitingTouch = false;
|
|
15157
15151
|
const layoutOf = () => {
|
|
@@ -15265,7 +15259,6 @@ function useDocumentSnap(ref, enabled = true) {
|
|
|
15265
15259
|
passive: true
|
|
15266
15260
|
});
|
|
15267
15261
|
return () => {
|
|
15268
|
-
desktop?.removeEventListener?.("change", pad);
|
|
15269
15262
|
document.removeEventListener("scroll", note2, {
|
|
15270
15263
|
capture: true
|
|
15271
15264
|
});
|
|
@@ -15915,19 +15908,19 @@ function ShopBar({ onBack, onMenu, title: title2, showCart, floating: floating2
|
|
|
15915
15908
|
})]
|
|
15916
15909
|
});
|
|
15917
15910
|
}
|
|
15918
|
-
const overlay = "
|
|
15919
|
-
const scrim = "
|
|
15920
|
-
const sheet = "
|
|
15921
|
-
const header = "
|
|
15922
|
-
const close = "
|
|
15923
|
-
const list$1 = "
|
|
15924
|
-
const row = "
|
|
15925
|
-
const icon = "
|
|
15926
|
-
const text = "
|
|
15927
|
-
const title = "
|
|
15928
|
-
const subtitle = "
|
|
15929
|
-
const chevron = "
|
|
15930
|
-
const dropdown = "
|
|
15911
|
+
const overlay = "_overlay_y4mxb_5";
|
|
15912
|
+
const scrim = "_scrim_y4mxb_21";
|
|
15913
|
+
const sheet = "_sheet_y4mxb_31";
|
|
15914
|
+
const header = "_header_y4mxb_80";
|
|
15915
|
+
const close = "_close_y4mxb_86";
|
|
15916
|
+
const list$1 = "_list_y4mxb_105";
|
|
15917
|
+
const row = "_row_y4mxb_120";
|
|
15918
|
+
const icon = "_icon_y4mxb_149";
|
|
15919
|
+
const text = "_text_y4mxb_157";
|
|
15920
|
+
const title = "_title_y4mxb_165";
|
|
15921
|
+
const subtitle = "_subtitle_y4mxb_172";
|
|
15922
|
+
const chevron = "_chevron_y4mxb_178";
|
|
15923
|
+
const dropdown = "_dropdown_y4mxb_187";
|
|
15931
15924
|
const styles$1 = {
|
|
15932
15925
|
overlay,
|
|
15933
15926
|
scrim,
|
|
@@ -16137,6 +16130,7 @@ function ShopMenuSheet({ open, onClose, onManageOrders, onHelp, closeLabel, labe
|
|
|
16137
16130
|
}), jsx("ul", {
|
|
16138
16131
|
className: styles$1.list,
|
|
16139
16132
|
children: rows.map((row2) => jsx("li", {
|
|
16133
|
+
"data-row": row2.key,
|
|
16140
16134
|
children: jsxs("button", {
|
|
16141
16135
|
type: "button",
|
|
16142
16136
|
className: styles$1.row,
|