@gem-sdk/pages 1.53.0-dev.26 → 1.53.0-dev.35

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.
@@ -22,15 +22,15 @@ const InteractionSelectOnPageHeader = ()=>{
22
22
  className: "gp-flex gp-bg-[#151515]/[0.15] gp-items-center gp-h-full gp-rounded-b-lg gp-pt-1 gp-gap-1",
23
23
  children: [
24
24
  /*#__PURE__*/ jsxRuntime.jsx("button", {
25
- "data-interaction-mode": "element",
26
- onClick: ()=>setInteractionSelectType('element'),
27
- className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'element' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
25
+ "data-interaction-mode": "ELEMENT",
26
+ onClick: ()=>setInteractionSelectType('ELEMENT'),
27
+ className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'ELEMENT' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
28
28
  children: "Choose an element on page"
29
29
  }),
30
30
  /*#__PURE__*/ jsxRuntime.jsx("button", {
31
- "data-interaction-mode": "page",
32
- onClick: ()=>setInteractionSelectType('page'),
33
- className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'page' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
31
+ "data-interaction-mode": "PAGE",
32
+ onClick: ()=>setInteractionSelectType('PAGE'),
33
+ className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'PAGE' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
34
34
  children: "Use entire page"
35
35
  })
36
36
  ]
@@ -53,7 +53,7 @@ const InteractionSelectOnPageHeader = ()=>{
53
53
  ]
54
54
  }),
55
55
  /*#__PURE__*/ jsxRuntime.jsx("div", {
56
- className: `gp-w-full gp-fixed gp-top-0 gp-left-0 gp-border-[#3C67FF] gp-border-[4px] gp-mt-[40px] gp-z-[999] gp-pointer-events-none ${selectType === 'page' ? 'gp-z-[999] gp-bg-[#3c67ff]/[0.25]' : ''}`,
56
+ className: `gp-w-full gp-fixed gp-top-0 gp-left-0 gp-border-[#3C67FF] gp-border-[4px] gp-mt-[40px] gp-z-[999] gp-pointer-events-none ${selectType === 'PAGE' ? 'gp-z-[999] gp-bg-[#3c67ff]/[0.25]' : ''}`,
57
57
  style: {
58
58
  height: 'calc(100% - 40px)'
59
59
  }
@@ -18,15 +18,15 @@ const InteractionSelectOnPageHeader = ()=>{
18
18
  className: "gp-flex gp-bg-[#151515]/[0.15] gp-items-center gp-h-full gp-rounded-b-lg gp-pt-1 gp-gap-1",
19
19
  children: [
20
20
  /*#__PURE__*/ jsx("button", {
21
- "data-interaction-mode": "element",
22
- onClick: ()=>setInteractionSelectType('element'),
23
- className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'element' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
21
+ "data-interaction-mode": "ELEMENT",
22
+ onClick: ()=>setInteractionSelectType('ELEMENT'),
23
+ className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'ELEMENT' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
24
24
  children: "Choose an element on page"
25
25
  }),
26
26
  /*#__PURE__*/ jsx("button", {
27
- "data-interaction-mode": "page",
28
- onClick: ()=>setInteractionSelectType('page'),
29
- className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'page' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
27
+ "data-interaction-mode": "PAGE",
28
+ onClick: ()=>setInteractionSelectType('PAGE'),
29
+ className: `gp-h-full gp-w-[444px] gp-items-center gp-justify-center gp-bg-[#333333] gp-text-[12px] gp-leading-5 gp-font-medium gp-flex gp-rounded-t-[8px] ${selectType === 'PAGE' ? 'gp-bg-[#3C67FF] gp-text-[#F9F9F9]' : 'gp-text-[#AAAAAA]'}`,
30
30
  children: "Use entire page"
31
31
  })
32
32
  ]
@@ -49,7 +49,7 @@ const InteractionSelectOnPageHeader = ()=>{
49
49
  ]
50
50
  }),
51
51
  /*#__PURE__*/ jsx("div", {
52
- className: `gp-w-full gp-fixed gp-top-0 gp-left-0 gp-border-[#3C67FF] gp-border-[4px] gp-mt-[40px] gp-z-[999] gp-pointer-events-none ${selectType === 'page' ? 'gp-z-[999] gp-bg-[#3c67ff]/[0.25]' : ''}`,
52
+ className: `gp-w-full gp-fixed gp-top-0 gp-left-0 gp-border-[#3C67FF] gp-border-[4px] gp-mt-[40px] gp-z-[999] gp-pointer-events-none ${selectType === 'PAGE' ? 'gp-z-[999] gp-bg-[#3c67ff]/[0.25]' : ''}`,
53
53
  style: {
54
54
  height: 'calc(100% - 40px)'
55
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/pages",
3
- "version": "1.53.0-dev.26",
3
+ "version": "1.53.0-dev.35",
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.53.0-dev.28",
29
+ "@gem-sdk/core": "1.53.0-dev.34",
30
30
  "@gem-sdk/plugin-cookie-bar": "1.53.0-dev.4",
31
31
  "@gem-sdk/plugin-quick-view": "1.53.0-dev.4",
32
32
  "@gem-sdk/plugin-sticky-add-to-cart": "1.53.0-dev.4"