@gem-sdk/pages 1.45.0-dev.100 → 1.45.0-dev.102

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.
@@ -20,7 +20,7 @@ const PopupManager = ()=>{
20
20
  ]);
21
21
  const onSetActiveModal = react.useCallback((e)=>{
22
22
  const detail = e.detail;
23
- setModalActive(detail?.modalId, false);
23
+ setModalActive(detail?.modalId);
24
24
  }, [
25
25
  setModalActive
26
26
  ]);
@@ -43,7 +43,7 @@ const PopupManager = ()=>{
43
43
  }),
44
44
  role: "button",
45
45
  "aria-hidden": "true",
46
- onClick: ()=>setModalActive(item?.uid),
46
+ onClick: ()=>setModalActive(item?.uid, true),
47
47
  style: {
48
48
  '--d': display?.desktop ? 'inline-flex' : 'none',
49
49
  '--d-tablet': display?.tablet ? 'inline-flex' : 'none',
@@ -16,7 +16,7 @@ const PopupManager = ()=>{
16
16
  ]);
17
17
  const onSetActiveModal = useCallback((e)=>{
18
18
  const detail = e.detail;
19
- setModalActive(detail?.modalId, false);
19
+ setModalActive(detail?.modalId);
20
20
  }, [
21
21
  setModalActive
22
22
  ]);
@@ -39,7 +39,7 @@ const PopupManager = ()=>{
39
39
  }),
40
40
  role: "button",
41
41
  "aria-hidden": "true",
42
- onClick: ()=>setModalActive(item?.uid),
42
+ onClick: ()=>setModalActive(item?.uid, true),
43
43
  style: {
44
44
  '--d': display?.desktop ? 'inline-flex' : 'none',
45
45
  '--d-tablet': display?.tablet ? 'inline-flex' : 'none',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.45.0-dev.100",
3
+ "version": "1.45.0-dev.102",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -26,7 +26,7 @@
26
26
  "next": "latest"
27
27
  },
28
28
  "devDependencies": {
29
- "@gem-sdk/core": "1.45.0-dev.100",
29
+ "@gem-sdk/core": "1.45.0-dev.102",
30
30
  "@gem-sdk/plugin-cookie-bar": "1.45.0-dev.100",
31
31
  "@gem-sdk/plugin-quick-view": "1.45.0-dev.100",
32
32
  "@gem-sdk/plugin-sticky-add-to-cart": "1.45.0-dev.100"