@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 CHANGED
@@ -11033,18 +11033,18 @@ function StickyCtaBar({ children, info: info2, variant = "floating", className }
11033
11033
  })]
11034
11034
  });
11035
11035
  }
11036
- const surface = "_surface_ws4so_15";
11037
- const screen = "_screen_ws4so_20";
11038
- const body$4 = "_body_ws4so_12";
11039
- const items = "_items_ws4so_34";
11040
- const sectionHeader = "_sectionHeader_ws4so_40";
11041
- const sectionTitle = "_sectionTitle_ws4so_46";
11042
- const count = "_count_ws4so_67";
11043
- const lines = "_lines_ws4so_91";
11044
- const footer = "_footer_ws4so_101";
11045
- const empty = "_empty_ws4so_105";
11046
- const cta$4 = "_cta_ws4so_145";
11047
- const ctaError = "_ctaError_ws4so_153";
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 = "_showcase_sml7n_14";
15070
- const panel = "_panel_sml7n_40";
15071
- const image = "_image_sml7n_93";
15072
- const desktopArt = "_desktopArt_sml7n_98";
15073
- const hero = "_hero_sml7n_137";
15074
- const heroContent = "_heroContent_sml7n_228";
15075
- const heroText = "_heroText_sml7n_252";
15076
- const logo = "_logo_sml7n_261";
15077
- const heroTitle = "_heroTitle_sml7n_281";
15078
- const heroSub = "_heroSub_sml7n_305";
15079
- const swipe = "_swipe_sml7n_324";
15080
- const swipeLabel = "_swipeLabel_sml7n_331";
15081
- const chevron$1 = "_chevron_sml7n_337";
15082
- const overlay$1 = "_overlay_sml7n_11";
15083
- const copy = "_copy_sml7n_374";
15084
- const title$2 = "_title_sml7n_386";
15085
- const subtitle$1 = "_subtitle_sml7n_395";
15086
- const cta = "_cta_sml7n_403";
15087
- const mosaic = "_mosaic_sml7n_447";
15088
- const info = "_info_sml7n_459";
15089
- const art = "_art_sml7n_463";
15090
- const band = "_band_sml7n_468";
15091
- const bandTitle = "_bandTitle_sml7n_477";
15092
- const products = "_products_sml7n_489";
15093
- const wideOnly = "_wideOnly_sml7n_509";
15094
- const phoneOnly = "_phoneOnly_sml7n_535";
15095
- const phoneArt = "_phoneArt_sml7n_536";
15096
- const desktopFocal = "_desktopFocal_sml7n_545";
15097
- const diptych = "_diptych_sml7n_736";
15098
- const tile = "_tile_sml7n_741";
15099
- const tileCopy = "_tileCopy_sml7n_755";
15100
- const tileText = "_tileText_sml7n_768";
15101
- const tileTitle = "_tileTitle_sml7n_775";
15102
- const tileSubtitle = "_tileSubtitle_sml7n_782";
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 = "_overlay_1aeep_5";
15919
- const scrim = "_scrim_1aeep_21";
15920
- const sheet = "_sheet_1aeep_31";
15921
- const header = "_header_1aeep_80";
15922
- const close = "_close_1aeep_86";
15923
- const list$1 = "_list_1aeep_105";
15924
- const row = "_row_1aeep_120";
15925
- const icon = "_icon_1aeep_149";
15926
- const text = "_text_1aeep_157";
15927
- const title = "_title_1aeep_165";
15928
- const subtitle = "_subtitle_1aeep_172";
15929
- const chevron = "_chevron_1aeep_178";
15930
- const dropdown = "_dropdown_1aeep_187";
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 = "_surface_ws4so_15";
11037
- const screen = "_screen_ws4so_20";
11038
- const body$4 = "_body_ws4so_12";
11039
- const items = "_items_ws4so_34";
11040
- const sectionHeader = "_sectionHeader_ws4so_40";
11041
- const sectionTitle = "_sectionTitle_ws4so_46";
11042
- const count = "_count_ws4so_67";
11043
- const lines = "_lines_ws4so_91";
11044
- const footer = "_footer_ws4so_101";
11045
- const empty = "_empty_ws4so_105";
11046
- const cta$4 = "_cta_ws4so_145";
11047
- const ctaError = "_ctaError_ws4so_153";
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 = "_showcase_sml7n_14";
15070
- const panel = "_panel_sml7n_40";
15071
- const image = "_image_sml7n_93";
15072
- const desktopArt = "_desktopArt_sml7n_98";
15073
- const hero = "_hero_sml7n_137";
15074
- const heroContent = "_heroContent_sml7n_228";
15075
- const heroText = "_heroText_sml7n_252";
15076
- const logo = "_logo_sml7n_261";
15077
- const heroTitle = "_heroTitle_sml7n_281";
15078
- const heroSub = "_heroSub_sml7n_305";
15079
- const swipe = "_swipe_sml7n_324";
15080
- const swipeLabel = "_swipeLabel_sml7n_331";
15081
- const chevron$1 = "_chevron_sml7n_337";
15082
- const overlay$1 = "_overlay_sml7n_11";
15083
- const copy = "_copy_sml7n_374";
15084
- const title$2 = "_title_sml7n_386";
15085
- const subtitle$1 = "_subtitle_sml7n_395";
15086
- const cta = "_cta_sml7n_403";
15087
- const mosaic = "_mosaic_sml7n_447";
15088
- const info = "_info_sml7n_459";
15089
- const art = "_art_sml7n_463";
15090
- const band = "_band_sml7n_468";
15091
- const bandTitle = "_bandTitle_sml7n_477";
15092
- const products = "_products_sml7n_489";
15093
- const wideOnly = "_wideOnly_sml7n_509";
15094
- const phoneOnly = "_phoneOnly_sml7n_535";
15095
- const phoneArt = "_phoneArt_sml7n_536";
15096
- const desktopFocal = "_desktopFocal_sml7n_545";
15097
- const diptych = "_diptych_sml7n_736";
15098
- const tile = "_tile_sml7n_741";
15099
- const tileCopy = "_tileCopy_sml7n_755";
15100
- const tileText = "_tileText_sml7n_768";
15101
- const tileTitle = "_tileTitle_sml7n_775";
15102
- const tileSubtitle = "_tileSubtitle_sml7n_782";
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 = "_overlay_1aeep_5";
15919
- const scrim = "_scrim_1aeep_21";
15920
- const sheet = "_sheet_1aeep_31";
15921
- const header = "_header_1aeep_80";
15922
- const close = "_close_1aeep_86";
15923
- const list$1 = "_list_1aeep_105";
15924
- const row = "_row_1aeep_120";
15925
- const icon = "_icon_1aeep_149";
15926
- const text = "_text_1aeep_157";
15927
- const title = "_title_1aeep_165";
15928
- const subtitle = "_subtitle_1aeep_172";
15929
- const chevron = "_chevron_1aeep_178";
15930
- const dropdown = "_dropdown_1aeep_187";
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,